Mailinglist Archive: opensuse-factory (377 mails)

< Previous Next >
Aw: Re: update hangs on Plasma update tool ([opensuse-factory] New Tumbleweed snapshot 20200801)
  • From: ub22@xxxxxxx
  • Date: Mon, 3 Aug 2020 11:09:42 +0200
  • Message-id: <trinity-a550f570-df70-4cdc-8f46-015f8fbc33d6-1596445782925@3c-app-gmx-bap18>
Hi,

Gesendet: Montag, 03. August 2020 um 10:57 Uhr; Von: "Thorsten Kukuk"
On Mon, Aug 03, Jan Engelhardt wrote:

On Monday 2020-08-03 10:31, ub22@xxxxxxx wrote:

Subprocess failed. Error: RPM failed: error: unpacking of archive failed
on file /home: cpio: chmod failed - No such file or directory
error: filesystem-15.5-30.1.x86_64: install failed
error: filesystem-15.5-29.2.x86_64: erase skipped

# ls -l / | grep home
lrwxrwxrwx 1 root root 11 Jun 4 21:50 home -> /home.server/

Isn't this the historic problem of rpm having been unable to deal with
from-symlink and to-symlink changes.. (after all, it is trying
to update/replace it with a drwx /home)

Yes, RPM has problems replacing directories with symlinks.
But in this case it's something else: home is a directory according to the
RPM database, home is a directory in the updated filesystem.rpm, but on
disk is something different.

This error happens with ~/bin and ~/home as symlink.

Normally I fix this error with
# rm ~/bin
# rm /home

after update of filesystem I create the link again

# ln -s /home.server /home
# ln -s /home/allusers/bin ~/bin

But before I must delete the existing pathes (normally they are not empty)

# rmdir /home
# rmdir ~/bin

or if not possible due to existing files inside

# rm -rf /home
# rm -rf ~/bin


Regards
Ulf
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >