Mailinglist Archive: opensuse (1919 mails)

< Previous Next >
[S.u.S.E. Linux] Re: help - symlinks failed durring install
  • From: ma@xxxxxxx (ma@xxxxxxx)
  • Date: Mon, 6 Jul 1998 19:18:33 +0200
  • Message-id: <ma-9806061718.AA004530023@xxxxxxxxxxxxxxxxx>



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@xxxxxxx
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@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e


< Previous Next >
Follow Ups
References