On Sunday 01 December 2002 16:10, Angus Beath wrote: > Hi, I've got this error from Cron each day. I'm not sure how to go about > fixing it: > > Subject: Cron <root@dunedain> nice -n 19 run-parts /etc/cron.daily > Date: Sat, 30 Nov 2002 18:04:19 -0500 (EST) > > bzcat: Can't open input file ./newaliases.1.bz2: No such file or > directory. > bzcat: Can't open input file ./mailq.1.bz2: No such file or directory. > bzcat: Can't open input file ./ctags.1.bz2: No such file or directory. > bzcat: Can't open input file ./aliases.5.bz2: No such file or directory. > > > Any suggestions? > > Angus This error message comes from makewhatis. Most likely the symbolic link /usr/share/man/man1/newaliases.1.bz2 points to a location in your file system that does not exist.
The following commands fixed this for me: update-alternatives --auto mta update-alternatives --auto ctags What is going on: In order to allow you to have multiple versions of the same program installed, symbolic links to the man pages and the executables are maintained. Take an example from my system: /usr/bin/gcc is a symbolic link to /etc/alternatives/gcc /etc/alternatives/gcc is a symbolic link to /usr/bin/colorgcc-3.2 Then, if I install another version of gcc in /usr/bin, say /usr/bin/gcc-3.1, and I want to access it as /usr/bin/gcc, I would change the link in /etc/alternatives. I.e. I would let /etc/alternatives/gcc point to /usr/bin/gcc-3.1. Regular users (like you and I) never worry about these symbolic links because they are handled automatically when we upgrade and downgrade our rpms. In this case, something went wrong with the symbolic link for these 2 packages and we had to re-run the script that handles these links. If you are curious, you can look at the files in the directory /var/lib/rpm/alternatives as well as man update-alternatives. I hope this helps, Narfi.
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com