SuSE GmbH

SuSE Support Database

Title: Packages in S.u.S.E. Linux 5.0 cannot be installed

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Packages in S.u.S.E. Linux 5.0 cannot be installed

Applicable to
S.u.S.E. version: 5.0

Symptom:

When updating to S.u.S.E. Linux 5.0 (from a TGZ to an RPM system), an error message similar to the following is generated:
warning: /sbin/init.d/xdm saved as /sbin/init.d/xdm.rpmorig
unpacking of archive failed on file /usr/tmp: -9: Operation not permitted
error: aaa_base.rpm cannot be installed
The same sort of message can also occur with files in /usr/X11.

Cause:

In some systems, the path /usr/tmp or /usr/X11 is a directory. During installation of the above packages, rpm tries to make a symbolic link /usr/tmp to the directory /var/tmp, which of course fails, since the path /usr/tmp is already a directory.

These links are not directories because this does not conform to the Filesystem Standard. According to the Filesystem Standard, the /usr directory tree cannot contain writeable files (/usr/tmp being a directory for temporary files must be writeable), since /usr must also be read-only mountable. For this reason, S.u.S.E. Linux makes symbolic links to writeable directories (e.g. /var/tmp).

Solution:

If you want to or must keep these directories, please proceed as follows:
  1. Using YaST, create a partition for /usr/tmp.
  2. Do not mount this partition initially or, better yet, mount it to /usr/tmp2.
  3. After installation, delete the link /usr/tmp.
  4. Make the directory /usr/tmp, or rename the directory /usr/tmp2 to /usr/tmp.
  5. Add an entry in the file /etc/fstab to mount this partition on /usr/tmp, or change the entry for /usr/tmp2.
Or, if you wish to conform to the Filesystem Standard, add some more space to the /var partition (or the / partition, if you don't have a separate partition for /var) and ensure that the link /usr/tmp has been made.

----------

See also:

----------

Keywords: 5.0, RPM, TGZ, PACKAGE, OPERATION NOT PERMITTED, INSTALLATION, YAST

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-maddin_rpm, Copyright SuSE GmbH, Nuremberg, Germany - Version:
SuSE GmbH - Last generated: 07. Oct 1999 17:04:32 by maddin with sdb_gen 1.00.0