apt shows downloads from -proposed pocket when it should use -updates pocket
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
I wanted to test an SRU kernel in -proposed; as suggested by the Wiki page, I used the following apt preferences to pin the trusty-proposed pocket to a lower priority:
$ cat /etc/apt/
Package: *
Pin: release a=trusty-proposed
Pin-Priority: 400
After installing the kernel package, I started a normal update.
apt-get -us dist-upgrade didn't show any updates coming via proposed, but the actual apt-get -u dist-upgrade claimed the packages were coming from trusty-proposed all the same:
sarnold@
sarnold@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-
linux-
linux-
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
linux-
linux-
linux-
The following packages will be upgraded:
apport apport-gtk click-reviewers
firefox-locale-en flashplugin-
grub-pc-bin grub2-common krb5-locales libgssapi-krb5-2 libido3-0.1-0
libk5crypto3 libkrb5-3 libkrb5support0 libnautilus-
libreoffice-
libreoffice-
libreoffice-gtk libreoffice-impress libreoffice-math libreoffice-
libreoffice-
libreoffice-
libxen-4.4 libxenstore3.0 libxml2 libxml2-dev libxml2-utils linux-firmware
linux-generic linux-headers-
linux-
notify-osd-icons python-apport python-libxml2 python-
python3-apport python3-
uno-libs3 unzip ure wpasupplicant
61 upgraded, 7 newly installed, 0 to remove and 0 not upgraded.
Need to get 167 MB/213 MB of archives.
After this operation, 276 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Err http://
403 Forbidden
Get:1 http://
Err http://
403 Forbidden
Get:2 http://
Err http://
403 Forbidden
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
10% [9 linux-firmware 5,524 kB/24.4 MB 23%] [13 libreoffice-writer 682 kB/9,452^C
Spot-checking the packages shows that this is entirely cosmetic:
sarnold@
linux-firmware:
Installed: 1.127.16
Candidate: 1.127.18
Version table:
1.127.18 0
500 http://
400 http://
*** 1.127.16 0
500 http://
100 /var/lib/
1.127 0
500 http://
sarnold@
python3-apport:
Installed: 2.14.1-0ubuntu3.18
Candidate: 2.14.1-0ubuntu3.19
Version table:
2.
500 http://
400 http://
*** 2.14.1-0ubuntu3.18 0
500 http://
100 /var/lib/
2.
500 http://
sarnold@
But it is certainly enough to make me ^C the download and inspect what's going on.
Thanks
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2.10
ProcVersionSign
Uname: Linux 3.13.0-67-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.18
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Nov 16 18:22:13 2015
InstallationDate: Installed on 2012-10-18 (1124 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
SourcePackage: apt
UpgradeStatus: Upgraded to trusty on 2014-04-12 (584 days ago)
apt selects which mirror/repo to download from based on their position in sources.list. If two mirrors contain the identical file, the first one will be picked, even if it's not actually the one that would win according to apt-cache policy. This is by design (based on the idea that you'll place closer/faster mirrors first), but I can see how it's disconcerting in this case.
(We take advantage of this same feature in our default sources.list by always placing -updates before security, so people only fall back to the security mirror if their local updates is lagging behind).