View previous topic :: View next topic |
Author |
Message |
Milamber n00b
Joined: 23 May 2003 Posts: 72 Location: Richmond, VA
|
Posted: Mon Jun 23, 2003 11:30 pm Post subject: emerge -up gentoolkit-0.1.28 vs emerge -up gentoolkit |
|
|
Hi,
this might just be a newbie question but I find it really strange.
emerge -up gentoolkit does not work the same way as
emerge -up gentoolkit-0.1.28.
maybe somebody could explain (or point me to the right doc) ?
Quote: | foo Milamber # emerge -up gentoolkit-0.1.28
These are the packages that I would merge, in order:
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "gentoolkit-0.1.28".
!!! Error calculating dependencies. Please correct. |
Quote: | foo Milamber # emerge -up gentoolkit
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-apps/grep-2.5.1-r1 [2.5-r1]
[ebuild U ] app-admin/gentoolkit-0.1.28 [0.1.27] |
|
|
Back to top |
|
|
Phlaegel Apprentice
Joined: 22 May 2003 Posts: 156
|
Posted: Mon Jun 23, 2003 11:48 pm Post subject: |
|
|
Because there's no directory named 'gentoolkit-0.1.28' in /usr/portage/app-admin? (And there shouldn't be...) Portage only wants the directory name, and then it takes care of finding the right version within that directory to install. If you want to install a specific version, you'd have to point to the .ebuild file itself. |
|
Back to top |
|
|
Milamber n00b
Joined: 23 May 2003 Posts: 72 Location: Richmond, VA
|
Posted: Tue Jun 24, 2003 1:08 am Post subject: |
|
|
That's how it might work in the emerge source code. But is that how it should work ?
The following is what I got without the -u option :
Quote: | foo Milamber # emerge -p gentoolkit-0.1.28
These are the packages that I would merge, in order:
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "gentoolkit-0.1.28".
!!! Error calculating dependencies. Please correct. |
Quote: | foo Milamber # emerge -p gentoolkit
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild U ] sys-apps/grep-2.5.1-r1 [2.5-r1]
[ebuild U ] app-admin/gentoolkit-0.1.28 [0.1.27] |
What I have been trying to do is create a list of packages that are in the 'world' class but not in the 'system' class for update. I'm trying to do this via a script. This way, I would like to avoid updating a 'world' package that would require updating a 'system' package.
This would make playing with CFLAGS a bit 'safer' since it wouldn't mess up the stuff that would is necessary for booting/recompiling.
First step is to make a list of packages that are in the output of `emerge -up` world but not in `emerge -up system`. This is how I came up with the gentoolkit-0.1.28 above. Then I could 'emerge --nodeps' all the packages in this list. Or I could pick only those that don't have dependencies in 'emerge -ep system'. |
|
Back to top |
|
|
|