Correcting errors

I wanted to check something, in fact I was planning to go over the startup files again, and found I couldn’t log in/on as lfs. Panicked.

A new Google AI Mode session. Log on as root with sudo su – and look through the files for errors. I found a typo in .bashrc, a missing / before /mnt and corrected it with nano.

This Google AI Mode session strongly emphasized that the way to log in as root is

sudo su -

The previous Google AI Mode session had directed me to change the permission for all of $LFS to lfs:lfs. The current session confirmed that was wrong and generally why.

It had me set $LFS directories permissions back to before 4.3. Then use the code in the manual. PLUS /sources as lfs:lfs with an explanation and direction about groups that is not in the manual. I’m going to do a separate post about this and update old posts.

It confirmed that I should not update Ubuntu anymore until after LFS. Here I somewhat panicked and let it tell me things to do. I really have to get more deliberate about what I do because it is not even getting documented properly.

I ran version-check.sh again. I informed Google AI Mode that I’d saved it to a file when I typed it in previously. It instructed me to make the file executable

chmod +x version-check.sh

and how to run it was

/version-check.sh

Can you tell that I don’t know anything about scripting?

Version-check.sh showed everything OK.

Next Google AI Mode confirmed that I shouldn’t update Ubuntu again until after LFS.

In the GUI, set “Never” in the Updates tab of Software and Updates.

But also do it in the command line for apt and snap. I just followed what it said, and got messages saying something about snap that confirmed how I had turned snap updates permanently off previously. I noted somewhere (on that machine and not in easily accessible notes) how to turn apt updates on again.

I’d been ignoring updates for these two sessions for which I had gotten:

Some message about partial updates etc. I still wonder if this has to do with dash/bash.
A constantly jiggling icon

Google AI Mode told me to turn off the jiggling icon with pkill, which didn’t work, and then there were some confusing instructions that I ignored as I was at the end of my ability for the day

–It actually feels like Google AI Mode pushes me past what I want to be doing. This is weird. However at least I did finish Chapter 4 except for the rabbit hole.–

and the icon did stop jiggling after I clicked around a bit, reading its message about partial updates. I may have to follow up with this but I guess we’ll see, next time I boot that thing.

Miscellaneous notes:

How many processors / cores?

nproc

Response is “4”. I guess I should have known this. It’s also shown in version-check.sh.

4.5:

powerprofilesctl

Showed my choices are balanced (current) and power-saver. Saw this also in the GUI. Learned somewhere that Ubuntu is not one of the distributions that use tuned-adm.

This doesn’t seem like something I even want to mess with.