[S.u.S.E. Linux] help - symlinks failed durring install
I installed SuSE 5.2 today and had the following errors: warning: can't rmdir /usr/spool -- skipping symlink warning: can't rmdir /usr/tmp -- skipping symlink warning: can't rmdir /usr/X386 -- skipping symlink warning: can't rmdir /usr/include/g++-include -- skipping symlink warning: can't rmdir /usr/lib/X11 -- skipping symlink warning: can't rmdir /usr/include/X11 -- skipping symlink warning: can't rmdir /usr/include/linux -- skipping symlink warning: can't rmdir /usr/lib/X11 -- skipping symlink If anyone could please tell me what to do about this I would be very greatfull. I do not know what links need to be made, or why they were not made durring installation. The only thing I did different with this install is that /usr is not on the root partition. As a result of this problem I have't been able to compile anything but the kernel. -Ben - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Ben, I got the same reports. It may be that you already have those symlinks. I ignored them and all went fine. I have a small root drive and numerous symlinks to other locations. I do have some real concerns about the long term consequences of YAST not cleaning up everything upon removing packages. Thanks for bringing this up. This problem (feature?) has always bothered me. Perhaps the Saubermacher(s) (how does one make this plural?) at S.u.S.E. can clear this up. Steve Ben wrote:
I installed SuSE 5.2 today and had the following errors:
warning: can't rmdir /usr/spool -- skipping symlink warning: can't rmdir /usr/tmp -- skipping symlink
warning: can't rmdir /usr/X386 -- skipping symlink warning: can't rmdir /usr/include/g++-include -- skipping symlink warning: can't rmdir /usr/lib/X11 -- skipping symlink
warning: can't rmdir /usr/include/X11 -- skipping symlink warning: can't rmdir /usr/include/linux -- skipping symlink
warning: can't rmdir /usr/lib/X11 -- skipping symlink
If anyone could please tell me what to do about this I would be very greatfull. I do not know what links need to be made, or why they were not made durring installation. The only thing I did different with this install is that /usr is not on the root partition. As a result of this problem I have't been able to compile anything but the kernel.
-Ben - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Ben wrote:
I installed SuSE 5.2 today and had the following errors:
warning: can't rmdir /usr/spool -- skipping symlink warning: can't rmdir /usr/tmp -- skipping symlink
warning: can't rmdir /usr/X386 -- skipping symlink warning: can't rmdir /usr/include/g++-include -- skipping symlink warning: can't rmdir /usr/lib/X11 -- skipping symlink
warning: can't rmdir /usr/include/X11 -- skipping symlink warning: can't rmdir /usr/include/linux -- skipping symlink
warning: can't rmdir /usr/lib/X11 -- skipping symlink
If anyone could please tell me what to do about this I would be very greatfull. I do not know what links need to be made, or why they were not made durring installation. The only thing I did different with this install is that /usr is not on the root partition. As a result of this problem I have't been able to compile anything but the kernel.
IMHO your /usr partition contains parts of some ancient linux installation where directories like /usr/spool are 'real directories' and not symlinks to other locations on your disk. Lets take for example > warning: can't rmdir /usr/include/linux -- skipping symlink - '/usr/include/linux' is part of the libc package. If you don't already know this, "rpm -qf /usr/include/linux" will tell you so. - "rpm -qlv libc" will give you a verbose listing of all files in the libc package. You'll find out, that '/usr/include/linux' should be a symlink pointing to '../src/linux/include/linux'. Installing the libc package the symlink '/usr/include/linux' can't be created, since '/usr/include/linux' is a nonempty directory which can't be removed. Ok, it could be removed, but neither YaST nor RPM is able to figure out if it contains some valuable stuff. So '/usr/include/linux' is left untouched and you receive the above note. If you intentionally created this directory you may continue to use it. Otherwise rename or remove the directory and manually create the symlink, or reinstall the package. -- cu, Michael Andres ----------------------------------------------------------------------- S.u.S.E. GmbH | Telefon: +49 911 74053-0 | E-mail: ma@suse.de Gebhardtstr. 2 | Fax: +49 911 3206727 | D-90762 Fuerth | Click <A HREF="<A HREF="http://www.suse.de"><A HREF="http://www.suse.de</A">http://www.suse.de</A</A>>">here</A> - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
ma@suse.de wrote:
Ben wrote:
I installed SuSE 5.2 today and had the following errors:
warning: can't rmdir /usr/spool -- skipping symlink warning: can't rmdir /usr/tmp -- skipping symlink
<snip>
IMHO your /usr partition contains parts of some ancient linux installation where directories like /usr/spool are 'real directories' and not symlinks to other locations on your disk.
<snip>
cu, Michael Andres
You are exactly right, Michael. Today at work it struck me. I re-used some partitions from a previous install and forgot to re-format them! Yast just mounted them (like it should) and tried to work around all the old files/dirs still residing there. I felt pretty dumb when I realized what I did. I have to stop doing this stuff so late at night <g>. Thanks to Michael and the others who responded. -Ben "You can lead a horse to water...but by the time you got there you would smell like a horse and your butt would hurt." - Dogbert - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
bmessin@3-cities.com
-
hattons@CPKWEBSER5.ncr.disa.mil
-
ma@suse.de