Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge never happy with me
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
Sargon
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 90

PostPosted: Wed Jan 29, 2003 8:54 pm    Post subject: emerge never happy with me Reply with quote

Hi

I have a question concerning emerge.

I'm a bit confused about the output I get from emerge in the following situation:

Code:

# emerge -p -deep kde
[ebuild  N   ] sys-devel/gcc-config-1.2.7
[...]


I'm sure I have the package gcc-config already.. So why the 'N', which means 'New'?


Code:

# emerge -p --deep gcc-config
[ebuild   R  ] sys-devel/gcc-config-1.2.7


Interesting.. when I specify the package directly, it only wants to replace it. (same happens w/o the '--deep' option)

And if I skip the -'p' option and let emerge _really_ do its work, and check again, it wants to replace it again, and again and again.

And I have several of these packages, which are installed, but somehow emerge is confused. Ok, I'm sure _I_ am the one who's confused.. :) What am I missing here?

Thanks in advance!

Sargon
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Jan 29, 2003 11:28 pm    Post subject: Reply with quote

Is it a typo, or is there really only one hyphen in your first example? Having -e in there might explain what you are seeing.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Sargon
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 90

PostPosted: Wed Jan 29, 2003 11:39 pm    Post subject: Reply with quote

Hi rac

Quote:

Is it a typo, or is there really only one hyphen in your first example? Having -e in there might explain what you are seeing.


Gosh I feel stupid now... I indeed forgot the 2nd hyphen in my first example... I even tried it two times, but since I copy/pasted the commands... *blushes and hides behind the next tree*

So the 1st "mystery" is solved, but the 2nd remains, right?

Sargon

PS. Incredibly cute avatar :roll:
Back to top
View user's profile Send private message
Matje
l33t
l33t


Joined: 29 Oct 2002
Posts: 619
Location: Hasselt, Belgium

PostPosted: Thu Jan 30, 2003 12:35 am    Post subject: Reply with quote

Off course if you tell emerge to emerge gcc-config, it will just do that? Even if it means replacing it.
_________________
Life is like a box of chocolates... Before you know it, it's empty...
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Thu Jan 30, 2003 1:04 am    Post subject: Reply with quote

As Matje said, the 2nd mystery is that "emerge X" will emerge X, even if the current version is installed. It's doing what you asked it to.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
Twink
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 178
Location: New Zealand

PostPosted: Thu Jan 30, 2003 8:35 am    Post subject: Reply with quote

although maybe a
emerge -u X
would be what you wanted (doesn't that only install if there's a newer version?)
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