public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] unmerge meta packages problems
@ 2006-03-25 16:22 Constantine Kardaris
  2006-03-25 16:58 ` Alexander Kirillov
  2006-03-25 18:01 ` Richard Fish
  0 siblings, 2 replies; 4+ messages in thread
From: Constantine Kardaris @ 2006-03-25 16:22 UTC (permalink / raw
  To: gentoo-user

Hi,

i'd like to ask you if it's possible to unmerge the dependencies of a
meta package that installed automatic but have recorded in world file
after a while.
For example, i want to unmerge gnome-light but many dependencies have
already re-emerged without oneshot option and have recorded in world
file. So "emerge -C gnome-light || emerge --depclean" does not help anymore.

Regards,
con
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] unmerge meta packages problems
  2006-03-25 16:22 [gentoo-user] unmerge meta packages problems Constantine Kardaris
@ 2006-03-25 16:58 ` Alexander Kirillov
  2006-03-25 18:02   ` Constantine Kardaris
  2006-03-25 18:01 ` Richard Fish
  1 sibling, 1 reply; 4+ messages in thread
From: Alexander Kirillov @ 2006-03-25 16:58 UTC (permalink / raw
  To: gentoo-user

> i'd like to ask you if it's possible to unmerge the dependencies of a
> meta package that installed automatic but have recorded in world file
> after a while.
> For example, i want to unmerge gnome-light but many dependencies have
> already re-emerged without oneshot option and have recorded in world
> file. So "emerge -C gnome-light || emerge --depclean" does not help anymore.

You have to edit world file manually
and remove everything but the packages you really need
and then run emerge --depclean again.

HTH

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] unmerge meta packages problems
  2006-03-25 16:22 [gentoo-user] unmerge meta packages problems Constantine Kardaris
  2006-03-25 16:58 ` Alexander Kirillov
@ 2006-03-25 18:01 ` Richard Fish
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Fish @ 2006-03-25 18:01 UTC (permalink / raw
  To: gentoo-user

On 3/25/06, Constantine Kardaris <ckardaris@gmail.com> wrote:
> Hi,
>
> i'd like to ask you if it's possible to unmerge the dependencies of a
> meta package that installed automatic but have recorded in world file
> after a while.
> For example, i want to unmerge gnome-light but many dependencies have
> already re-emerged without oneshot option and have recorded in world
> file. So "emerge -C gnome-light || emerge --depclean" does not help anymore.

You can find packages in world that are dependant upon something else
you have installed with a script like this:

for pkg in `cat /var/lib/portage/world` ; do
    count=`equery depends $pkg | grep / | wc -l`
    test "$count" -gt 0 && echo $pkg
done

You can then just remove these packages manually from world, and
depclean will work correctly if you remove any of the dependencies.

-Richard

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] unmerge meta packages problems
  2006-03-25 16:58 ` Alexander Kirillov
@ 2006-03-25 18:02   ` Constantine Kardaris
  0 siblings, 0 replies; 4+ messages in thread
From: Constantine Kardaris @ 2006-03-25 18:02 UTC (permalink / raw
  To: gentoo-user

Alexander Kirillov wrote:
>> i'd like to ask you if it's possible to unmerge the dependencies of a
>> meta package that installed automatic but have recorded in world file
>> after a while.
>> For example, i want to unmerge gnome-light but many dependencies have
>> already re-emerged without oneshot option and have recorded in world
>> file. So "emerge -C gnome-light || emerge --depclean" does not help
>> anymore.
> 
> You have to edit world file manually
> and remove everything but the packages you really need
> and then run emerge --depclean again.
> 
> HTH
> 
yeah it seams there is no other way than manual edit world file...
Thanks even!

con
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-25 18:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-25 16:22 [gentoo-user] unmerge meta packages problems Constantine Kardaris
2006-03-25 16:58 ` Alexander Kirillov
2006-03-25 18:02   ` Constantine Kardaris
2006-03-25 18:01 ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox