You are not logged in.

#1 2012-06-13 11:20:02

vince_arch
Member
Registered: 2012-06-08
Posts: 8

[solved] system broken, need help please

Hi !

I did some terrible mistakes and now my dear Arch is quite sick (no upgrade possible, some dependencies broken, weird things happening at fullmoon, and so on).

To repair that, I dont want to make a fresh install *again*. I'm rather looking for a fast and safe way to remove every lib32-* packages with dependencies, config file, everything that depends on them, etc.
Is it possible ?

Thanks !

Last edited by vince_arch (2012-06-13 12:20:00)

Offline

#2 2012-06-13 11:45:57

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [solved] system broken, need help please

Are you still able to use pacman? Something among the lines of the following should do the trick I reckon:

# pacman -Rs $(pacman -Q | grep lib32 | cut -d ' ' -f 1)

Burninate!

Offline

#3 2012-06-13 12:00:02

vince_arch
Member
Registered: 2012-06-08
Posts: 8

Re: [solved] system broken, need help please

Yes pacman still works.

Clever trick, I didn't know this 'cut' until now, thanks a lot !

But... it doesn't work because of a bunch of packages depending on some lib32. Will remove them manually anyway.

edit : no, there are too many packages to remove manually because of 'dependencies cascading' ( hundreds yikes ). No way for pacman to remove every packages that depends on the ones you actually ask it to remove ? I can't find anything like that in man page hmm the -c param want to remove too many things, (systemd, gcc, pacman itself...), weird since it has nothing to do with lib32 i think ( ? )

Last edited by vince_arch (2012-06-13 12:09:47)

Offline

#4 2012-06-13 12:19:20

vince_arch
Member
Registered: 2012-06-08
Posts: 8

Re: [solved] system broken, need help please

Solved. gcc-libs-multilib was the problem. I manually replaced it with gcc-libs from [core], then used

# pacman -Rcs $(pacman -Q | grep lib32 | cut -d ' ' -f 1)

and now everything works (as) fine (as it can for now).

Thanks Gcool.

Last edited by vince_arch (2012-06-13 12:32:08)

Offline

Board footer

Powered by FluxBB