My system demanjaroed itself

Hey, I’m not sure how it happened but there are several reasons for me to think that there’s something wrong with my Manjaro.

Looks like a repository problem but I can’t put my finger on it.

My findings
The about screen:
image

From yay -Syyu:

And also (may be unrelated):


(Notice the first package, I can’t update it because I can’t update the kernel with either manjaro-settings or the mhwd-kernel.

mhwd-kernel -l output:
image

I can’t put my finger on it but it looks I’m out of all the cool stuff, can you try and point me in the right direction?

BTW I’ve already ran the repo fix script from here:

The basic fix didn’t help, should I try the next ones or is it unrelated?

Thanks.

You did not update your system a long time - and in the meantime Kernel 6.13 is EOL.

  • Install a different kernel, e.g. 6.12 and 6.14,
  • uninstall 6.13,
  • reboot, and
  • pacman -Syu (from a TTY as this update will be quite large due to hugh amount of outstanding updates) should work

The data comes from os-release and lsb-release which you may have replaced (one or both) with the Arch Linux version(s).

 $ cat /etc/os-release
NAME="Manjaro Linux"
PRETTY_NAME="Manjaro Linux"
ID=manjaro
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="32;1;24;144;200"
HOME_URL="https://manjaro.org/"
DOCUMENTATION_URL="https://wiki.manjaro.org/"
SUPPORT_URL="https://forum.manjaro.org/"
BUG_REPORT_URL="https://manjaro.org/help/"
PRIVACY_POLICY_URL="https://manjaro.org/privacy-policy/"
LOGO=manjarolinux

 $ cat /etc/lsb-release 
DISTRIB_ID="ManjaroLinux"
DISTRIB_RELEASE="25.0.3"
DISTRIB_CODENAME="Zetar"
DISTRIB_DESCRIPTION="Manjaro Linux"

The package manjaro-release contains the Manjaro lsb-release file.

The package filesystem contains the Manjaro os-release file.

I propose a slightly different sequence :slightly_smiling_face:

  • install a different kernel, e.g. 6.12 and 6.14
  • reboot, booting one of the newly installed kernels
  • then remove the EOL 6.13
  • consider disabling the “heftig” repository in /etc/pacman.conf (at least temporarily till the update is done)
  • refresh the list of mirrors: sudo pacman-mirrors -f
  • sudo pacman -Syu (from a TTY as this update will be quite large due to hugh amount of outstanding updates) should work
  • only then use the yay AUR helper to update any AUR packages - just to be sure there is no interference with base system packages
  • consider disabling the “heftig” repository in /etc/pacman.conf (at least temporarily till the update is done)

I didn’t look what is in it - what Manjaro packages it might interfere with.

2 Likes

Looks to me that you are not using the Manjaro repo, but the ArchLinux repo on a Manjaro Installation. :man_shrugging:

3 Likes

[HowTo] Post command output and file content as preformatted text

heftig repository is not an official Arch repository - heftig (Jan Alexander Steffens) · GitHub
and Arch maintainer heftig does not maintain filesystem or lsb-release

Arch Linux - filesystem

Repository: Core
Maintainers: Sébastien Luttringer
David Runge

Arch Linux - lsb-release

Repository: Extra
Maintainers: Daniel Bermond

Please post more information about mirror configuration as preformatted text

pacman-mirrors
 $ cat /etc/os-release
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
 $ cat /etc/lsb-release
DISTRIB_ID="ManjaroLinux"
DISTRIB_RELEASE="25.0.0"
DISTRIB_CODENAME="Zetar"
DISTRIB_DESCRIPTION="Manjaro Linux"

Yup, I can see that now.

 $ pacman-mirrors
Pacman-mirrors version 4.28
Local mirror status for testing branch
Mirror #1   OK  01:52   Slovenia  https://mirror.komelt.dev/manjaro/
Mirror #2   OK  00:42   Germany   https://ftp.gwdg.de/pub/linux/manjaro/
Mirror #3   OK  295:56  Russia    https://mirror.yandex.ru/mirrors/manjaro/
Mirror #4   OK  02:19   Canada    https://muug.ca/mirror/manjaro/
Mirror #5   OK  02:52   Russia    https://mirror.kamtv.ru/manjaro/

I can’t:

 $ yay -S linux614
 -> No AUR package found for linux614
 there is nothing to do
 $ yay -S linux612
 -> No AUR package found for linux612
 there is nothing to do

Same goes with pacman as you could imagine. (heftig was removed earlier)

Is there a way to restore it safely?
My current pacman.conf records are as followed:

#[kde-unstable]
#Include = /etc/pacman.d/mirrorlist

[core]
Server = https://mirrors.kernel.org/archlinux/$repo/os/$arch
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
SigLevel = PackageRequired
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]
SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

#[heftig]
#SigLevel = Optional
#Server = https://pkgbuild.com/~heftig/repo/$arch

Added the disabled repos as I wasn’t sure whether these are causing the issue and commented heftig as well.

:sweat_smile:

Overwite the file with this one: pacman.conf · master · Packages / core / pacman · GitLab

Run:

# Switch to unstable what is equal ArchLinux
sudo pacman-mirrors --api --set-branch unstable
# Set the global mirrors or set your country
sudo pacman-mirrors --country Global
# sort the mirrors by speed
sudo pacman-mirrors --fasttrack 5
# Do a full upgrade, force refresh the database, downgrade packages if necessary
sudo pacman -Syyuu
2 Likes

To install a different kernel use Manjaro Settings Manager > Kernel GUI or

sudo mhwd-kernel -i linux612

Manjaro Kernels - Manjaro Wiki

2 Likes

@nikgnomic As I mentioned, it’s impossible to do that when the repositories are misconfigured so it works now after removing the Arch repo reference and going back to full Manjaro.

It was an insane ride!
I upgraded my Manjaro after removing the archilnux line as @megavolt suggested.
Then I could upgrade Manjaro, once done I upgraded the kernel, apparently some modules were missing (WiFi and Bluetooth) so no mouse and no network :frowning: , I had to download the firmware files manually using my phone and download them to my computer using a USB-C cable.

I moved the files in place (inside /lib/firmware) and now I have a network and Bluetooth, apparently switching back to the Manjaro repository did the trick so thanks @megavolt!

1 Like

@yaron

In case it wasn’t made obvious, please avoid using yay to install/update kernels.


As a general rule it is best to perform a sync/update while separating repo’s from the AUR, for example:

sudo pacman -Syu

or, using pamac while disallowing the AUR;

pamac update --no-aur

then rebuild AUR packages, while disallowing the repo’s;

pamac update --aur

(or, with yay)

Regards

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.