[gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread KH
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



Re: [gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread AllenJB
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





Re: [gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread Dale
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

:-)  :-)



Re: [gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread KH
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



Re: [gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread Xavier Parizet
On Tue, 05 May 2009 10:00:40 +0200, KH gentoo-u...@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



Re: [gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread Alan McKinnon
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



[solved][gentoo-user] remove a package from world without unmerging?

2009-05-05 Thread KH
Alan McKinnon schrieb:
 
 vi /var/lib/portage/world
 
 followed by intelligent use of the / and dd functions in vi :-)
 

rofl