You are not logged in.

#1 2013-03-12 23:34:22

glenn69
Member
Registered: 2007-09-26
Posts: 125

How do I remove unity?

I installed unity as described in the wiki, but no longer want it on my system.  In fact, some of the files are preventing regular pacman updates.

How do I remove all the unity files safely.
I initially installed via:

$ pacman -Suy
$ pacman -S $(pacman -Slq unity)

with the following changes to pacman.conf

[unity]
Server = http://unity.xe-xe.org/$arch

[unity-extra]
Server = http://unity.xe-xe.org/extra/$arch

Offline

#2 2013-03-12 23:44:02

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,020

Re: How do I remove unity?

-Rs is like backwards -S, so "pacman -Rs $(pacman -Slq unity)" should reverse what you did.

Offline

#3 2013-03-12 23:50:10

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

Re: How do I remove unity?

glenn69 wrote:

How do I remove all the unity files safely.
I initially installed via:

$ pacman -Suy
$ pacman -S $(pacman -Slq unity)
$ pacman -Rsn $(pacman -Slq unity)

How safe that is entirely depends on what's in the unity repo that you added. In general you should know what you are installing instead of just blindly installing everything in a given repo. It also messes up the distinction between targets and dependencies.

Check what it wants to remove when you run that command. If you need to edit it, create a list first

pacman -Slq unity > list.txt

and remove what you want to keep from the list, then run

pacman -Rsn $(cat list.txt)

My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone

Offline

#4 2013-03-12 23:54:59

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: How do I remove unity?

There could also be unity-packages that replace official packages needed for your installation. Then first try to use "pacman -Rsu" to keep required packages. pacman will warn you about those and then you'll have to replace them manually with the original package.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB