apt-get dist-upgrade but hold libc6 at 2.3.1-8
Gentlemen, junior user me is planning to upgrade sid, but I must stay
away from the fabled libc6 2.3.1-9 so I
# cat $PWD/preferences
Package: libc6
Pin: version 2.3.1-8
Pin-Priority: 1001
# apt-get -o Dir::Etc::Preferences=$PWD/preferences \
-s dist-upgrade|grep upgraded
297 packages upgraded, 23 newly installed, 87 to remove and 326 not upgraded.
# apt-get -s dist-upgrade|grep upgraded
686 packages upgraded, 60 newly installed, 3 to remove and 4 not upgraded.
I.e. I am going to miss lots with that pin.
It must be that when I do an update, the lists that come back dont
carry anything earlier than 2.3.1-9, leaving a gap:
# apt-cache policy libc6
libc6:
Installed: 2.2.5-15
Candidate: 2.3.1-9
Version Table:
2.3.1-9 0
500 http://debian.linux.org.tw sid/main Packages
*** 2.2.5-15 0
500 cdrom://[Debian GNU/Linux SID _Sid_ - fsn.hu unofficial
i386 Binary-1 (20021010)] unstable/main Packages
100 /var/lib/dpkg/status
# apt-cache showpkg libc6|\
sed -n '/Reverse Depends:/,/^[^ ]/s/.*,//p'|\
sort|uniq -c
17 libc6
1 libc6 2.0
36 libc6 2.1
2 libc6 2.1-4
1 libc6 2.1.1-13
138 libc6 2.1.2
1 libc6 2.1.2-12
1 libc6 2.1.3
11 libc6 2.1.94
29 libc6 2.1.97
2 libc6 2.2
19 libc6 2.2.1
45 libc6 2.2.1-2
81 libc6 2.2.2-2
2 libc6 2.2.2-4
172 libc6 2.2.3-1
180 libc6 2.2.3-7
105 libc6 2.2.4-2
3137 libc6 2.2.4-4
2633 libc6 2.2.5-13
7 libc6 2.2.5-15
1 libc6 2.3.1
2281 libc6 2.3.1-1
5 libc6 2.3.1-9
# apt-cache showpkg libc6|fgrep 2.3.1-9
nscd,libc6 2.3.1-9
libc6-prof,libc6 2.3.1-9
libc6-pic,libc6 2.3.1-9
libc6-dev,libc6 2.3.1-9
libc6-dbg,libc6 2.3.1-9...
and doing those in preferences too doesn't help.
It must be that I need libc6 2.3.1-8 etc. in my package lists and a
simple apt-get update doesn't do that....
--
http://jidanni.org/ Taiwan(04)25854780
Reply to: