Skip to main content
Topic: Upgrading old system and my error upgrading manual pacman (Read 1120 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Upgrading old system and my error upgrading manual pacman

Hi,

I have a very old artix installation.
Code: [Select]
`pacman -Syu`
did not upgrade fully the system hwids is a dependency of eudev.
I tried to upgrade manually udev  but it was impossible.

And finally I try to install pacman only:

Code: [Select]
pacman -S pacman

So I upgraded from pacman 5.2.1-4 to 6.0.1-7
but now pacman gives me:

Code: [Select]
pacman: /usr/lib/libc.so.6:  version `GLIBC_2.33`not found (required by pacman)
pacman: /usr/lib/libc.so.6:  version `GLIBC_2.34`not found (required by pacman)
pacman: /usr/lib/libc.so.6:  version `GLIBC_2.33`not found (required by /usr/lib/libalpm.so.13)

What I do instead of installing from scratch the system?

 

Re: Upgrading old system and my error upgrading manual pacman

Reply #1
Yeah. No simple way after that misery.

You could start livecd, and bootstrap glibc and pacman into your current install.

Or you download the glibc package mentioned in the error and manual extract the content to the right places and hope it works.

Depending of the depencys of glibc and pacman, there could multiple packages wich need this manual work.




Re: Upgrading old system and my error upgrading manual pacman

Reply #4
Thanks, nous and pluto. I will try it. I post the try soon (it's not my main machine so I don't have inmediate access to it)

Re: Upgrading old system and my error upgrading manual pacman

Reply #5
https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/
Get pacman-static, put it in /usr/local/bin and do a full update with it:
Code: [Select]
pacman-static -Syu

I run

Code: [Select]
pacman-static -S pacman bash glibc libarchive curl gpgme artix-mirrorlist gettext gawk coreutils gnupg grep lib32-glibc 
and now I have pacman again operative.

But when I run pacman -Syu I get

Code: [Select]
removing hwids breaks dependency 'hwids' required by eudev

Re: Upgrading old system and my error upgrading manual pacman

Reply #6
And now, after reboot I cannot login (nope X and console).


Re: Upgrading old system and my error upgrading manual pacman

Reply #8
Yes, because you did a partial update, not -Syu as instructed.
https://wiki.archlinux.org/title/system_maintenance#Partial_upgrades_are_unsupported

Now you need a live medium to fix this, there are plenty of threads of how-to in the the forum.

What exactly makes partial upgrades so dangerous?

Re: Upgrading old system and my error upgrading manual pacman

Reply #9
Packages are built against a current snapshot of libraries; upgrading a single package won't probably upgrade the libraries it's built against and (sometimes) a newer soname or function will cause breakage.

Re: Upgrading old system and my error upgrading manual pacman

Reply #10
There is no eudev now, it's udev. When I was looking at the source code for openresolv yesterday the PKGBUILD had a build dep for eudev and I had to comment it out before makepkg -o would complete.