Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unwanted packages in world
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Thu Jun 27, 2002 6:20 pm    Post subject: Unwanted packages in world Reply with quote

I have been upgrading packages everyday, and there are a bunch of packages that I don't want, but are always included in the world file.

kdegames kdeedu for example, as well as cdrtools (I don't even have a cdr installed). I tried looking at the world file, and none of these packages are listed. I checked the portage manual, and it mentioned "pinning" a package, but I don't want these packages installed at all.

It makes it rough to perform a world upgrade, then rememer to iunmerge unwanted packages...
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 27, 2002 7:28 pm    Post subject: Reply with quote

comment them out in /usr/portage/profiles/<your profile>/packages

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Thu Jun 27, 2002 9:49 pm    Post subject: Reply with quote

klieber wrote:
comment them out in /usr/portage/profiles/<your profile>/packages

--kurt


Code:
cat packages | grep "kde"


It returns nothing...
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Thu Jun 27, 2002 11:48 pm    Post subject: Reply with quote

Yup -- you're right. I didn't realize those only apply to system packages. Sorry 'bout that.

Looks like /usr/portage/profiles/package.mask is your best bet.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Thu Jun 27, 2002 11:51 pm    Post subject: Reply with quote

klieber wrote:
Yup -- you're right. I didn't realize those only apply to system packages. Sorry 'bout that.

Looks like /usr/portage/profiles/package.mask is your best bet.

--kurt


Drat. That gets replaced with each rsync though...
Back to top
View user's profile Send private message
klieber
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 3657
Location: San Francisco, CA

PostPosted: Fri Jun 28, 2002 12:00 am    Post subject: Reply with quote

mellofone wrote:
Drat. That gets replaced with each rsync though...


It kind of has to since different packages get masked/unmasked all the time. however, I see your point. You could simply remove write permissions from the file and I doubt it would get overwritten any more. That might cause more problems than it solved, however.

Another solution might be to include all the files you want to mask in a separate file. Then, after every rsync, do:

Code:
cat myfile.txt >> /usr/portage/profiles/package.mask


That should make things at least a little easier.

I'm moving this thread over to Gentoo Suggestions. I suggest (har har) that you file a feature request on bugs.gentoo.org.

--kurt
_________________
The problem with political jokes is that they get elected
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Fri Jun 28, 2002 2:22 am    Post subject: Reply with quote

Heh. I like sarcasam :)

I will fill out the request. Thanks.
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Fri Jun 28, 2002 12:51 pm    Post subject: Update. Reply with quote

I filed the request and got a response:

Quote:
You can add:

<sys-apps/foo-0.0

to /var/cache/edb/dep/world to do this. Pretty sure that'll work.

If you don't want to upgrade, add:

<=sys-apps/foo-2.0

... and that'll keep the version at 2.0 or below.


Should work :) I will try it and post the results.
Back to top
View user's profile Send private message
mellofone
Apprentice
Apprentice


Joined: 13 Apr 2002
Posts: 287

PostPosted: Tue Jul 02, 2002 12:00 am    Post subject: Reply with quote

It worked, however, there is no /var/cache/edb/dep/world file, it should be /var/cache/edb/world

Otherwise, it worked.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum