[arch-general] How to install a group when a package with same name exists?
Hi, Today I wanted to install the group (xorg-apps). But there is a package with the same name. I did not find a way to tell pacman I wanted the group and not the package. I ended doing this: sudo pacman -S `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'` But there must be an easier way. Any thought about this? Regards, -- Cédric Girard
On Fri, 22 Apr 2011 14:32:07 +0200, Cédric Girard <girard.cedric@gmail.com> wrote:
Hi,
Today I wanted to install the group (xorg-apps). But there is a package with the same name. I did not find a way to tell pacman I wanted the group and not the package.
I ended doing this: sudo pacman -S `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'`
But there must be an easier way. Any thought about this?
Regards,
Hm, crap, didn't think of that when I changed the groups and replaced that dummy package... Anyways, I think the only way around this is by making the package disappear from extra.db.tar.gz on your system and then install the xorg-apps group. I'll get around removing xorg-apps soon, there's still a package in the repositories that depends on it.
On Fri, Apr 22, 2011 at 2:37 PM, Jan de Groot <jan@jgc.homeip.net> wrote:
On Fri, 22 Apr 2011 14:32:07 +0200, Cédric Girard <girard.cedric@gmail.com> wrote:
Hi,
Today I wanted to install the group (xorg-apps). But there is a package with the same name. I did not find a way to tell pacman I wanted the group and not the package.
I ended doing this: sudo pacman -S `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'`
But there must be an easier way. Any thought about this?
Regards,
Hm, crap, didn't think of that when I changed the groups and replaced that dummy package...
Anyways, I think the only way around this is by making the package disappear from extra.db.tar.gz on your system and then install the xorg-apps group. I'll get around removing xorg-apps soon, there's still a package in the repositories that depends on it.
OK. Shouldn't there be a way to check conflicts between group and package name then (I don't have anything specific in mind)? -- Cédric Girard
On 04/22/2011 03:32 PM, Cédric Girard wrote:
Hi,
Today I wanted to install the group (xorg-apps). But there is a package with the same name. I did not find a way to tell pacman I wanted the group and not the package.
I ended doing this: sudo pacman -S `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'`
But there must be an easier way. Any thought about this?
Regards, Somewhat offtopic: `pacman -Sgq xorg-apps` has the same effect as `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'`
-- cantabile "Jayne is a girl's name." -- River
good question, the same happens with systemd On Fri, Apr 22, 2011 at 9:18 AM, cantabile <cantabile.desu@gmail.com> wrote:
On 04/22/2011 03:32 PM, Cédric Girard wrote:
Hi,
Today I wanted to install the group (xorg-apps). But there is a package with the same name. I did not find a way to tell pacman I wanted the group and not the package.
I ended doing this: sudo pacman -S `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'`
But there must be an easier way. Any thought about this?
Regards,
Somewhat offtopic: `pacman -Sgq xorg-apps` has the same effect as `pacman -Sg xorg-apps | sed 's!xorg-apps \(.*\)!\1!'`
-- cantabile
"Jayne is a girl's name." -- River
participants (4)
-
cantabile
-
Cédric Girard
-
Jan de Groot
-
Juan Diego Tascón