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

Re: apt-get dist-upgrade wants to remove non-installed packages



Vincent Lefevre wrote:
I'm currently using XFree86 4.2 and I don't want to upgrade the X server
and X applications for the moment, because of bugs. I've added the
following to my /etc/apt/preferences file:

Package: xfree86-common
Pin: version 4.2.*
Pin-Priority: 950

Package: xserver-common
Pin: version 4.2.*
Pin-Priority: 950

Package: xserver-xfree86
Pin: version 4.2.*
Pin-Priority: 950

to stay with 4.2 (I don't know if there is a better solution).
But apt-get dist-upgrade -s says:

[...]
Remv x-window-system-core (4.3.0-7 Debian:testing)
[...]

whereas only 4.2.1-12.1 is currently installed. Is it a bug in
apt-get or what...?


I don't understand it either. I have as only entry in preferences:

Package: *
Pin: origin schuldei.org
Pin-Priority: 999

My X packages come from there:

deb /http://www.schuldei.org/debian/bruby/ ./

Yet, here too, apt-get dist-upgrade -s gets:

[...]
Inst x-window-system [4.3.0-0pre1v3] (4.3.0-7 Debian:testing)
[...]

But apt-cache policy gets:

Package Files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://security.debian.org stable/updates/contrib Packages
     release v=3.0,o=Debian,a=stable,l=Debian-Security,c=updates/contrib
     origin security.debian.org
 500 http://security.debian.org stable/updates/main Packages
     release v=3.0,o=Debian,a=stable,l=Debian-Security,c=updates/main
     origin security.debian.org
 500 /http://www.schuldei.org ./ Packages
     origin www.schuldei.org
 500 file: sarge/contrib Packages
     release o=Debian,a=testing,l=Debian,c=contrib
[...]

The apt that is installed is:

ii  apt            0.5.23         Advanced front-end for dpkg

However, I did this very thing on the 29th of March and everything went OK. I have a backup of just before that upgrade ;-) gotten burned once too often. I will restore it and see what apt that had...

Can anybody shed light on this?


Hugo












Reply to: