Linux - SoftwareThis 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.
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.
Very easy question but I cannot find the answer in the docs (perhaps too simple). When I am updating portage the docs say to
Quote:
emerge sync
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 .
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.
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'.
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.
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.
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.
...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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.