Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge never knows...
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
legobuff
n00b
n00b


Joined: 12 May 2003
Posts: 20
Location: ~ N 41 08.5?? W 96 01.7??

PostPosted: Tue May 13, 2003 11:35 am    Post subject: emerge never knows... Reply with quote

I seem to be having an issue with emerge.
If I do an
Code:
emerge -p samba

the following is displayed:
Code:
[ebuild   R  ] net-fs/samba-2.2.8a

which tells me that it will Replace the above package correct?

Anyway, I go ahead and do an
Code:
emerge samba
and it completes without any errors. I then type in
Code:
emerge -p samba
to make sure everything was replaced, and emerge again displays:
Code:
[ebuild   R  ] net-fs/samba-2.2.8a

Now this doesnt only happen with samba, it happens with several packages.

I was under the impression that if I emerged a package and then pretend to emerge it again that emerge would report not dependencies. Am I missing something?

Any ideas, or suggestions?
Back to top
View user's profile Send private message
lanark
Apprentice
Apprentice


Joined: 13 Sep 2002
Posts: 175
Location: Buenos Aires

PostPosted: Tue May 13, 2003 11:54 am    Post subject: Reply with quote

that's not an issue.

emerge lets you re-emerge anything you want, for a problem you can had with that package, or if you messed up something with it... whatever.

so, when you try to emerge a package that you already have installed, you get the [ R ] mark, to tell you that you already have it, if you don't have any problem with it or don't have modified it, you don't need to re-emerge it.

when the package has changed, and there is a new version availabe, you will get a [ U ] mark and the indication of which version you have and which is available (all that after an emerge rsync, of course)

Regards,
_________________
·-=: lanark :=-·
Back to top
View user's profile Send private message
legobuff
n00b
n00b


Joined: 12 May 2003
Posts: 20
Location: ~ N 41 08.5?? W 96 01.7??

PostPosted: Tue May 13, 2003 12:03 pm    Post subject: Thanks Reply with quote

Thank you lanark... So if I see an [R] I can safely ignore it until I see a [U].

One more question then, after an emerge, why do some packages show an [R] and others do not?

Thank you again,

-legobuff
Back to top
View user's profile Send private message
StuBear
Apprentice
Apprentice


Joined: 26 Feb 2003
Posts: 157
Location: Melbourne,AUSTRALIA

PostPosted: Tue May 13, 2003 1:01 pm    Post subject: Reply with quote

If you are unsure what version of a program you have installed, you can use
Code:
emerge -s <package>

This will give you some thing like

# emerge -s cdrtools
Searching...
[ Results for search key : cdrtools ]
[ Applications found : 1 ]

* app-cdr/cdrtools
Latest version available: 2.01_alpha14
Latest version installed: 2.01_alpha12
Size of downloaded files: 1,645 kB
Homepage: http://www.fokus.gmd.de/research/cc/glone/employees/joerg.schilling/private/cdrecord.html
Description: A set of tools for CDR drives, including cdrecord.

This shows that there is an upgrade available

# emerge -s openbox
Searching...
[ Results for search key : openbox ]
[ Applications found : 1 ]

* x11-wm/openbox
Latest version available: 2.3.1
Latest version installed: 2.3.1
Size of downloaded files: 398 kB
Homepage: http://icculus.org/openbox/
Description: Openbox is a window manager with an enhanced Blackbox style-engine that supports the KDE and GNOME2 desktop environments and their applications. It provides a familiar environment to Blackbox users with added customizability.

Shows I am up to date with this package.

NOTE: Just because there is an update does NOT mean you have to emerge it. If the current version is working for you and you don't need any fixes or new features in the new version, then you are better off not upgrading.
Back to top
View user's profile Send private message
legobuff
n00b
n00b


Joined: 12 May 2003
Posts: 20
Location: ~ N 41 08.5?? W 96 01.7??

PostPosted: Tue May 13, 2003 1:29 pm    Post subject: Reply with quote

Excellent!

Thank you StuBear
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