Both!!! I know you are an educated Mr Paul but but do you
really know what it takes to build “Linux”
Most of the Distros, of today, will not even run on my old hardware!!!
Ahh, the classic disease of today’s society, no work ethics, no learning ethics
just build a USB, pop it in and let an installer, do the rest!!!
And how many on this forum can make the boast “BTW I run LinuxFromScratch”
including our leader@abhishek, would love to hear a comment from him!!!
I don’t think it’s gonna be easy road updating the system from 17.1 to 23.1 today. You’re too far behind. My advice:
The news in eselect news list is not even present the switch from 17.1 any more. You need to find it from wiki and follow it first (read it fully first there was something that people didn’t see if they just started from 1 and went it thrue without reading all first, something broke many systems but can’t remember what it was).
EDIT: after emaint -a sync you should emerge portage: emerge -1 sys-apps/portage
When updating system after you have 23.1 running start with updating repos then update system and then try to update world. You might see conflicts and circular dependencies so add --keep-going to emerge so it won’t stop with updates if (when) some packages fail to build.
No problem. Thanks for tips.
Did not get off to a good start… ran the merge world last night and there was a power outage in the middle of it. This morning I inspect the damage… after cleaning up fallen trees and setting up the generator.
I shall probably be forced to heed your advice … after trying and failing.
The Gentoo system is weird… it requires more than regular updates to keep it in shape. Why do they keep changing the profiles.?
Sorry to hear that! Emerge --resume will continue where it stopped.
It’s about 6 years cycle for changing profiles. It’s like a distro upgrade on Ubuntu LTS. But there’s so much changing all the time with rolling release distroes that you need to update often. I update once a week but once a month should also work.
When you do emaint -a sync + emerge -avuDN @world you should see a portage’s message before you accept the packages for update. It usually only has info which packages needs updating but sometimes there’s a message that you should read news before proceeding. In that case you should not proceed with the update before you have read the news.
Type
eselect news read
and proceed with the update after you have made the needed changes. Portage only shows news which affects to your system. So they are always important.
@nevj
I always run emerge -a -uD @system first and then run emerge -avuND @world I have no special need for ‘emaint’ and according to Gentoo the emerge -a -uD @system will keep the Gentoo core updated and the @world just brings in other packages. You could use something like emerge --ask --pretend -avuND @world and take a look-see and install whatever package you may want.
To update all installed packages to the latest available versions, first update the Gentoo repository with emaint:
emaint --auto sync
Or, for short:
emaint -a sync
This may output messages that should be read and followed, notably the news items previously mentioned. If config file updates are pending from a previous update, it may remind to update the config files.
Run emerge to update the whole system, with dependencies:
emerge --ask --verbose --update --deep --newuse @world
Or, with short options:
emerge -avuDN @world
–changed-use may be used in place of --newuse, but only if you do not build binary packages. --changed-use will not trigger reinstallation when disabled USE flags are added or removed from a package. See the Binary package guide.
–with-bdeps=y can be used to update build time dependencies also. "