public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] remove a package from world without unmerging?
@ 2009-05-05  7:44 KH
  2009-05-05  7:47 ` AllenJB
  2009-05-05  8:55 ` Alan McKinnon
  0 siblings, 2 replies; 7+ messages in thread
From: KH @ 2009-05-05  7:44 UTC (permalink / raw
  To: gentoo-user

Hi,

I am searching for the opposite of emerge --noreplace <atom>. I forgot
-1 and now the package is part of the world file. It does not belong
there, it is a dependency I wanted to update. I don't want to run
--unmerge and -av1 again. What can I do?

kh



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

* Re: [gentoo-user] remove a package from world without unmerging?
  2009-05-05  7:44 [gentoo-user] remove a package from world without unmerging? KH
@ 2009-05-05  7:47 ` AllenJB
  2009-05-05  7:56   ` Dale
  2009-05-05  8:55 ` Alan McKinnon
  1 sibling, 1 reply; 7+ messages in thread
From: AllenJB @ 2009-05-05  7:47 UTC (permalink / raw
  To: gentoo-user

 From Portage 2.2 rc30 onwards you can use --deselect. This ability is 
not present in any previous version.

Until you're using Portage 2.2, the other alternative is to manually 
edit the world file (MAKE A BACKUP FIRST!)

AllenJB

KH wrote:
> Hi,
> 
> I am searching for the opposite of emerge --noreplace <atom>. I forgot
> -1 and now the package is part of the world file. It does not belong
> there, it is a dependency I wanted to update. I don't want to run
> --unmerge and -av1 again. What can I do?
> 
> kh
> 



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

* Re: [gentoo-user] remove a package from world without unmerging?
  2009-05-05  7:47 ` AllenJB
@ 2009-05-05  7:56   ` Dale
  2009-05-05  8:00     ` KH
  0 siblings, 1 reply; 7+ messages in thread
From: Dale @ 2009-05-05  7:56 UTC (permalink / raw
  To: gentoo-user

AllenJB wrote:
> From Portage 2.2 rc30 onwards you can use --deselect. This ability is
> not present in any previous version.
>
> Until you're using Portage 2.2, the other alternative is to manually
> edit the world file (MAKE A BACKUP FIRST!)
>
> AllenJB
>

I have done this a few times as well and it worked fine.  Just leave it
nice and clean, remove the whole line instead of leaving a blank line.

Also, some nerd seems to have made it in alphabetical order too.  It
should be easy to find. 

Dale

:-)  :-)



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

* Re: [gentoo-user] remove a package from world without unmerging?
  2009-05-05  7:56   ` Dale
@ 2009-05-05  8:00     ` KH
  2009-05-05  8:03       ` Xavier Parizet
  0 siblings, 1 reply; 7+ messages in thread
From: KH @ 2009-05-05  8:00 UTC (permalink / raw
  To: gentoo-user

Dale schrieb:
> AllenJB wrote:
>> From Portage 2.2 rc30 onwards you can use --deselect. This ability is
>> not present in any previous version.
>>
>> Until you're using Portage 2.2, the other alternative is to manually
>> edit the world file (MAKE A BACKUP FIRST!)
>>
>> AllenJB
>>
> 
> I have done this a few times as well and it worked fine.  Just leave it
> nice and clean, remove the whole line instead of leaving a blank line.
> 
> Also, some nerd seems to have made it in alphabetical order too.  It
> should be easy to find. 
> 
> Dale
> 
> :-)  :-)
> 
Hi,

thanks for the answer. One more question: Where exactly is the world
file? Is it in /var/db/pkg/ ?

kh



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

* Re: [gentoo-user] remove a package from world without unmerging?
  2009-05-05  8:00     ` KH
@ 2009-05-05  8:03       ` Xavier Parizet
  0 siblings, 0 replies; 7+ messages in thread
From: Xavier Parizet @ 2009-05-05  8:03 UTC (permalink / raw
  To: gentoo-user

On Tue, 05 May 2009 10:00:40 +0200, KH <gentoo-user@konstantinhansen.de>
wrote:
> Dale schrieb:
>> AllenJB wrote:
>>> From Portage 2.2 rc30 onwards you can use --deselect. This ability is
>>> not present in any previous version.
>>>
>>> Until you're using Portage 2.2, the other alternative is to manually
>>> edit the world file (MAKE A BACKUP FIRST!)
>>>
>>> AllenJB
>>>
>> 
>> I have done this a few times as well and it worked fine.  Just leave it
>> nice and clean, remove the whole line instead of leaving a blank line.
>> 
>> Also, some nerd seems to have made it in alphabetical order too.  It
>> should be easy to find. 
>> 
>> Dale
>> 
>> :-)  :-)
>> 
> Hi,
> 
> thanks for the answer. One more question: Where exactly is the world
> file? Is it in /var/db/pkg/ ?

/var/lib/portage/world

> 
> kh

-- 
      Xavier Parizet
YaGB :   http://gentooist.com
GPG  :    DC81 6FEE 6EBE FCE4 
1C18 202F E575 4A5D 036D 1408



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

* Re: [gentoo-user] remove a package from world without unmerging?
  2009-05-05  7:44 [gentoo-user] remove a package from world without unmerging? KH
  2009-05-05  7:47 ` AllenJB
@ 2009-05-05  8:55 ` Alan McKinnon
  2009-05-05  8:59   ` [solved][gentoo-user] " KH
  1 sibling, 1 reply; 7+ messages in thread
From: Alan McKinnon @ 2009-05-05  8:55 UTC (permalink / raw
  To: gentoo-user

On Tuesday 05 May 2009 09:44:58 KH wrote:
> Hi,
>
> I am searching for the opposite of emerge --noreplace <atom>. I forgot
> -1 and now the package is part of the world file. It does not belong
> there, it is a dependency I wanted to update. I don't want to run
> --unmerge and -av1 again. What can I do?

vi /var/lib/portage/world

followed by intelligent use of the "/" and "dd" functions in vi :-)

-- 
alan dot mckinnon at gmail dot com



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

* [solved][gentoo-user] remove a package from world without unmerging?
  2009-05-05  8:55 ` Alan McKinnon
@ 2009-05-05  8:59   ` KH
  0 siblings, 0 replies; 7+ messages in thread
From: KH @ 2009-05-05  8:59 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon schrieb:
> 
> vi /var/lib/portage/world
> 
> followed by intelligent use of the "/" and "dd" functions in vi :-)
> 

rofl



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

end of thread, other threads:[~2009-05-05  8:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-05  7:44 [gentoo-user] remove a package from world without unmerging? KH
2009-05-05  7:47 ` AllenJB
2009-05-05  7:56   ` Dale
2009-05-05  8:00     ` KH
2009-05-05  8:03       ` Xavier Parizet
2009-05-05  8:55 ` Alan McKinnon
2009-05-05  8:59   ` [solved][gentoo-user] " KH

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