You are not logged in.

#1 2023-10-09 16:20:21

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

kernel package update failure arch Linux

Hi I am Rupesh from India and I have a system with Intel i3 10th gen 10100 processor and Asus h510 me motherboard. I have installed arch Linux on my system properly four months ago and upgraded upto four times successfully but now I can't update my system especially regarding the kernel.

The last kernel updated version was 6.5.3 but now the current kernel version available is 6.5.6.

Previously to upgrade my system I issued the following command

$> sudo pacman -Syu

After issuing the above command all the packages including kernel and Linux firmware are updated.

At present I have entered the above command a number of times but the kernel is not updated to latest version.

After a number of retries finally I have downloaded Linux-6.5.6 and Linux-headers-6.5.6 packages manually and installed them manually.

At present the system is not running well I mean when I start any application like lx task manager or gnome system monitor it is taking some time and previously his was not the case.

I think that remaining other packages like kernel are not updated properly.

I thought that there's some problem regarding package database and so I removed files under the directory /var/lib/pacman/sync and issued the update command and still there is no use.

After a number of retries I have installed arch Linux freshly from the beginning and issued the update command but unfortunately the kernel was updated to version 6.5.3 not to 6.5.6.

Another thing to mention is once I have logged into my system as root user from cli and it has shown message as kindly update your firmware using the command fwupdmgr update.

So from my admin account I issued the following commands

sudo fwupdmgr refresh

sudo fwupdmgr update

Is there any text need to be added to the file/etc/pacman.conf so that the update process complete properly.

Kindly try to suggest how to upgrade my system properly.

Regards,
Rupesh.

Offline

#2 2023-10-09 17:36:50

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,791

Re: kernel package update failure arch Linux

At present I have entered the above command a number of times but the kernel is not updated to latest version.

What does that mean?

uname -a
pacman -Qs kernel
file /boot/vmlinux-linux
cat /proc/cmdline
lsblk -f

Chances are that you're booting an old kernel because you're not mounting the /boot partition before updating the kernel?

Online

#3 2023-10-10 01:11:09

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

What does that mean?

uname -a
pacman -Qs kernel
file /boot/vmlinux-linux
cat /proc/cmdline
lsblk -f

Chances are that you're booting an old kernel because you're not mounting the /boot partition before updating the kernel?

At present I have installed kernel 6.5.6 and it's header packages manually.

After one week I think new kernel say 6.5.7 may be available in Pacman repository and so when I issue the update command and update the system and finally check the kernel version using 'uname -a". The output will be as follows.

uname -a

Arch Linux 6.5.6 x86_64 smp preempt.

So the conclusion is that the latest kernel 6.5.7 is not fetched from pacman repository and installed.

The same thing is happening for other packages also.

Offline

#4 2023-10-10 01:38:01

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,645

Re: kernel package update failure arch Linux

So you don't know if it's available, don't bother checking, and assume there's a failure when it's not updated?

Offline

#5 2023-10-10 02:02:55

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

When I issue the update command the output is as follows

pacman -Syu 

core is upto date
extra is upto date
community is upto date

Nothing to do.

Offline

#6 2023-10-10 02:08:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,645

Re: kernel package update failure arch Linux

And you're expecting...what? It to update to a kernel that the upstream kernel maintainer hasn't released yet?

Last edited by Scimmia (2023-10-10 02:09:21)

Offline

#7 2023-10-10 02:36:26

dakota
Member
Registered: 2016-05-20
Posts: 415

Re: kernel package update failure arch Linux

Are you describing a current problem? Or a problem that existed in the past which you 'fixed' by running 'manual' commands?

The reason I ask is that your system seems to be up-to-date. (And if it's not, then you need to check the status of your mirrors.)

In either case, it would be helpful if you provided some actual output. You could start by posting the complete information that Seth asked for:

uname -a
pacman -Qs kernel
file /boot/vmlinux-linux
cat /proc/cmdline
lsblk -f

Also, please explain what means...

rupeshforu3 wrote:

After a number of retries finally I have downloaded Linux-6.5.6 and Linux-headers-6.5.6 packages manually and installed them manually.

Cheers,


"Before Enlightenment chop wood, carry water. After Enlightenment chop wood, carry water." -- Zen proverb

Offline

#8 2023-10-10 11:51:30

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

Hi here the main issue is not all mirrors of arch Linux consists of latest packages.

Many of the mirrors still consists of old packages.

For example the mirror I am using to update my system has not been synced to the main mirror.

I have used reflector utility to get the 20 active mirrors and saved the output to the file /etc/pacman.d/mirrorlist.

After that I have deleted all the files from /etc/pacman.d/gpg and /var/lib/pacman/sync directories.

Finally I issued the update command pacman -Syu.

Now I am able to get latest packages released by arch linux community.

Offline

#9 2023-10-10 12:14:30

loqs
Member
Registered: 2014-03-06
Posts: 18,823

Re: kernel package update failure arch Linux

rupeshforu3 wrote:

After that I have deleted all the files from /etc/pacman.d/gpg and /var/lib/pacman/sync directories.

If you meant /etc/pacman.d/gnupg/ instead of /etc/pacman.d/gpg then that should be being removed every update and installing packages without recreating pacman's keyring packages means packages can only be installed with signature verification disabled.
Why delete /var/lib/pacman/sync?  If the sync databases are corrupted you can force them to be downloaded with pacman -Syyu.

Last edited by loqs (2023-10-10 12:15:19)

Offline

#10 2023-10-15 17:33:06

cheray
Member
Registered: 2010-03-18
Posts: 3

Re: kernel package update failure arch Linux

Hello at all,

i had the same Problem: no Kernel-update from 6.5.3 to 6.5.7

My solution was: Looking at the Mirrorlist and use the newest (mirrorlist.pacman)

After changing the list for your needs (uncomment your country-servers)  a     pacman -Syyu     does the job ;-)

Hopefully helps!


System: 32 × AMD Ryzen 9 5950X 16-Core Processor, 32GB RAM, NVIDIA GeForce RTX 3060/PCIe/SSE2, QT5, X11, Linux latest-ARCH

Offline

#11 2023-10-15 18:44:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,791

Online

#12 2023-10-17 06:13:08

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

As I said previously many mirrors still consists of old packages and they are not synced to main mirror.

Offline

#13 2023-10-17 06:56:38

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: kernel package update failure arch Linux

So file that to the maintaners of the "many mirrors".

Offline

#14 2023-10-17 13:17:30

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

Here some of the mirrors and not synced and even they don't have the latest kernel.

Those mirrors are synced partially and so if the person who use those mirrors update their system may lead to system crash and performance issues.

Anyone can use the main mirror and I have tried but unfortunately package download failed.

Last edited by rupeshforu3 (2023-10-17 13:19:01)

Offline

#15 2023-10-17 13:19:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,645

Re: kernel package update failure arch Linux

This is definitely going nowhere. rupeshforu3, provide specifics or don't bother.

Offline

#16 2023-10-17 13:24:06

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

At present my system is working properly because I got all the latest packages from Arch Linux community. Here I have used another active mirror through reflector tool.

But there are many people who neglect this issue and so I am just giving warning to update their system through active mirror.

Offline

#17 2023-10-17 13:26:16

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,645

Re: kernel package update failure arch Linux

And you keep spouting bullshit about partially updated mirror and vague references to 'package download failed' and things like that. Stop unless you have something to back up those claims.

Offline

#18 2023-10-17 13:34:06

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

Sorry for the inconveniences I thought it may be helpful to other people who have package upgrade issues.

From now I will stop posting on this topic.

Offline

#19 2023-10-17 14:11:00

loqs
Member
Registered: 2014-03-06
Posts: 18,823

Re: kernel package update failure arch Linux

@rupeshforu3 please reread https://bbs.archlinux.org/viewtopic.php … 95#p440695 and http://www.catb.org/~esr/faqs/smart-questions.html
Edit:
Your initial post contains a self introduction and problem narrative and your solution.  You responses have been restatement of parts of the narrative,  you have not posted the command that generated the initial issue with its accompany output or the mirror list at that point.  As I already documented your solution is either incomplete or introduces a security issues and probably contains a typographical error.

Last edited by loqs (2023-10-17 14:25:29)

Offline

#20 2023-10-17 15:42:53

rupeshforu3
Member
Registered: 2023-01-06
Posts: 122

Re: kernel package update failure arch Linux

Hi at present everything is working fine on my system.

Last 4 posts are suggestions for others.

Next time if anything doesn't work as expected on my system I will definitely post according to what you said.

Thanks for your suggestions and patience.

Offline

Board footer

Powered by FluxBB