[Bug 815829] Re: Doesn't report a useful error when distributions are priority pinned in apt preferences
Sam Vilain
sam at vilain.net
Mon Jul 25 11:16:29 UTC 2011
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/815829
Title:
Doesn't report a useful error when distributions are priority pinned
in apt preferences
Status in “update-manager” package in Ubuntu:
New
Bug description:
Hi, every time I do a dist upgrade I run into this. The update
manager knows how to change the package repositories, but it should
also check that the repositories it needs end up with a suitable
priority as seen in 'apt-cache policy' to allow the upgrade to happen.
Otherwise, it fails and it doesn't know why.
This could be important if, say, some installation instructions give
advice on how to pull in just a few packages from a newer release
without upgrading wholesale by using release priority pinning. The
user doing this may not understand what is happening when following
such instructions, and then later get a cryptic error. As such, it
might be useful for this check to be back-ported to the update mangers
going back to one or more LTS releases.
Example /etc/apt/preferences:
# You will need to remove this (or change oneiric to psychedelic or
# whatever Ubuntu 12.04 gets named) when you want to dist-upgrade to
# oneiric; the do-release-upgrade script won't change it for you (or
# know what went wrong)
Explanation: Don't install oneiric packages by default
Package: *
Pin: release a=oneiric
Pin-Priority: 99
Explanation: Don't install natty-proposed packages by default
Package: *
Pin: release a=natty-proposed
Pin-Priority: 98
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: update-manager-core 1:0.150.2
Uname: Linux 3.0.0-rc7+ x86_64
Architecture: amd64
Date: Mon Jul 25 12:09:44 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
LANGUAGE=en_NZ:en
PATH=(custom, user)
LANG=en_NZ.UTF-8
SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to natty on 2011-07-23 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/815829/+subscriptions
More information about the foundations-bugs
mailing list