Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge -up gentoolkit-0.1.28 vs emerge -up gentoolkit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Milamber
n00b
n00b


Joined: 23 May 2003
Posts: 72
Location: Richmond, VA

PostPosted: Mon Jun 23, 2003 11:30 pm    Post subject: emerge -up gentoolkit-0.1.28 vs emerge -up gentoolkit Reply with quote

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
View user's profile Send private message
Phlaegel
Apprentice
Apprentice


Joined: 22 May 2003
Posts: 156

PostPosted: Mon Jun 23, 2003 11:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
Milamber
n00b
n00b


Joined: 23 May 2003
Posts: 72
Location: Richmond, VA

PostPosted: Tue Jun 24, 2003 1:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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