You are not logged in.

#1 2017-04-30 21:53:13

kenny96
Member
Registered: 2012-08-18
Posts: 21

[SOLVED] Recover broken packman

I have made a big, stupid mistake. I have installed lib32-icu-59.1 but pacman use libicuuc.so.58 (part of icu-58 lib) so now pacman is broken. Every time I run a pacman command I see this: "error while loading shared libraries: libicuuc.so.58: cannot open shared object file: No such file or directory"
So I can't use pacman to remove the wrong package or reinstall the right one that is located in /var/cache/pacman/pkg

Is there a way to resolve this problem, maybe using the arch Linux install cd?

Last edited by kenny96 (2017-05-01 11:29:47)

Offline

#2 2017-04-30 21:54:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Recover broken packman

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-04-30 23:01:05

loqs
Member
Registered: 2014-03-06
Posts: 18,859

Re: [SOLVED] Recover broken packman

System_maintenance#Partial_upgrades_are_unsupported ( this is why partial upgrades are not supported )
Pacman#pacman_crashes_during_an_upgrade ( also applicable to this situation)

Offline

#4 2017-04-30 23:22:13

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: [SOLVED] Recover broken packman

kenny96 wrote:

Is there a way to resolve this problem, maybe using the arch Linux install cd?

Boot the installation medium, mount the system to /mnt, then use pacman from the installation medium (not via a chroot) to install the package from your package cache with e.g. "pacman -r /mnt -U /mnt/var/cache/pacman/pkg/...".


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2017-05-01 11:28:39

kenny96
Member
Registered: 2012-08-18
Posts: 21

Re: [SOLVED] Recover broken packman

Xyne wrote:

Boot the installation medium, mount the system to /mnt, then use pacman from the installation medium (not via a chroot) to install the package from your package cache with e.g. "pacman -r /mnt -U /mnt/var/cache/pacman/pkg/...".

Thanks it works

Offline

Board footer

Powered by FluxBB