View previous topic :: View next topic |
Author |
Message |
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Thu Jun 27, 2002 6:20 pm Post subject: Unwanted packages in world |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 27, 2002 7:28 pm Post subject: |
|
|
comment them out in /usr/portage/profiles/<your profile>/packages
--kurt _________________ The problem with political jokes is that they get elected |
|
Back to top |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Thu Jun 27, 2002 9:49 pm Post subject: |
|
|
klieber wrote: | comment them out in /usr/portage/profiles/<your profile>/packages
--kurt |
Code: | cat packages | grep "kde" |
It returns nothing... |
|
Back to top |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Thu Jun 27, 2002 11:48 pm Post subject: |
|
|
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 |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Thu Jun 27, 2002 11:51 pm Post subject: |
|
|
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 |
|
|
klieber Bodhisattva
Joined: 17 Apr 2002 Posts: 3657 Location: San Francisco, CA
|
Posted: Fri Jun 28, 2002 12:00 am Post subject: |
|
|
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 |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Fri Jun 28, 2002 2:22 am Post subject: |
|
|
Heh. I like sarcasam
I will fill out the request. Thanks. |
|
Back to top |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Fri Jun 28, 2002 12:51 pm Post subject: Update. |
|
|
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 |
|
|
mellofone Apprentice
Joined: 13 Apr 2002 Posts: 287
|
Posted: Tue Jul 02, 2002 12:00 am Post subject: |
|
|
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 |
|
|
|