Re: proposed updates
On Wed, 2013-05-29 at 10:43 +0300, Andrei POPESCU wrote:
> On Ma, 28 mai 13, 10:55:23, Greg Cercy wrote:
> >
> > I followed instructions about using apt pinning to do this at:
> >
> > http://ubuntuforums.org/showthread.php?t=432636
> >
> > I'm running wheezy (not ubuntu, so I changed all references of fiesty to
> > wheezy.
> >
> > However none of the packages get removed nor any installed whether I use
> > aptitude or "apt-get update ; apt-get dist-upgrade "
>
> Please post the output of 'apt-cache policy'.
>
> Kind regards,
> Andrei
Running the command you requested reminded me of one additional thing I
did was disable the proposed-updates entry in the sources.list
(following a different set of advice), I tried running the steps both
with the entry in place and without it and neither made any changes to
existing packages.
Here is the output you requested:
$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://download.virtualbox.org/virtualbox/debian/ wheezy/contrib
amd64 Packages
release c=contrib
origin download.virtualbox.org
500 http://ftp.us.debian.org/debian/ wheezy-updates/non-free
Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-updates/main Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-updates/contrib
Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-updates/contrib amd64
Packages
release
o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=contrib
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-updates/non-free amd64
Packages
release
o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=non-free
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=main
origin ftp.us.debian.org
500 http://security.debian.org/ wheezy/updates/non-free Translation-en
500 http://security.debian.org/ wheezy/updates/main Translation-en
500 http://security.debian.org/ wheezy/updates/contrib Translation-en
500 http://security.debian.org/ wheezy/updates/contrib amd64 Packages
release
v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=contrib
origin security.debian.org
500 http://security.debian.org/ wheezy/updates/non-free amd64 Packages
release
v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=non-free
origin security.debian.org
500 http://security.debian.org/ wheezy/updates/main amd64 Packages
release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=main
origin security.debian.org
500 http://ftp.us.debian.org/debian/ wheezy/non-free Translation-en
500 http://ftp.us.debian.org/debian/ wheezy/main Translation-en
500 http://ftp.us.debian.org/debian/ wheezy/contrib Translation-en
500 http://ftp.us.debian.org/debian/ wheezy/contrib amd64 Packages
release v=7.0.0,o=Debian,a=stable,n=wheezy,l=Debian,c=contrib
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy/non-free amd64 Packages
release v=7.0.0,o=Debian,a=stable,n=wheezy,l=Debian,c=non-free
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
release v=7.0.0,o=Debian,a=stable,n=wheezy,l=Debian,c=main
origin ftp.us.debian.org
Pinned packages:
With the proposed-updates enabled:
$ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://download.virtualbox.org/virtualbox/debian/ wheezy/contrib amd64 Packages
release c=contrib
origin download.virtualbox.org
500 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/non-free Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/main Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/contrib Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/main amd64 Packages
release v=7.0-updates,o=Debian,a=proposed-updates,n=wheezy-proposed-updates,l=Debian,c=main
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/contrib amd64 Packages
release v=7.0-updates,o=Debian,a=proposed-updates,n=wheezy-proposed-updates,l=Debian,c=contrib
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-proposed-updates/non-free amd64 Packages
release v=7.0-updates,o=Debian,a=proposed-updates,n=wheezy-proposed-updates,l=Debian,c=non-free
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-updates/non-free Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-updates/main Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-updates/contrib Translation-en
500 http://ftp.us.debian.org/debian/ wheezy-updates/contrib amd64 Packages
release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=contrib
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-updates/non-free amd64 Packages
release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=non-free
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=main
origin ftp.us.debian.org
500 http://security.debian.org/ wheezy/updates/non-free Translation-en
500 http://security.debian.org/ wheezy/updates/main Translation-en
500 http://security.debian.org/ wheezy/updates/contrib Translation-en
500 http://security.debian.org/ wheezy/updates/contrib amd64 Packages
release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=contrib
origin security.debian.org
500 http://security.debian.org/ wheezy/updates/non-free amd64 Packages
release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=non-free
origin security.debian.org
500 http://security.debian.org/ wheezy/updates/main amd64 Packages
release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=main
origin security.debian.org
500 http://ftp.us.debian.org/debian/ wheezy/non-free Translation-en
500 http://ftp.us.debian.org/debian/ wheezy/main Translation-en
500 http://ftp.us.debian.org/debian/ wheezy/contrib Translation-en
500 http://ftp.us.debian.org/debian/ wheezy/contrib amd64 Packages
release v=7.0.0,o=Debian,a=stable,n=wheezy,l=Debian,c=contrib
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy/non-free amd64 Packages
release v=7.0.0,o=Debian,a=stable,n=wheezy,l=Debian,c=non-free
origin ftp.us.debian.org
500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
release v=7.0.0,o=Debian,a=stable,n=wheezy,l=Debian,c=main
origin ftp.us.debian.org
It looks to me the pinning isn't working, it shows nothing over 500
whether proposed-updates is enabled or disabled. I placed the file
in /etc/apt/preferences.d/. Here is my exact pinning file:
Package: *
Pin: release a=wheezy
Pin-Priority: 1001
Package: *
Pin: release a=wheezy-updates
Pin-Priority: 1001
Package: *
Pin: release a=wheezy-security
Pin-Priority: 1001
Package: *
Pin: release a=wheezy-proposed
Pin-Priority: -10
Package: *
Pin: release a=wheezy-backports
Pin-Priority: -10
gregg@fast:~$ cat /etc/apt/preferences.d/99-back-to-stables-updates
Package: *
Pin: release a=wheezy
Pin-Priority: 1001
Package: *
Pin: release a=wheezy-updates
Pin-Priority: 1001
Package: *
Pin: release a=wheezy-security
Pin-Priority: 1001
Package: *
Pin: release a=wheezy-proposed
Pin-Priority: -10
Package: *
Pin: release a=wheezy-backports
Pin-Priority: -10
Do I have the references to wheezy correct in the pin file? Here is my
sources.list:
deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib
deb-src http://ftp.us.debian.org/debian/ wheezy main non-free contrib
deb http://security.debian.org/ wheezy/updates main non-free contrib
deb-src http://security.debian.org/ wheezy/updates main non-free contrib
# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ wheezy-updates main non-free
contrib
deb-src http://ftp.us.debian.org/debian/ wheezy-updates main non-free
contrib
# deb http://www.deb-multimedia.org wheezy main non-free
deb http://ftp.us.debian.org/debian/ wheezy-proposed-updates non-free
contrib main
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
Thanks for your help on this.
Reply to: