Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-18-2006, 11:11 PM
|
#1
|
Member
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394
Rep:
|
emerge sync (update portage)
Very easy question but I cannot find the answer in the docs (perhaps too simple). When I am updating portage the docs say to however I am doing this and receiving a message saying
Quote:
* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please do so and then update ALL of your configuration files.
|
But this is what I thought I was doing.....I can emerge --update world but I assumed that was only updating installed files not portage or system files .
|
|
|
03-18-2006, 11:36 PM
|
#2
|
Member
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372
Rep:
|
emerge sync doesn't update any packages on your system... think of it only as updating what's available in the 'catalogue'..
emerge world is the process which does the actual updating.
I suggest you review the gentoo doc's here, expecially the portage section. They are very helpful.
cheers 
|
|
|
03-18-2006, 11:45 PM
|
#3
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep: 
|
Yes, unfortunately portage is both the name of the package management system on Gentoo (including emerge, among others) and the name of the list of packages available for installation. When you see the "an update to portage is available" message, it is encouraging you to upgrade your package management software, either through 'emerge --oneshot portage' or through 'emerge -uD world'.
|
|
|
03-18-2006, 11:46 PM
|
#4
|
Member
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372
Rep:
|
I just re-read your post and I think I may have misunderstood your question
I think you're what is confusing you (and yeah I can see how it can) ...is that while `emerge sync` populates the portage tree (w/ ebuilds) ..`emerge portage` updates the app/structure itself.
cheers 
|
|
|
03-18-2006, 11:49 PM
|
#5
|
Member
Registered: Nov 2004
Location: ON, CANADA
Distribution: ubuntu, RHAS, and other unmentionables
Posts: 372
Rep:
|
woops, didn't notice Matir's comments before I re-responded (so - yeah what Matir said  )
|
|
|
03-19-2006, 01:14 AM
|
#6
|
Member
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394
Original Poster
Rep:
|
yes it was too simple "emerge portage" was the solution, thanks
|
|
|
03-19-2006, 01:22 AM
|
#7
|
Member
Registered: Dec 2005
Location: Chicago
Distribution: Gentoo, Slackware, and FreeBSD
Posts: 38
Rep:
|
When you do the normal upgrade after syncing your portage tree, it will upgrade portage and restart the emerge. You don't "have" to seperately upgrade portage.
|
|
|
03-20-2006, 05:33 PM
|
#8
|
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873
|
I believe that this is what you are looking for.
Code:
$ emerge --sync
$ emerge --update world
Alternately
Code:
$ emerge --sync
$ emerge --update --deep world
These commands will update the portage tree and update all applications on the system that are managed by portage. This includes security updates, bugfixes, and feature enhancements.
Last edited by stress_junkie; 03-20-2006 at 05:35 PM.
|
|
|
03-20-2006, 05:58 PM
|
#9
|
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687
Rep:
|
From the message after emerge --sync finished:
Quote:
...that you update portage now, before any other packages are updated. ...
|
The first thing to do would be:
emerge -a sys-apps/portage
to update portage as suggested.
This will only take seconds...
Only then run any other emerge operation like:
emerge -au world
|
|
|
03-20-2006, 06:26 PM
|
#10
|
Member
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394
Original Poster
Rep:
|
I updated portage but cannot complete update world due to one package. I receive a similar error to this .
Quote:
!!! Digest verification Failed:
!!! /usr/portage/distfiles/db-4.2.52.tar.gz
!!! Reason: Failed on MD5 verification
|
Is there a way around so I can complete
|
|
|
03-20-2006, 06:38 PM
|
#11
|
Senior Member
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687
Rep:
|
The digest (integrity-check) failed - might have been a corrupted download.
delete the file db-4.2.52.tar.gz from /usr/portage/distfiles and download it again with:
emerge -af sys-libs/db
(I believe that's what it is you wanted to emerge, but failed...)
and then start the emerge command you were originally running again -
or download it "by hand" and copy it there
|
|
|
All times are GMT -5. The time now is 09:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|