Progress Update On My Linux From Scratch Project

@callpaul.eu

Why not!!!

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!!!

2 Likes

That would be one way to backup. Write it to a DVD
Other way is clonezilla and a usb drive.
You dont want backup software in LFS.

I am having enough trouble with Gentoo. It wants me to update my profile version. It is complicated… I think I will start with a backup.

1 Like

Are you still on 17.0? Auts.. You should update quite often, 23.0 profiles have been available for a while.

1 Like

You might as well trash Gentoo and build again, will not take as long
profile updating can get complicated.

2 Likes

On 17.1
Yes I guess it is long overdue. I simply did not know about profile updates.
Time to learn.

I will try. May learn something.
Trash is a bit drastic… it cant be any more than recompiling a whole profile.

1 Like

Educated yes
But NO not able to do a build myself, not enough time, patience or real interest to do so.

To do the quote
Those who can do,
Those who can’t teach,
Those who can’t teach, teach teachers !

I am now in the last catégorie !

4 Likes

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.

  1. Emaint -a sync
  2. Emerge -avu @system
  3. Dispatch-conf everytime portage is complaining and press u(use new)
  4. Emerge -avuDN --keep-going --backtrack=30 (or more)
  5. If still stuck portage has usually a fix when it gives you errors.
  6. If you have full system prepare for appr 500-700 packages to update.

At this point you might feel that downloading a tarball makes sense.

Sorry if my reply was too negative! I hope it goes well and in the future update weekly😁

1 Like

Sorry, my last message I explained it in wrong order. Here’s wiki for profiled

And here’s the 17.1->23.1

First update system and world and then switch to 23.1.

Been there done that, listen to someone who knows, a reinstall is much easier!!!

I am in no category, I just share info!!!

2 Likes

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.?

3 Likes

Sounds like some of the weather we have been having, you be careful moving that debris.

I sometimes think the whole Gentoo philosophy has changed, I do know a once-a-week update can be wise?

3 Likes

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.

1 Like

I update at least once a month, but I did not know about profile updates.1

1 Like

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.

1 Like

OK. Seems I have been neglecting to read news .

2 Likes

If you are stuck with the update process try to add

–autounmask-backtrack=y

to the emerge -avuDN --keep-going=y @world

This should help if there’s conflicts during building the packets.

2 Likes

@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.

1 Like

You don’t sync first? According to wiki you should sync first. Quoting wiki:

"https://wiki.gentoo.org/wiki/Upgrading_Gentoo

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. "

1 Like

Had over 50 updates for my Gentoo, most were binary packages, except for glibc and some qt updates!!!

1 Like