potato->woody upgrade story, saga, nightmare
If you are thinking of upgrading to woody, don't. At least, not
right now.
My first question: where are all the X packages in woody? Why all
the broken dependencies? When can we crawl out of our holes?
I replaced potato with woody in /etc/apt/sources.list, ran apt-get
update, and then apt-get dist-upgrade. Over 9 times.
apt-get dist-upgrade started with the following, and like a fool I
blundered on:
The following packages will be REMOVED:
bind dhcp-dns diald libgnome-dev libgnorba-dev libgtkxmhtml-dev
liborbit-dev linuxconf linuxconf-x netbase netdiag nfs-server
orbit pidentd ppp rsh-server smbfs talkd task-dns-server
task-samba tetex-bin tetex-extra tetex-lib
With netbase gone, all those packages that call update-inetd were
hosed. With bind gone, I couldn't hit the Web for help (a
well-placed IP address in /etc/resolv.conf saved the day).
Here are some other interesting examples.
Install wmaker? REMOVE wmakerconf wmakerconf-data or vice-versa.
Install xfonts-cjk, get this:
[root@gbr:1272]# apt-get install xfonts-cjk
Reading Package Lists... Done
Building Dependency Tree... Done
Note, selecting xfonts-base instead of xfonts-cjk
The following extra packages will be installed:
libfreetype6 libxaw-dev libxaw6 libxaw7 xbase-clients xfonts-base xlib6g
xlib6g-dev xlibs xlibs-dev xutils
The following packages will be REMOVED:
xcontrib xcopilot xmanpages xpm4g xpm4g-dev xsm
The following NEW packages will be installed:
libfreetype6 libxaw-dev libxaw6 libxaw7 xlibs xlibs-dev xutils
The following packages will be upgraded
xbase-clients xfonts-base xlib6g xlib6g-dev
Blundering on again (using the -d flag because we are scared), we
see:
Failed to fetch http://http.us.debian.org/debian/pool/main/x/xfree86/xbase-clients_4.0.2-1_i386.deb
404 Not Found
When can we expect woody to be straightened out?
Here's a much abbreviated except of the session.
Pass 1:
Preparing to replace tar 1.13.17-2 (using .../tar_1.13.19-1_i386.deb) ...
Unpacking replacement tar ...
Setting up tar (1.13.19-1) ...
install-info: warning, ignoring confusing INFO-DIR-ENTRY in file.
Preparing to replace dhcp 2.0pl4-2 (using .../dhcp_2.0pl5-3_i386.deb) ...
Unpacking replacement dhcp ...
/var/lib/dpkg/info/dhcp.postrm: update-inetd: command not found
dpkg: warning - old post-removal script returned error exit status 127
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: update-inetd: command not found
dpkg: error processing /var/cache/apt/archives/dhcp_2.0pl5-3_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 127
/var/lib/dpkg/tmp.ci/postrm: update-inetd: command not found
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 127
dpkg: error processing /var/cache/apt/archives/gnotepad+-help_1.2.0-1_all.deb (--unpack):
trying to overwrite `/usr/share/gnome/help/gnotepad+/C/index-5.html', which is also in package gnotepad+
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/dhcp_2.0pl5-3_i386.deb
/var/cache/apt/archives/gnotepad+-help_1.2.0-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Pass 2:
realplayer failed to configure, with exit code 1
(in cleanup) Can't call method "close" on an undefined value at /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 476 during global destruction.
Preparing to replace kernel-image-2.2.17 gbr.2 (using .../kernel-image-2.2.17_1%3a2.2.17-1_i386.deb) ...
You are attempting to install a kernel image (version 2.2.17)
However, the directory /lib/modules/2.2.17 still exists.
If you have deselected some modules, this could be bad.
This is your last chance to abort the installation of this
kernel image (nothing has been changed yet).
I suggest you move /lib/modules/2.2.17 out of the way,
perhaps to /lib/modules/2.2.17.old or something,
and then try re-installing this image.
Do you want to stop now? [Y/n]
Ok, Aborting
dpkg: error processing /var/cache/apt/archives/kernel-image-2.2.17_1%3a2.2.17-1_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/dhcp_2.0pl5-3_i386.deb
/var/cache/apt/archives/gnotepad+-help_1.2.0-1_all.deb
/var/cache/apt/archives/kernel-image-2.2.17_1%3a2.2.17-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Pass 3:
Same.
Pass 4:
Same.
Pass 5:
Same.
Pass 6:
Same, plus:
Preparing to replace lprng 3.6.12-8 (using .../lprng_3.7.4-2_i386.deb) ...
Stopping printer spooler: lprng.
(in cleanup) Can't call method "close" on an undefined value at /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 476 during global destruction.
Pass 7:
Same.
Pass 8
First went into dselect and held kernel-*, gnotepad+-help.
Commented out update-inetd in /var/lib/dpkg/info/dhcp.postinst
Good! Now we're finally Setting up...
Pass 9:
...
I see these a LOT:
(in cleanup) Can't call method "DESTROY" on an undefined value at /usr/lib/perl5/Debian/DebConf/Question.pm line 251 during global destruction.
(in cleanup) Can't call method "close" on an undefined value at /usr/lib/perl5/Debian/DebConf/ConfModule.pm line 476 during global destruction.
--
Bill Wohler <wohler@newt.com> http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.
Reply to: