You are not logged in.
To clean up my system, i ran
pacman -Rcsn $(pacman -Qqdt)which removed (among others) iproute, leaving my system without network after reboot.
That was not intended, of course. Is it generally unsafe to run above command? Or is there a problem?
Since that command removed quite a bunch, i'm worried, it removed even more needed packages...
Offline
As a general rule, pacman -Rc is never safe, you always want to pay very close attention when using it. -Rsn is fine.
Did you not look at the list to be removed before doing it? Have you been using pacman's --asdep switch and somehow told pacman that iproute2 is installed as a dep? As part of base, it should have been explicitly installed and the command you ran shouldn't have touched it.
Last edited by Scimmia (2013-10-21 17:55:28)
Offline
pacman -Rc is never safe, you always want to pay very close attention when using it. -Rsn would have been fine.
Did you not look at the list to be removed before doing it?
I hace to admit, i did not.
Have you been using pacman's --asdep switch and somehow told pacman that iproute2 is installed as a dep?
I'm pretty sure, i didn't do anything like that.
As part of base, it should have been explicitly installed and the command you ran shouldn't have touched it.
That's what i thought.
Offline
Check the log to see which package were removed an reinstall them if needed.
Offline
I had an extensive look at the list of removed packages. For many of them however,
i don't know what they're good for, even after reading the description. The only package
i found worth reinstalling was libtool. (I assume, this one also shouldn't have been removed
in the first place).
Just for the fun of it, i ran
pacman --needed -S basewhich wanted to install openresolv, cronie and netctl. But these are not part of the removed packages.
What about that?
I also ran above command for base-devel, which resulted in a conflict between binutils and binutils-multilib.
Offline
openresolv is a dependency for netctl. netctl and cronie are members of the 'base' group.
You don't have to have the whole 'base' installed although a cron implementation is useful.
Offline
openresolv is a dependency for netctl. netctl and cronie are members of the 'base' group.
You don't have to have the whole 'base' installed although a cron implementation is useful.
If you are going to start removing packages that are in the base group, you should know exactly what you are doing. There are indeed some packages that are not required for your system to function (one example is that I always remove vi and nano since I am a vim user), but if you don't knw precisely what each package is and what purpose it serves, I wouldn't play with it.
Just be careful and don't take the presence of base packages lightly.
Offline