Hey folks.
I’ve been running using EndeavourOS on my laptop for over four years, the same installation this whole time, and it’s been running great.
This morning, I decided that I was going to free up some disk space, and because I always forget the terminal commands, I went back to this handy guide on the forum:
While reading through that guide, I realized that in 4+ years, I’ve never done anything with pacnew files. I occasionally see them being creating when updating my system, but never gave it any thought or attention. Well, after reading (a little) more about pacnew file, I thought I should get my system up to date. I used the “pacdiff & diff” part of the EOS Welcome application, and it found 8 or 10 pacnew files. I didn’t recall changing any of the files, so I thought it would be OK to overwrite the old files with the pacnew files.
which now brings me here. Although I’ve been using EOS for 4+ years, I definitely feel like a newbie today.
There are two primary issues that I’ve noticed so far, plus a 3rd question:
1. GRUB issue
One of the pacnew files was related to GRUB. I remember the unbootable grub update from a couple years ago, so I figured that I would update the GRUB config file before rebooting. I ran these two:
sudo grub-install --no-nvram
sudo grub-mkconfig -o /boot/grub/grub.cfg
My system boots up fine, but when I’m in GRUB, I see that I no longer have a choice for Linux-LTS. just the “Regular” linux kernel. While I typical use the “regular” kernel, I like having the option for boot into the LTS should the need arise. How can I fix the GRUB settings to give me the option to boot into the regular kernel or the LTS kernel? And, despite GRUB not showing the LTS option, when I look, I see that I’m currently running the LTS kernel (specifically 6.12.19-1-lts), so it looks like I need to figure out how to restore the previous GRUB settings, to allow me to boot into either the “regular” linux kernel (currently 6.13.7-arch1-1), or the LTS kernel, and default to boot into the regular kernel.
I currently have both kernels installed (6.13.7-arch1-1 and 6.12.19-1-lts).
2. EndeavourOS repository
When running a system update, it looks like I no longer have the EndeavourOS repository.
[jason@xps139310 ~]$ yay -Syu
[sudo] password for jason:
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> yad: local (14.1-2.1) is newer than extra (14.1-2)
-> Packages not in AUR: akm endeavouros-branding endeavouros-keyring endeavouros-mirrorlist eos-bash-shared eos-hooks eos-log-tool eos-qogir-icons eos-quickstart eos-translations eos-update-notifier keyserver-rank lib32-audit lib32-brotli lib32-bzip2 lib32-e2fsprogs lib32-freetype2 lib32-glib2 lib32-harfbuzz lib32-keyutils lib32-krb5 lib32-libcap lib32-libffi lib32-libgcrypt lib32-libgpg-error lib32-libldap lib32-libnsl lib32-libpng lib32-libtirpc lib32-libxcrypt lib32-openssl lib32-pam lib32-pcre2 lib32-systemd lib32-util-linux lib32-xz lib32-zlib lib32-zstd welcome
-> reflector-simple: local (2024.8.1-1) is newer than AUR (3.3-1)
there is nothing to do
What’s the best way to get that back?
3. is there an easy way to check which files I updated when “dealt” with the pacnew files? Is it possible that I’ve messed up something else with my system, and just haven’t noticed yet?