You are not logged in.
Today I removed splashy-theme-darch, splashy, directfb and initscripts-splashy. I also commented out the line about splashy in /etc/rc.conf before removing those packages. Now I don't have /etc/rc.conf anymore! I tried to restore the basic rc.conf by reinstalling its package, but:
[root@matrux ~]# pacman -Qo /etc/rc.conf
error: failed to read file '/etc/rc.conf': No such file or directory
[root@matrux ~]# touch /etc/rc.conf
[root@matrux ~]# pacman -Qo /etc/rc.conf
error: No package owns /etc/rc.conf
Who owns /etc/rc.conf?
Last edited by cemsbr (2009-07-20 15:15:56)
Offline
/etc/rc.conf is owned by initscripts
Offline
Thank you. I didn't have this package. Such a important one shouldn't it be a dependency?
Offline
You had initscripts-splashy which also owns it.
Offline
So initscripts-splashy replaced initscripts. Unfortunately removing initscripts-splashy with "pacman -Rcsn" didn't show any dependency problem.
Offline
Because no other package you had installed depended on initscripts, thus no conflict. I feel your pain though, I did the same thing the first time around.
Last edited by thayer (2009-07-20 15:09:42)
thayer williams ~ cinderwick.ca
Offline
Maybe there should be a meta-package like "archlinux-core" to avoid this.
Offline
Maybe there should be a meta-package like "archlinux-core" to avoid this.
You mean like the base group?
Offline
cemsbr wrote:Maybe there should be a meta-package like "archlinux-core" to avoid this.
You mean like the base group?
No, I didn't. initscripts already belongs to the base group. I meant a meta-package, a package that only has dependencies. The problem with groups is that "pacman -Rcsn" (is there a more informative set of options?) doesn't warn the package belongs to a group (try "pacman -Rcsn initscripts", for example). In other words, nothing depends on initscripts, and dependencies are consistent without this package, but archlinux won't work as expected on next reboot.
I always remove packages with "Rcsn" to check if I'm going to break something. But this precaution wasn't enough when removing initscripts-splashy, so I lost /etc/rc.conf.
How can I know if a given package belongs to a group?
Offline
You shouldn't use -n because it removes all files even if they are in the backup array. Only using -R also cries if that package has deps.
Offline
I can see that initscripts-splashy backs up /etc/rc.conf. I think pacman should restore those backups when the program is uninstalled or at least ask or remind the user about it. Perhaps it does?
Last edited by Lars Stokholm (2009-07-20 17:53:35)
Offline
I can see that initscripts-splashy backs up /etc/rc.conf. I think pacman should restore those backups when the program is uninstalled or at least ask or remind the user about it. Perhaps it does?
Probably I've deleted the backup long ago. Sometimes I search for *.pacnew and *.pacsave, apply some changes and then delete them. I shouldn't have found a reason to keep rc.conf and rc.conf.pacsave (or something like that).
Now I'm wondering if I have deleted other backups...
Offline