You are not logged in.

#1 2016-06-22 01:54:15

sigma957
Member
Registered: 2009-05-20
Posts: 9

Error loading shared libraries

I haven't used arch in quite a while I did read the news that pacman had to be updated. I did so. Now when I try to run pacman -Syu I get this error message:

pacman: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such file or directory
 ls -l /usr/lib | grep libarchive.so
lrwxrwxrwx  1 root root       20 Sep 20  2012 libarchive.so -> libarchive.so.12.0.4
lrwxrwxrwx  1 root root       20 Sep 20  2012 libarchive.so.12 -> libarchive.so.12.0.4
-rwxr-xr-x  1 root root   605112 Sep 20  2012 libarchive.so.12.0.4

I've searched but can't find how to fix this.

Thanks.

Offline

#2 2016-06-22 02:04:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Error loading shared libraries

Are you running anything from the Testing repo?

Last edited by Scimmia (2016-06-22 02:04:57)

Offline

#3 2016-06-22 02:07:42

sigma957
Member
Registered: 2009-05-20
Posts: 9

Re: Error loading shared libraries

I'm using the default pacman.conf.

Offline

#4 2016-06-22 02:13:11

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Error loading shared libraries

Ah, I didn't read the post well enough. You updated pacman without updating the entire system. This is an unsupported partial update and things like this are expected to happen.

Last edited by Scimmia (2016-06-22 02:13:56)

Offline

#5 2016-06-22 02:15:33

sigma957
Member
Registered: 2009-05-20
Posts: 9

Re: Error loading shared libraries

I had to update pacman first, I had an old 4 something version.

So I did pacman -Sy to get updated packages, then I did pacman -S pacman and it installed pacman 5.0.1-4.

Offline

#6 2016-06-22 02:16:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Error loading shared libraries

No, you didn't have to update pacman first. The news said you had to update your SYSTEM before the deadline.

Read the sticky at the top of this subforum about fixing this, then never, ever run pacman -Sy again.

Offline

#7 2016-06-22 02:26:08

sigma957
Member
Registered: 2009-05-20
Posts: 9

Re: Error loading shared libraries

The sticky info didn't work.

As a matter of fact this line:

sudo pacman -Sf openssl libarchive libfetch pacman || exit 1

crashes my terminal every time.

Offline

#8 2016-06-22 02:29:37

sigma957
Member
Registered: 2009-05-20
Posts: 9

Re: Error loading shared libraries

Also, the arch news states:  we require all users to have updated to at least pacman-5.0.1 before 2016-04-23

It's long past 4/23. It's confusing.

Offline

#9 2016-06-22 02:32:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: Error loading shared libraries

Easiest solution might be to boot an install disk and update the system from there. I would strongly suggest using the ALA to update to a point just before the date in question, then update the system from there.

It's confusing because Arch takes active maintenance. Neglecting it for this long will cause problems. And everybody knows that partial updates are not supported, so what you did is never the answer.

Offline

Board footer

Powered by FluxBB