[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#760950: apt: Setting 'APT:Default-Release "testing"; ' in testing/unstable prevents updates



Hi,

On Tue, Sep 09, 2014 at 08:43:31AM -0400, Dominique Brazziel wrote:
>     After upgrade to apt 1.0.7 on 9/3 apt-show-versions
> stopped showing any upgradeable packages.  I have a mixed
> testing/unstable environment, so the list of upgradeable
> packages usually includes a few packages.

apt-show-versions is its own binary in its own package and a new version
of it migrated to testing on that date, so are you sure this isn't a bug
there, if any?


>     After checking the Changelog file in a few mirrors and seeing some package
> upgrades against packages I have installed (i.e. vim, vim-common)
> I suspected something was wrong with a release file or apt's
> handling of such. My suspicion was confirmed after I commented
> out the line
> 
>      APT::Default-Release "testing";
> 
> in my apt.conf and ran 'apt-get -s upgrade', which showed some 457MB
> of changed packages available for download.  After I removed the
> comment and re-ran the simulation, 0 packages were available.
> 'apt-show-versions -u' showed similar results.

Sorry, but I can't really follow you here.

The setting you mention is something you have set (or the installer did
for you), it is not included in the apt package as such, so this isn't
a recent addition.

That apt isn't upgrading to packages from unstable with this setting is
expected and hasn't changed either – after all, its the whole point of
the setting.

Now, if you can find a package version which is in /testing/, but isn't
installed, then it might be a bug. Best to look and include the output
of "apt-cache policy packagename". What the setting does is causing
testing sources to have a pin value of 990 (see "man apt_preferences").

That said, I see nothing wrong in having an empty output for upgradable
packages after you performed an upgrade in general so I don't really get
what you are expecting.


Best regards

David Kalnischkies

P.S.: If looking at upgradable packages is your only apt-show-versions
use you might like the relatively new "apt list --upgradable".

Attachment: signature.asc
Description: Digital signature


Reply to: