You are not logged in.

#1 2018-05-02 21:29:26

anselm
Member
Registered: 2017-11-21
Posts: 49

Error while upgrading: not overwriting dir with file /usr/sbin

I try to upgrade my system but I get the following:

(  1/890) upgrading linux-api-headers                                      [##########################################] 100%
(  2/890) upgrading tzdata                                                 [##########################################] 100%
(  3/890) upgrading iana-etc                                               [##########################################] 100%
(  4/890) upgrading filesystem                                             [##########################################] 100%
warning: /etc/nsswitch.conf installed as /etc/nsswitch.conf.pacnew
warning: /etc/profile installed as /etc/profile.pacnew
warning: directory permissions differ on /root/
filesystem: 755  package: 750
error: extract: not overwriting dir with file /usr/sbin
error: problem occurred while upgrading filesystem
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.

What to do?

Offline

#2 2018-05-03 07:03:12

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: Error while upgrading: not overwriting dir with file /usr/sbin

So, you didn't update your system for quite a while, eh? ;-)

Seriously: https://www.archlinux.org/news/binaries … ervention/

You have to do the /bin, /sbin/, /usr/sbin to /usr/bin transition.

Offline

#3 2018-05-03 07:03:51

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: Error while upgrading: not overwriting dir with file /usr/sbin

In general it's a good idea to go through all of the Archlinux announcement and to do, what they tell you to do.. :-)

Offline

#4 2018-05-03 16:59:51

anselm
Member
Registered: 2017-11-21
Posts: 49

Re: Error while upgrading: not overwriting dir with file /usr/sbin

Yes, I haven't updated for a while. But my /usr/sbin contained only 1 file, a softlink for "lxdm". After that I tried again to do the update, and then it worked. However after installing 890 package updates, lxdm refused to start at boot. I had to downgrade: "harfbuzz", "cairo", "pango" and also installing "libxfont" from source (what I had to remove first due to some dependency issue), because it is needed for my nvidia-96xx-dkms driver and xorg-server 1.12. Or else I got symbol lookup errors from the abovementioned packages when running startx manually. After that lxdm still refuse to start at boot, but if I login to terminal and I run "startx" manually, then it starts properly.

Last edited by anselm (2018-05-03 17:16:10)

Offline

#5 2018-05-04 17:37:39

andreas_baumann
Administrator
From: Zurich, Switzerland
Registered: 2017-08-10
Posts: 823
Website

Re: Error while upgrading: not overwriting dir with file /usr/sbin

Did you install lxdm from community? It sounds like you had a locally compiled version of lxdm.
Can you just forcefully reinstall lxdm and see what happens?

Offline

Board footer

Powered by FluxBB