[Pbuilder-maint] Re: Setting up pbuilder or sbuild like experimental buildds

Goswin von Brederlow brederlo at informatik.uni-tuebingen.de
Wed Sep 20 17:07:14 UTC 2006


Junichi Uekawa <dancer at netfort.gr.jp> writes:

> Hi,
>
>>  Then I thought I might have forgotten APT::Default-Release, and with
>>  APT::Default-Release set to "unstable", I could pin experimental higher
>>  than 500, 700 for example, and it wouldn't upgrade the packages
>>  automatically, however it still doesn't work.
>> 
>>  These are the scores of the package I'm interested in:
>> 
>> bee# apt-cache policy libglib2.0-dev
>> libglib2.0-dev:
>>   Installed: 2.10.3-3
>>   Candidate: 2.10.3-3
>>   Version table:
>>      2.12.0-1 0
>>         600 http://ftp.de.debian.org experimental/main Packages
>>  *** 2.10.3-3 0
>>         990 http://ftp.de.debian.org sid/main Packages
>>         100 /var/lib/dpkg/status
>> 
>>  I checked the code of pbuilder-satisfydepends, and I see it tries all
>>  versions of "apt-cache show" output to see whether one of them would be
>>  enough, but I see no place where it would request a particular version.
>
> Yup, that's not supported in current pbuilder-satisfydepends codebase.
> You're welcome to submit a patch, however.
>
>
> regards,
> 	junichi

You also need to downgrade packages back to unstable when the build
needed some package from experimental. So you should pin to >1000 and
run apt-get dist-upgrade between builds as a minimum.

Or just throw away the chroot, unpack a new one, upgrade to sid, add
experimental to sources.list, run sbuild for every build. Much safer
and simpler.

MfG
        Goswin



More information about the Pbuilder-maint mailing list