You are not logged in.
Pages: 1
Topic closed
I've looked at the sparse Multilib Wiki Page and I have googled to no avail for instructions to properly remove the multilib repository and installed packages from it on my system.
pacman -Qs lib32*
Gives me a list of 32 bit packages installed on my machine however I am not versed in how to use a wildcard (*) with pacman -R.
My general idea of how to go about this is a) remove all 32 bit packages, b) comment out the multilib repo in pacman.conf, c) pacman -Syy
Any advice? If I get a working solution I'll edit it into the Wiki Multilib page.
Last edited by headkase (2013-09-19 10:45:15)
Offline
LANG=C pacman -Sl multilib | grep installed | cut -d ' ' -f 2
Does show you a list of installed packages from the multilib repo, although there might be a more efficient method.
Last edited by kaszak696 (2013-09-19 10:18:25)
'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard
Offline
Ok, thank you, that gives me a proper list. Now, how to pass that list to pacman -R?
Offline
By command substitution:
pacman -R `LANG=C pacman -Sl multilib | grep installed | cut -d ' ' -f 2`
Last edited by kaszak696 (2013-09-19 10:26:07)
'What can be asserted without evidence can also be dismissed without evidence.' - Christopher Hitchens
'There's no such thing as addiction, there's only things that you enjoy doing more than life.' - Doug Stanhope
GitHub Junkyard
Offline
Ok,
I ran into troubles with gcc-libs. The solution to that was to
# pacman -S gcc-libs base-devel
Once that was done then I ran your command substitution line and it removed all the 32 bit packages:
# pacman -R `LANG=C pacman -Sl multilib | grep installed | cut -d ' ' -f 2`
Then I commented out multilib in
/etc/pacman.conf
Then
# pacman -Syy
And then in
/var/lib/pacman/sync
I deleted multilib.db.
Then
# pacman -Sc
to remove packages that were no longer installed from the cache.
Thank you very much!
Last edited by headkase (2013-09-19 11:12:41)
Offline
@headkase, thank you for posting your solution. I rarely see anyone who asks a question bother sharing their solution beyond, "I figured it out.". You, sir, are a scholar and a gentle...person.
Offline
This is documented in the wiki now. Please don't necrobump: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Offline
Pages: 1
Topic closed