You are not logged in.

#26 2024-11-02 08:39:01

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

I checked my original notes when I installed Arch in 2022 and even before

sudo mkinitcpio -p linux This worked then as I have no personnel comments against it

Now when I try it again, I get the following
sudo mkinitcpio -p linux
sudo: unable to execute /usr/bin/mkinitcpio: No such file or directory

Not sure if this useful or not but prefer to say

Offline

#27 2024-11-02 08:44:29

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

seth wrote:
seth wrote:

Please use [code][/code] tags.

[trevor@trevor-arch ~]$ /usr/bin/env bash
bash: /usr/bin/env: No such file or directory

There we go.

pacman -Qikk coreutils

And to figure how bad things are overall:

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup

Ouch quite a few errors sad

For the Qikk coreutils
https://pastebin.com/GhwFRyYE

For the -Qkk
https://pastebin.com/VtBwFaaF

Offline

#28 2024-11-02 09:01:01

seth
Member
Registered: 2012-09-03
Posts: 59,010

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

warning: coreutils: /usr/bin/env (No such file or directory)
coreutils: 441 total files, 1 altered file

You just lack that file. Reinstall coreutils.

The other deviations look uncritical.

Online

#29 2024-11-02 09:06:52

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

seth wrote:
warning: coreutils: /usr/bin/env (No such file or directory)
coreutils: 441 total files, 1 altered file

You just lack that file. Reinstall coreutils.

The other deviations look uncritical.

Ran the re-install , it's better now "coreutils: 441 total files, 0 altered files"

Thanks

Offline

#30 2024-11-02 09:17:58

seth
Member
Registered: 2012-09-03
Posts: 59,010

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

Ok, but what about the kernel update? Does mkinitpcio now work (don't forget that you added a lot of debug stuff, you might want to reset that)

Online

#31 2024-11-02 09:46:07

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

Just ran the Syu, and will reboot after posting this message

It certainly looks better
Syu
https://pastebin.com/W0AWELcB/

Mkinitcpio.Log
https://pastebin.com/xxqHaTpv/

Offline

#32 2024-11-02 09:55:53

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

That booted just fine
uname -a is now giving me the correct kernel 6.11.5
I have updated nano /usr/share/libalpm/scripts/mkinitcpio back to it's original form

What was wrong, ? did I do something that I shouldn't have ?

Considering the

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup.

https://pastebin.com/SyTnY5rC/

How can I clean these warnings ? , I've tried re-installing the programs but doesn't seem to do anything

Last edited by Trevor_B (2024-11-02 11:52:48)

Offline

#33 2024-11-02 12:58:34

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

Scimmia wrote:

And unrelated to your current issue, but please read https://wiki.archlinux.org/title/Pacman … nd_Pacsave. You still have the Community repo which hasn't existed for a year and a half.

Hi again

I've been trying to understand the pacman page that you pointed me to
https://wiki.archlinux.org/title/Pacman … d_Pacsave/

I believe that I need to merge the xx file and the xx .pacnew file into one

I have for instance in /etc/pacman.d/  mirrorlist & mirrorlist.pacnew

reading your link
I installed locate (plocate)
ran

sudo updatedb
locate --existing '*.pacnew' '*.pacsave.
grep '\.pacnew\|\.pacsave' /var/log/pacman.log

This has given me a list of the errors I presume I need to correct

I then ran sudo DIFFPROG=nano pacdiff (I use nano not vim)

pacnew file found for /etc/pacman.d/mirrorlist
(V)iew, (M)erge, (S)kip, (R)emove pacnew, (O)verwrite with pacnew, (Q)uit: [v/m/s/r/o/q] m
Would you like to use the results of the merge? [y/n] y
'/tmp/pacdiff-merge-mirrorlist.slj/mirrorlist.merged.ZBx' -> '/etc/pacman.d/mirrorlist'
removed '/etc/pacman.d/mirrorlist.pacnew'
removed '/tmp/pacdiff-merge-mirrorlist.slj/mirrorlist.base.Q14'
removed '/tmp/pacdiff-merge-mirrorlist.slj/mirrorlist.merged.ZBx'
removed directory '/tmp/pacdiff-merge-mirrorlist.slj'

It seems to have worked as I now have just the mirrorlist file

Did IO do this correctly before attempting other modifications ?

Last edited by Trevor_B (2024-11-02 14:30:21)

Offline

#34 2024-11-02 15:15:52

seth
Member
Registered: 2012-09-03
Posts: 59,010

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

How can I clean these warnings ?

Not. Some deviations are perfectly normal.

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

I then ran sudo DIFFPROG=nano pacdiff (I use nano not vim)

I severely doubt that this editor emulation has any kind of diff support, so you could basically just blindly (?) choose between the various files.
https://wiki.archlinux.org/title/List_o … iff,_merge
You might want to use meld? But vimdiff isn't very complicated either.

Online

#35 2024-11-02 15:25:24

Trevor_B
Member
Registered: 2019-12-28
Posts: 115

Re: [Solved] upgrading from kernel 6.11.3 to 6.11.5

Many thanks for the help and input Seth

I'll of course mark this as resolved
Have a great weekend ?

Offline

Board footer

Powered by FluxBB