Hi All, I have just done an apt-get dist-upgrade of an Intel 486 gateway from stable to unstable. I have just a few questions...
Question 1 ---------- dpkg: warning - unable to delete old file `/usr/doc': Directory not empty All the doc files in here are symlinks to ../share/doc/ I am presuming that unstable has decided to have all docs in /usr/share and nothing in /usr/doc and wanted to remove all those symlinks and the directory /usr/doc - is that right. In which case I can manually delete them? Question 2 ---------- dpkg: warning - unable to delete old file `/var/log/ksymoops': Directory not empty This currently contails lots of..... -rw-r--r-- 1 root root 32113 Sep 1 23:06 20010901230651.ksyms -rw-r--r-- 1 root root 222 Sep 1 23:06 20010901230651.modules Seems to be lots of temp files about loaded modules. I have deleted them all and I will see what ones reappear and when. Question 3 ---------- Some time ago I installed logrotate which needed mailx to be able to mail me messages and this in turn required zmailer. zmailer is a big package for high volume mail and should not be needed really. As apt-cache show zmailer says.... "Most users don't need this package -- for most users, sendmail or exim or smail will suffice." I have exim installed. I tried to delete it: loubens:/home/admin# apt-get remove zmailer-ssl Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: logrotate mailx tripwire zmailer-ssl 0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 15.5MB will be freed. Do you want to continue? [Y/n] n Abort. The strange thing is that my Debian Alpha has logrotate and mailx but did not need zmailer. The 486 Intel does. Whats the dependencies for other peoples systems out there? Question 4 ---------- I have in my sources.lust :-) deb http://security.debian.org unstable/updates main contrib non-free I had changed the stable to unstable. I get however... W: Couldn't stat source package list http://security.debian.org unstable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org unstable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org unstable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory) Is there no unstable security branch? Surely I would not have stable in that line as that would then refer to older stable versions of software? Mike -- -------------------------------------------------------------------- Michael Lake Active caver, Linux enthusiast and interested in anything technical. Safety Convenor, Australian Speleological Federation Owner, Speleonics (Australia) -------------------------------------------------------------------- >From - Sun Dec 2 17:15:52 2001 X-Mozilla-Status: 0801 X-Mozilla-Status2: 00000000 FCC: /home/mikel/nsmail/Sent Message-ID: <[EMAIL PROTECTED]> Date: Sun, 02 Dec 2001 17:15:52 +1100 From: Michael Lake <[EMAIL PROTECTED]> X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; uuencode=0; html=0; linewidth=0 X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.4-4GB i686) X-Accept-Language: en MIME-Version: 1.0 To: [EMAIL PROTECTED] Subject: Several questions after an apt-get dist-upgrade References: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi All, I have just done an apt-get dist-upgrade of an Intel 486 gateway from stable to unstable. I have just a few questions... Question 1 ---------- dpkg: warning - unable to delete old file `/usr/doc': Directory not empty All the doc files in here are symlinks to ../share/doc/ I am presuming that unstable has decided to have all docs in /usr/share and nothing in /usr/doc and wanted to remove all those symlinks and the directory /usr/doc - is that right. In which case I can manually delete them? Question 2 ---------- dpkg: warning - unable to delete old file `/var/log/ksymoops': Directory not empty This currently contails lots of..... -rw-r--r-- 1 root root 32113 Sep 1 23:06 20010901230651.ksyms -rw-r--r-- 1 root root 222 Sep 1 23:06 20010901230651.modules Seems to be lots of temp files about loaded modules. I have deleted them all and I will see what ones reappear and when. Question 3 ---------- Some time ago I installed logrotate which needed mailx to be able to mail me messages and this in turn required zmailer. zmailer is a big package for high volume mail and should not be needed really. As apt-cache show zmailer says.... "Most users don't need this package -- for most users, sendmail or exim or smail will suffice." I have exim installed. I tried to delete it: loubens:/home/admin# apt-get remove zmailer-ssl Reading Package Lists... Done Building Dependency Tree... Done The following packages will be REMOVED: logrotate mailx tripwire zmailer-ssl 0 packages upgraded, 0 newly installed, 4 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 15.5MB will be freed. Do you want to continue? [Y/n] n Abort. The strange thing is that my Debian Alpha has logrotate and mailx but did not need zmailer. The 486 Intel does. Whats the dependencies for other peoples systems out there? Question 4 ---------- I have in my sources.lust :-) deb http://security.debian.org unstable/updates main contrib non-free I had changed the stable to unstable. I get however... W: Couldn't stat source package list http://security.debian.org unstable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org unstable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org unstable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_unstable_updates_non-free_binary-i386_Packages) - stat (2 No such file or directory) Is there no unstable security branch? Surely I would not have stable in that line as that would then refer to older stable versions of software? Question 5 ---------- This is a bit more complicated :-) I also have done an "apt-get install kernel-image-2.4.16-386" During unpacking of this deb the message here appeared... loubens:/home/admin# apt-get install kernel-image-2.4.16-386 etc.... The following NEW packages will be installed: initrd-tools kernel-image-2.4.16-386 mkcramfs 0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 8692kB of archives. After unpacking 23.7MB will be used. Do you want to continue? [Y/n] y Get:2 http://http.us.debian.org unstable/main mkcramfs 2.4.16-1 [13.9kB] Get:3 http://http.us.debian.org unstable/main initrd-tools 0.1.13 [10.3kB] Get:4 http://http.us.debian.org unstable/main kernel-image-2.4.16-386 2.4.16-1 [8597kB] You are attempting to install an initrd kernel image (version 2.4.16-386) This will not work unless you have configured your boot loader to use initrd. As a reminder, in order to configure lilo, you need to add an 'initrd=/initrd' in your /etc/lilo.conf I repeat, You need to configure your boot loader. If you have already done so, and you wish to get rid of this message, please put `do_initrd = Yes' in /etc/kernel-img.conf. Do you want to stop now? [Y/n] Yes, I stopped :-) So it looks like now there is a new dual phase booting sequence from what I read with this initrd so I added the line. "initrd=/initrd" to lilo.conf and reloaded it but I got... loubens:/etc# /sbin/lilo Fatal: /initrd: neither a reg. file nor a block dev. The man page for initrc talks about a new black device, which I have... brw-rw---- 1 root disk 1, 250 Jul 6 2000 /dev/initrd and the man page says about the syntax for initrd= initrd=filename ...... this command in the LILO configuration file /etc/lilo.config. The filename specified with this option will typically be a gzipped file-system image. So I presume that really I need this initrd option to point to the new kernel image to boot. But what about "image=boot/vmlinuz-2.2.17" which I have at present in lilo.conf I am somewhat confused as to how to setup lilo.conf now. PS. The dep package install kernel-image-2.4.16-386 is in /var/cache/apt/archives so its ready to go but unpacked. There is a directory /initrd but it is empty. Mike -- -------------------------------------------------------------------- Michael Lake Active caver, Linux enthusiast and interested in anything technical. Safety Convenor, Australian Speleological Federation Owner, Speleonics (Australia) -------------------------------------------------------------------- -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
