mikeym
June 7, 2025, 10:09am
1
I just had my first bad update on tumbleweed and would like to roll back to a btfs snapshot from this morning, but when booting that snapshot into read only mode I noticed that my RPM database still thinks it’s on the newer packages because I have /var mounted as another partition.
Did anyone have any advice on the best way to proceed?
I could try rolling back to this morning’s snapshot and rebuilding my RPM database but that sounds risky. I am able to boot into the the updated system, but my screen seems to flicker partially grey, possibly a fresh issue, so I could try fixing that if possible.
hcvv
June 7, 2025, 10:20am
2
When talking about partitions, please never assume that people immediate understand your situation, but post what you are talking about. At least (as root
)
fdisk -l
but better add also
lsblk -f
mikeym
June 7, 2025, 10:38am
3
Disk /dev/nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: Force MP600
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 8375A924-D7EB-4C50-8767-0070B5BF8B0D
Device Start End Sectors Size Type
/dev/nvme1n1p1 2048 514047 512000 250M EFI System
/dev/nvme1n1p2 514048 18339839 17825792 8.5G Linux swap
/dev/nvme1n1p3 18339840 81254399 62914560 30G Linux filesystem
/dev/nvme1n1p4 81254400 186111999 104857600 50G Linux filesystem
/dev/nvme1n1p5 186112000 395827199 209715200 100G Linux filesystem
/dev/nvme1n1p6 395827200 1953525134 1557697935 742.8G Linux filesystem
Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: CT1000P5PSSD8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: CE26F2D2-EAD5-40C6-AE61-96C4EE21766B
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1953523711 1953521664 931.5G Linux filesystem
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
nvme1n1
├─nvme1n1p1 vfat FAT32 BOOT_EFI 46DD-B645 203.2M 17% /boot/efi
├─nvme1n1p2 swap 1 1fbbb023-09c9-461a-bebc-a720873ee77a [SWAP]
├─nvme1n1p3 xfs _var f3052245-f7df-43a1-8aec-bdb861e1fe9d 21.2G 29% /var
├─nvme1n1p4 btrfs _root 71572811-269b-4ced-88d0-74f348f8a78f 20.2G 54% /usr/local
│ /opt
│ /srv
│ /boot/grub2/x86_64-efi
│ /root
│ /boot/grub2/i386-pc
│ /home
│ /.snapshots
│ /
├─nvme1n1p5 xfs _home_michae 443d1603-1660-41cb-8c8b-34960f0775ce 24.3G 76% /home/michael
└─nvme1n1p6 ext4 1.0 _home_steam 3c13af10-ef45-41c8-a6a4-9c438c1248ed 110G 80% /mnt/steam
nvme0n1
└─nvme0n1p1 ext4 1.0 _home_steam2 94d8f546-cfe8-41bc-b960-d4dfb7431e69 130.4G 81% /home/steam
Tumbleweed moved RPM database to /usr
several years ago. Show
grep VERSION_ID /etc/os-release
ls -l /var/lib/rpm
mikeym
June 7, 2025, 12:13pm
5
Huh. You’re right.
VERSION_ID="20250522"
/var/lib/rpm -> ../../usr/lib/sysimage/rpm/
And rpm is listing the correct versions:
rpm -q --info kernel-default
Name : kernel-default
Version : 6.14.5
Release : 1.1
Architecture: x86_64
Install Date: Sat 10 May 2025 12:42:53 PM CEST
Group : System/Kernel
Size : 267699758
License : GPL-2.0-only
Signature : RSA/SHA512, Wed 07 May 2025 08:37:13 PM CEST, Key ID 35a2f86e29b700a4
Source RPM : kernel-default-6.14.5-1.1.nosrc.rpm
Build Date : Sat 03 May 2025 09:13:47 AM CEST
Build Host : reproducible
Packager : https://bugs.opensuse.org
Vendor : openSUSE
URL : https://www.kernel.org/
Summary : The Standard Kernel
Description :
The standard kernel for both uniprocessor and multiprocessor systems.
Source Timestamp: 2025-05-03 07:13:47 +0000
GIT Revision: 74808df6c32df01dc7c19d21eb37fc4621322d4b
GIT Branch: stable
Distribution: openSUSE Tumbleweed
Name : kernel-default
Version : 6.14.6
Release : 1.1
Architecture: x86_64
Install Date: Sat 17 May 2025 12:27:45 PM CEST
Group : System/Kernel
Size : 267750872
License : GPL-2.0-only
Signature : RSA/SHA512, Tue 13 May 2025 11:16:14 PM CEST, Key ID 35a2f86e29b700a4
Source RPM : kernel-default-6.14.6-1.1.nosrc.rpm
Build Date : Tue 13 May 2025 11:49:01 AM CEST
Build Host : reproducible
Packager : https://bugs.opensuse.org
Vendor : openSUSE
URL : https://www.kernel.org/
Summary : The Standard Kernel
Description :
The standard kernel for both uniprocessor and multiprocessor systems.
Source Timestamp: 2025-05-13 09:56:22 +0000
GIT Revision: ad69173661e912fc54ea9589c400528b76aa8aca
GIT Branch: stable
Distribution: openSUSE Tumbleweed
It’s zypper which is getting it wrong:
sudo zypper info kernel-default
Loading repository data...
Reading installed packages...
Information for package kernel-default:
---------------------------------------
Repository : repo-oss
Name : kernel-default
Version : 6.15.0-1.1
Arch : x86_64
Vendor : openSUSE
Installed Size : 356.2 MiB
Installed : Yes
Status : out-of-date (version 6.14.6-1.1 installed)
Source package : kernel-default-6.15.0-1.1.nosrc
Upstream URL : https://www.kernel.org/
Summary : The Standard Kernel
Description :
The standard kernel for both uniprocessor and multiprocessor systems.
Source Timestamp: 2025-06-02 07:13:45 +0000
GIT Revision: 17ba886658141d7d6a7b6ad5145118ada68b4b7e
GIT Branch: stable
That might be a corrupted rpmdb. See if things change after
sudo rpm --rebuilddb
Urg… I just can’t read.
Status : out-of-date (version 6.14.6-1.1 installed)
Sorry for the undue panic. I’ve gone ahead and rolled back to the pre
snapshot before this morning’s update.
system
Closed
June 14, 2025, 1:19pm
8
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.