The other night, I upgraded a machine at PSU (Portland State University) from mostly `slink' (with some updated packages from `potato') to `potato'. I ran the entire upgrade from a gnome-terminal over an `ssh' connection. It went very well.
I used terminal flow control (C-s and C-q) to stop and start the output during installation, so that I could paste error messages into an editor, to take note of them. Here is that (annotated) file, for the curious. I have not gotten around to looking at the bug pages and filing bug reports on unreported problems yet; I will try and take some time for that this week. 8<---------------------------------------------------------------------->8 Unpacking smbclient (from .../smbclient_2.0.6-2_i386.deb) ... dpkg: error processing /var/cache/apt/archives/smbclient_2.0.6-2_i386.deb (--unpack): trying to overwrite `/usr/bin/smbclient', which is also in package samba dpkg-deb: subprocess paste killed by signal (Broken pipe) LILO, the LInux LOader, sets up your system to boot Linux directly from your hard disk, without the need for a boot floppy. Use of uninitialized value at /usr/sbin/liloconfig line 65, <FSTAB> chunk 3. Use of uninitialized value at /usr/sbin/liloconfig line 65, <FSTAB> chunk 11. Use of uninitialized value at /usr/sbin/liloconfig line 65, <FSTAB> chunk 19. Use of uninitialized value at /usr/sbin/liloconfig line 65, <FSTAB> chunk 23. You already have a LILO configuration in the file /etc/lilo.conf Checking your /etc/lilo.conf for incompatible options... Install a boot block using your current LILO configuration? [Yes] WARNING: Even if lilo runs successfully, see /usr/doc/lilo/INCOMPAT.gz for changes in the usage of the /etc/lilo.conf file. If needed: edit /etc/lilo.conf and rerun '/sbin/lilo -v' Running lilo... LILO version 21, Copyright 1992-1998 Werner Almesberger Reading boot sector from /dev/sda3 Merging with /boot/boot.b Boot image: /boot/vmlinuz Added Linux * Boot image: /boot/vmlinuz.old Added LinuxOLD /boot/boot.0803 exists - no backup copy made. Writing boot sector. dhelp_parse: can't open /usr/share/doc/HTML/default/index.html dhelp_parse: can't write index warning: error occured during execution of /usr/sbin/dhelp_parse -a at /usr/sbin/install-docs line 258. * fvwm2 couldn't find /etc/menu-methods/fvwm2 for a chmod. I had to touch that file in order to get it to --remove. For more information, contact Branden Robinson <[EMAIL PROTECTED]>. Warning: register-window-manager and the /etc/X11/window-managers file will soon become obsolete; window managers should instead use the update-alternatives command and register themselves as an "x-window-manager". For more information, contact Branden Robinson <[EMAIL PROTECTED]>. Unpacking replacement kdebase ... dpkg: error processing /var/cache/apt/archives/kdebase_4%3a1.1.2-19990906-1_i386.deb (--unpack): trying to overwrite `/usr/bin/kthememgr', which is also in package kthememgr dpkg-deb: subprocess paste killed by signal (Broken pipe) wallpapers directory already exists...not creating. dpkg: regarding .../archives/rman_3.0.8-1_i386.deb containing rman: kdebase conflicts with rman rman (version 3.0.8-1) is to be installed. dpkg: error processing /var/cache/apt/archives/rman_3.0.8-1_i386.deb (--unpack): conflicting packages - not installing rman * Octave re-installed; I will need to repack the locally compiled one, this time with a point number on the debian version. Preparing to replace octave 2.0.15-1 (using .../octave_2.0.15-1_i386.deb) ... remove/octave: Ignoring emacsen flavour emacs remove/octave: Purging byte-compiled files for flavour emacs20 Unpacking replacement octave ... Preparing to replace octave-headers 2.0.15-1 (using .../octave-headers_2.0.15-1_all.deb) ... Unpacking replacement octave-headers ... Checking if your system passwd, shadow and group files are correct... Removing user "tape" (26) Changing homedirectory of man to /var/cache/man Changing homedirectory of postgres to /var/lib/postgres Changing GECOS of backup to "backup". Changing shell of backup to /bin/sh Adding group "video" (44) Would commit 6 changes It looks like I need to make some changes to your system. Without those changes some packages might not work correctly. The list of changes are listed above. For more documentation on the Debian account policies please read /usr/share/doc/base-passwd/README. Should I update your system? [Y/n] Y Reading passwd from /usr/share/base-passwd/passwd.master Reading group from /usr/share/base-passwd/group.master Reading passwd from /etc/passwd Reading shadow from /etc/shadow Reading group from /etc/group Removing user "tape" (26) Changing homedirectory of man to /var/cache/man Changing homedirectory of postgres to /var/lib/postgres Changing GECOS of backup to "backup". Changing shell of backup to /bin/sh Adding group "video" (44) 6 changes have been made, rewriting files Writing passwd-file to /etc/passwd.upwd-write Replacing "/etc/passwd" with "/etc/passwd.upwd-write" Writing shadow-file to /etc/shadow.upwd-write Replacing "/etc/shadow" with "/etc/shadow.upwd-write" Writing group-file to /etc/group.upwd-write Replacing "/etc/group" with "/etc/group.upwd-write" Moving lib from /usr/lib/ssl to /etc/ssl cp: `/usr/lib/ssl/lib' and `/etc/ssl/lib' are the same file Moving certs from /usr/lib/ssl to /etc/ssl cp: `/usr/lib/ssl/certs' and `/etc/ssl/certs' are the same file Moving private from /usr/lib/ssl to /etc/ssl cp: `/usr/lib/ssl/private' and `/etc/ssl/private' are the same file Removeing obsolete link /usr/lib/ssl * ^^^ The second time through, it installed fine. Preparing to replace gv 1:3.5.8-11 (using .../gv_1%3a3.5.8-15_i386.deb) ... Removing old MIME information... Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page) - There is now nothing as 'view' for MIME type 'application/pdf' - There is now nothing as 'view' for MIME type 'application/postscript' - There is now nothing as 'view' for MIME type 'application/ghostview' Unpacking replacement gv ... dpkg - warning: while removing ftape-module-2.0.30, directory `/lib/modules/2.0.30' not empty so not removed. No diversion `diversion of /lib/modules/2.0.30/misc/ftape.o to /lib/modules/2.0.30/misc/ftape.o.old by ftape-module-2.0.30', none removed modprobe: kernel: QM_SYMBOLS: Function not implemented dpkg: error processing ftape-module-2.0.30 (--remove): subprocess post-removal script returned error exit status 1 Removing ftape-module-2.0.33 ... No diversion `diversion of /lib/modules/=KVERS/misc/ftape.o to /lib/modules/2.0.33/misc/ftape.o.old by ftape-module-2.0.33', none removed modprobe: kernel: QM_SYMBOLS: Function not implemented dpkg: error processing ftape-module-2.0.33 (--remove): subprocess post-removal script returned error exit status 1 Removing ftape-module-2.0.34 ... No diversion `diversion of /lib/modules/=KVERS/misc/ftape.o to /lib/modules/2.0.34/misc/ftape.o.old by ftape-module-2.0.34', none removed modprobe: kernel: QM_SYMBOLS: Function not implemented dpkg: error processing ftape-module-2.0.34 (--remove): subprocess post-removal script returned error exit status 1 Errors were encountered while processing: ftape-module-2.0.30 ftape-module-2.0.33 ftape-module-2.0.34 E: Sub-process /usr/bin/dpkg returned an error code (1) [status 100] * ^^^ I fixed those by commenting off the `depmod -a' at the bottom of the postrm scripts. The currently running kernel is compiled staticly, without module support, "for security reasons" (eg: heroin.c) Preparing to replace libtool 1.2d-1 (using .../libtool_1.3.3-6_all.deb) ... dhelp_parse: Warning - documents in /usr/doc are no longer supported! Unpacking replacement libtool ... * This is fixed too... Preparing to replace modutils 2.1.121-18 (using .../modutils_2.3.9-2_i386.deb) ... Removing `diversion of /usr/include/linux/kerneld.h to /usr/include/linux/kerneld.h.libc6 by modutils' dpkg-divert: rename involves overwriting `/usr/include/linux/kerneld.h' with different file `/usr/include/linux/kerneld.h.libc6', not allowed WARNING: the configuration format for modutils has changed! Your modutils configuration contains path statements. Since version 2.3.1 of modutils the syntax for this statement has changed. The section is no longer automatically appended to the given path. To demonstrate: if you have a statement like this: path[fs]=/lib/modules/2.2.14 it should be replaced with this statement: path[fs]=/lib/modules/2.2.14/fs For more documentation on the syntax please see the modules.conf manpage. Please press [ENTER] to continue Saving KDOPT setting from /etc/init.d/kerneld .. The modutils configurationfile /etc/conf.modules has been renamed to /etc/modules.conf. I tried to rename the file, but there is already a file called modules.conf present. You will have to resolve this situation manually. Removing obsoleted files: Dpkg might ask you if you want the new configuration files in /etc/init.d. This is generally a good idea, unless you have really changed any of these files. The KDOPT setting in /etc/init.d/kerneld will be saved even if you install a new version of this file. Unpacking replacement modutils ... dpkg: warning - unable to delete old file `/usr/man/man2': Directory not empty * Will this affect anyone on cathcart? Preparing to replace snns 4.1-3 (using .../archives/snns_4.2-2_i386.deb) ... Unpacking replacement snns ... Preparing to replace imagemagick 4.0.4-3 (using .../imagemagick_4.2.8-4.1_i386.deb) ... Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page) Stopping Secure Shell server: sshd. Unpacking replacement ssh ... I'm still on... How do they do that? Oh, I see. It forks and creates a new session group. So when the one in /var/run/sshd.pid is stopped, the one I'm logged into stays running. Removing ftape-module-2.0.30 ... dpkg - warning: while removing ftape-module-2.0.30, directory `/lib/modules/2.0.30' not empty so not removed. No diversion `diversion of /lib/modules/2.0.30/misc/ftape.o to /lib/modules/2.0.30/misc/ftape.o.old by ftape-module-2.0.30', none removed Warning: modutils is reading from /etc/modules.conf and ignoring /etc/conf.modules. The use of /etc/conf.modules is depreciated, please remove /etc/conf.modules as soon as possible. Command rm /etc/conf.modules depmod: QM_MODULES: Function not implemented dpkg: error processing ftape-module-2.0.30 (--remove): subprocess post-removal script returned error exit status 255 Errors were encountered while processing: ftape-module-2.0.30 E: Sub-process /usr/bin/dpkg returned an error code (1) [status 100] * Now removed... Setting up iplogger (1.1-7) ... Starting IP paranoia daemons: tcplogd icmplogd. Registering PAM documentation...dhelp_parse: can't open /usr/share/doc/HTML/default/index.html dhelp_parse: can't write index warning: error occured during execution of /usr/sbin/dhelp_parse -a at /usr/sbin/install-docs line 258. dhelp_parse: can't open /usr/share/doc/HTML/default/index.html dhelp_parse: can't write index warning: error occured during execution of /usr/sbin/dhelp_parse -d at /usr/sbin/install-docs line 218. dhelp_parse: can't open /usr/share/doc/HTML/default/index.html dhelp_parse: can't write index warning: error occured during execution of /usr/sbin/dhelp_parse -a at /usr/sbin/install-docs line 258. dhelp_parse: can't open /usr/share/doc/HTML/default/index.html dhelp_parse: can't write index warning: error occured during execution of /usr/sbin/dhelp_parse -d at /usr/sbin/install-docs line 218. dhelp_parse: can't open /usr/share/doc/HTML/default/index.html dhelp_parse: can't write index warning: error occured during execution of /usr/sbin/dhelp_parse -a at /usr/sbin/install-docs line 258. done. * Needs to be restarted by hand. Setting up gpm (1.17.8-13) ... Installing new version of config file /etc/init.d/gpm ... Stopping mouse interface server: gpm. $DISPLAY set and gpm not repeating; starting non-repeating gpm within X can cause problems. Not starting gpm. Setting up metamail (2.7-33) ... Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page) Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page) Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page) * Might need to run `pilotconfig' to set the /dev/pilot link. Setting up dump (0.4b12-1) ... WARNING: Be careful who you put in group 'disk', since this may give access to files that only root should be allowed to access. On this computer, group 'disk' includes the following person(s): backup,andreas,karlheg Ensuring /var/lib/dumpdates is writeable by group disk. * Do we need to be in group `disk' for any real reason? Setting up modutils (2.3.9-2) ... Installing new version of config file /etc/modutils/aliases ... Installing new version of config file /etc/modutils/paths ... WARNING: you already have an /etc/modules.conf file which has not been generated by update-modules. Debian now uses a new system which uses multiple files in the /etc/modutils directory. See the manpage for update-modules for more information on this setup. Please check all changes you made in /etc/modules.conf and either apply them to the provided files in /etc/modutils or add your own files there. Then run update-modules. * DQS runs. I wonder if it works? Local localhost localhost NONE NONE Starting /usr/sbin/qmaster... time=948439901 DQS_INFO_0484 common_dir/host_file not found - making ../SRC/dqs_setup.c 1132 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_ERROR_0485 "cathcart.sysc.pdx.edu" not found in HOST_LIST - adding ../SRC/dqs_setup.c 1137 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_ERROR_0486 "localhost" not found in HOST_LIST - adding ../SRC/dqs_setup.c 1146 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_INFO_0004 adding "cathcart" to Host_has as an alias for "cathcart.sysc.pdx.edu" ../SRC/dqs_add_del.c 198 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_INFO_0004 adding "cc" to Host_has as an alias for "cathcart.sysc.pdx.edu" ../SRC/dqs_add_del.c 198 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_INFO_0487 common_dir/man_file not found - making ../SRC/dqs_setup.c 1166 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_INFO_0490 common_dir/op_file not found - making ../SRC/dqs_setup.c 1207 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_ERROR_0349 error: unable to open common_dir/generic_queue for reading ../SRC/dqs_queue.c 342 /usr/sbin/qmaster cathcart.sysc.pdx.edu time=948439901 DQS_INFO_0494 writing generic queue configuration "common_dir/generic_queue" ../SRC/dqs_setup.c 1342 /usr/sbin/qmaster cathcart.sysc.pdx.edu Starting /usr/sbin/dqs_execd... * Fixed when I ran down the /etc/ directory. You have an old-style 0setserial entry. The configuration mechanism has changed completely from 2.14. Renaming your old /etc/rc.boot/0setserial to 0setserial.pre-2.15 This release uses serial.conf in /etc/ to configure the ports When you shutdown or halt your machine, your current settings should be automatically stored, providing you do not have either a multiport or a hayes device (edit /etc/serial.conf by hand). Attention PCMCIA users - pcmcia has its own configuration for pcmcia serial-type devices, which is not compatible with setserial. I have attempted to compensate for this, but if you have problems read /usr/doc/setserial/README.debian.gz Note that if you edit serial.conf, remember to remove completely the AUTOSAVE line from the file. Do you want the automatic serial port configuration (recommended) (YES/no): YES Configuring setserial automatically Saving state of known serial devices... backing up serial.conf done. setserial thought the following about your system... ###AUTOSAVE### /dev/ttyS0 uart 16550A port 0x03f8 irq 4 spd_normal skip_test /dev/ttyS1 uart 16550A port 0x02f8 irq 3 spd_normal skip_test Error: the current /etc/modules.conf is not automatically generated. Use "update-modules force" to force (re)generation. WARNING - Tried to install the module management code to support the serial.o module being loaded and unloaded dynamically by kerneld (or its equivalent). update-modules failed to allow its installation. There may be something non-standard about your module configuration. I suggest you try running /sbin/update-modules on your own. Hit return to continue * Removed. We don't need `cfs'. Setting up cfs (1.3.3-5) ... Configure cfs now [Y/n]? y Use default Cryptographic Filesystem Configuration [Y/n]? n Enter server mount point [/.cfsfs] Enter client mount point [/crypt] Old directories and not automatically removed. Please remove by hand. Creating directory /.cfsfs Creating directory /crypt Restarting nfs-server Starting /usr/sbin/cfsd... cfs ready [26719] Use "cfsconfig" to (re)configure at a future date. * Need to tell Andreas that igerman, translate and ding are installed. Setting up acroread (4.0-1) ... Warning: 'install-mime' is obsolete -- use 'update-mime' instead (see man page) - Added new action 'view' for MIME type 'application/pdf' Setting up amanda-client (2.4.1p1-10) ... You need to update ~backup/.amandahosts to include an entry that allows access by user 'backup' on your amanda server host. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]