[manjaro-gnome /]# pacman -Syyu
:: Synchronizing package databases...
core 137.7 KiB 668 KiB/s 00:00 [##################################] 100%
extra 1918.4 KiB 2.28 MiB/s 00:01 [##################################] 100%
community 6.8 MiB 5.22 MiB/s 00:01 [##################################] 100%
multilib 176.5 KiB 5.07 MiB/s 00:00 [##################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (1) pacui-1.14.r39.ga37e948-1
Total Download Size: 0.06 MiB
Total Installed Size: 0.21 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
pacui-1.14.r39.ga37e948-1-any 65.8 KiB 766 KiB/s 00:00 [##################################] 100%
(1/1) checking keys in keyring [##################################] 100%
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(1/1) checking available disk space [##################################] 100%
:: Processing package changes...
(1/1) upgrading pacui [##################################] 100%
New optional dependencies for pacui
pamac-cli: One AUR helper is needed for AUR support [installed]
yay: One AUR helper is needed for AUR support [installed]
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate..```
This is the result from it. Maybe the update itself was just unlucky but otherwise that happened
then check number carefully
pacman -Ss linux510
then try ( n to use see line before )
pacman -U linux510-headers-5.10.n-x86_64.pkg.tar.zst
pacman -U linux510-5.10.n-x86_64.pkg.tar.zst
[manjaro-gnome /]# pacman -U linux510-headers-5.10.n-x86_64.pkg.tar.zst
loading packages...
error: 'linux510-headers-5.10.n-x86_64.pkg.tar.zst': could not find or read package
Got a lot of output for the first one though, but no headers found in the list
what you get for
pacman -Ss linux510 ?
[manjaro-gnome /]# pacman -Ss linux510
extra/linux510-acpi_call 1.1.0-100 (linux510-extramodules)
A linux kernel module that enables calls to ACPI methods through /proc/acpi/call
extra/linux510-bbswitch 0.8-100 (linux510-extramodules)
kernel module allowing to switch dedicated graphics card on Optimus laptops
extra/linux510-broadcom-wl 6.30.223.271-102 (linux510-extramodules)
Broadcom 802.11 Linux STA wireless driver BCM43142.
extra/linux510-nvidia 495.44-10 (linux510-extramodules)
NVIDIA drivers for linux.
extra/linux510-nvidia-390xx 390.144-33 (linux510-extramodules)
NVIDIA drivers for linux.
extra/linux510-nvidia-470xx 470.86-7 (linux510-extramodules)
NVIDIA drivers for linux.
extra/linux510-r8168 8.049.02-37 (linux510-extramodules)
A kernel module for Realtek 8168 network cards
extra/linux510-rtl8723bu 20211104-6 (linux510-extramodules)
A kernel module for Realtek 8723bu network cards
extra/linux510-tp_smapi 0.43-100 (linux510-extramodules)
Modules for ThinkPad's SMAPI functionality
extra/linux510-vhba-module 20211023-8 (linux510-extramodules)
Kernel module that emulates SCSI devices
extra/linux510-virtualbox-host-modules 6.1.30-4 (linux510-extramodules) [installed]
Host kernel modules for VirtualBox
extra/linux510-zfs 2.1.1-18 (linux510-extramodules)
Kernel modules for the Zettabyte File System.
community/linux510-rt 5.10.83_rt58-1
The Linux510-rt kernel and modules
community/linux510-rt-acpi_call 1.1.0-65 (linux510-rt-extramodules)
A linux kernel module that enables calls to ACPI methods through /proc/acpi/call
community/linux510-rt-bbswitch 0.8-8 (linux510-rt-extramodules)
kernel module allowing to switch dedicated graphics card on Optimus laptops
community/linux510-rt-broadcom-wl 6.30.223.271-9 (linux510-rt-extramodules)
Broadcom 802.11 Linux STA wireless driver BCM43142.
community/linux510-rt-headers 5.10.83_rt58-1
Header files and scripts for building modules for Linux510-rt kernel
community/linux510-rt-nvidia 495.44-4 (linux510-rt-extramodules)
NVIDIA drivers for linux.
community/linux510-rt-nvidia-470xx 470.86-3 (linux510-rt-extramodules)
NVIDIA drivers for linux.
community/linux510-rt-r8168 8.049.02-6 (linux510-rt-extramodules)
A kernel module for Realtek 8168 network cards
community/linux510-rt-rtl8723bu 20211104-3 (linux510-rt-extramodules)
A kernel module for Realtek 8723bu network cards
community/linux510-rt-tp_smapi 0.43-8 (linux510-rt-extramodules)
Modules for ThinkPad's SMAPI functionality
community/linux510-rt-vhba-module 20211023-4 (linux510-rt-extramodules)
Kernel module that emulates SCSI devices
community/linux510-rt-virtualbox-host-modules 6.1.30-2 (linux510-rt-extramodules)
Host kernel modules for VirtualBox
Just cross-checked with my running instance on another device. Seems like core is missing right?
In more detail these lines:
core/linux510 5.10.84-1 [installed]
The Linux510 kernel and modules
core/linux510-headers 5.10.84-1
Header files and scripts for building modules for Linux510 kernel
can you check in /etc/pacman.conf
cat /etc/pacman./conf
you should have theses repo
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
Include = /etc/pacman.d/mirrorlist
[core]
Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/core/os/$arch
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
probably remove the Server line in core?
yes and then retry
looking good:
[manjaro-gnome /]# pacman -Syyu
:: Synchronizing package databases...
core 168.9 KiB 1097 KiB/s 00:00 [##################################] 100%
extra 1918.4 KiB 2.78 MiB/s 00:01 [##################################] 100%
community 6.8 MiB 5.58 MiB/s 00:01 [##################################] 100%
multilib 176.5 KiB 5.74 MiB/s 00:00 [##################################] 100%
:: Starting full system upgrade...
warning: audit: local (3.0.6-5) is newer than core (3.0.6-2)
warning: brotli: local (1.0.9-7) is newer than core (1.0.9-4)
warning: btrfs-progs: local (5.15.1-3) is newer than core (5.15.1-1)
warning: ca-certificates-mozilla: local (3.73.1-1) is newer than core (3.73-1)
warning: gcc: local (11.1.0-3) is newer than core (11.1.0-1)
warning: gcc-fortran: local (11.1.0-3) is newer than core (11.1.0-1)
warning: gcc-libs: local (11.1.0-3) is newer than core (11.1.0-1)
warning: glib2: local (2.70.2-1) is newer than core (2.70.1-1)
warning: gpgme: local (1.16.0-3) is newer than core (1.16.0-1)
warning: grub: local (2:2.06-2) is newer than core (2.06-1)
warning: iana-etc: local (20211203-1) is newer than core (20211025-1)
warning: lib32-gcc-libs: local (11.1.0-3) is newer than core (11.1.0-1)
warning: libcap: local (2.62-1) is newer than core (2.61-1)
warning: libcap-ng: local (0.8.2-6) is newer than core (0.8.2-3)
warning: libseccomp: local (2.5.3-3) is newer than core (2.5.3-1)
warning: nano: local (6.0-1) is newer than core (5.9-1)
warning: nss: local (3.73.1-1) is newer than core (3.73-1)
warning: openssl: local (1.1.1.m-1) is newer than core (1.1.1.l-1)
warning: pambase: local (20211210-1) is newer than core (20211111-1)
warning: perl: local (5.34.0-3) is newer than core (5.34.0-2)
warning: python: local (3.10.1-1) is newer than core (3.9.9-1)
warning: util-linux: local (2.37.2-4) is newer than core (2.37.2-1)
warning: util-linux-libs: local (2.37.2-4) is newer than core (2.37.2-1)
resolving dependencies...
looking for conflicting packages...
Packages (7) filesystem-2021.12.07-3 linux510-5.10.84-1 linux510-headers-5.10.84-1 linux54-5.4.164-1
linux54-headers-5.4.164-1 manjaro-release-21.2rc2-1 pacman-mirrors-4.23.1-5
Total Download Size: 0.05 MiB
Total Installed Size: 393.53 MiB
Net Upgrade Size: 0.05 MiB
apply pacman -Syyuu
and then mkinitcpio again?
check end mkinitcpio result
Think from here on it is interesting
(7/9) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'default'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.10-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux510.preset: 'fallback'
-> -k /boot/vmlinuz-5.10-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.10-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.10-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'default'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64.img
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.4-x86_64'
==> Building image from preset: /etc/mkinitcpio.d/linux54.preset: 'fallback'
-> -k /boot/vmlinuz-5.4-x86_64 -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4-x86_64-fallback.img -S autodetect
==> ERROR: specified kernel image does not exist: `/boot/vmlinuz-5.4-x86_64'
error: command failed to execute correctly
(8/9) Restore Linux kernel modules
==> Warning:
-> Kernel has been updated. Modules of the current kernel
-> have been backed up so you can continue to use your
-> computer. However, the new kernel will only work
-> at next boot.
(9/9) Configuring pacman-mirrors ...
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 20, in <module>
from pacman_mirrors import pacman_mirrors
ModuleNotFoundError: No module named 'pacman_mirrors'
hint: use `pacman-mirrors` to generate and update your pacman mirrorlist.
try this
pacman -U linux510-headers-5.10.84-1-x86_64.pkg.tar.zst
pacman -U linux510-5.10.84-1-x86_64.pkg.tar.zst
Sadly still the same output as before (see quote)
n=84-1
You made a massive mess of your system. What exactly did you do?
E.g. Python 3.10 is only in the testing branch.
Which branch do you want, or rather better, which branch does your system think itβs on?
Use pacman-mirrors fix your branch and to update your mirrors (or shiny-mirrors if the first one fails). Then you must do a pacman -Syyuu
.
Did you install any AUR package? Something important to your system, like mkinitcpio, pacman, systemd, or else?
Or maybe did you remove your /boot
partition? Is it mounted in the chroot-enviroment? You told you had to chroot manually because of encryption, then you must also mount all required partitions and devices.
there is no vmlinuz installed
I know, but I needed python 3.10 for some project
[manjaro-gnome /]# pacman-mirrors
Traceback (most recent call last):
File "/usr/bin/pacman-mirrors", line 20, in <module>
from pacman_mirrors import pacman_mirrors
ModuleNotFoundError: No module named 'pacman_mirrors'
I mounted both /dev/sda2 (which was encrypted - root) and /dev/sda1 which is the boot