Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
emerge --sync should do what you want. If you've done any tinkering inside the /usr/portage directory in order to tweak things, it may get clobbered, but most of us havn't had any need to do that.
emerge --update is equivalent to apt-get --upgrade, which will attempt to upgrade every package on your system to the latest version, which probably isn't what you want. (Set aside at least 24 hours before your first --update...it takes a while).
Check the gentoo forums for a better-informed answer
No, just "emerge portage". It's implied that you want the latest version. If you're unsure, you can put --ask before it and it will confirm its actions with you before doing anything (this is generally a good idea).
The --update option is really only used when you want to upgrade your entire system all at once.
If you're new to Gentoo and portage, you may want to read its fairly concise and helpful man page, and the introduction in the Gentoo handbook:
Before you posted I already did emerge --update portage. So far nothing seems to have broken but after this I get a warning about 8 configuration files not being updated at the end of each emerge after that.
Do you think anything has gone wrong because I used the --update switch? I used the --update switch for updating portage, because the emerge man page mentioned this somewhere.
I haven't noticed any problems so far, but do these warnings mean anything?
I'll try to get you the exact error message later.
--update (-u)
Updates packages to the best version available, which may not always be the highest version number due to masking for testing and development. This will also update direct dependencies which may not be what you want. In general, use this option only in combination with the world or system target.
Having done an "emerge --update packagename" already is no big deal; it may have upgraded a few dependencies too.
The messages about configuration files being out of date are pretty routine; Portage is waiting for you to run the "etc-update" command to sync newly downloaded configuration files with already existing ones. It makes you do this yourself so it doesn't accidentally clobber any of your settings.
that is the tricky thing. i, personally, run a differ script to see what the new file brings. if it is something that i consider not important i just delete the file. otherwise i overwrite the old one.
the important thing, imho, is give it a look. sometimes directories are changed and other weird things. you have nothing to fear about taking a look. save your old files and check if the new one brings something new.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.