On 2024-03-19 05:07, Andrei Borzenkov wrote:
On 19.03.2024 01:10, Knurpht-openSUSE wrote:
Op maandag 18 maart 2024 23:07:30 CET schreef Carlos E. R.:
My Packages file should be around 710 MB, but it is 1.3 Gigs. Nearly double Do rpm --rebuilddb and check again.
This command does not modify Packages.
Let's try. First I make a copy somewhere else. Telcontar:/var/lib/rpm # l total 1407068 drwxr-xr-x 2 root root 4096 Mar 19 21:39 ./ drwxr-xr-x 5 root root 4096 Feb 15 11:13 ../ -rw-r--r-- 1 root root 56590336 Mar 13 04:47 Basenames -rw-r--r-- 1 root root 36864 Mar 13 04:46 Conflictname -rw-r--r-- 1 root root 19652608 Mar 13 04:47 Dirnames -rw-r--r-- 1 root root 20480 Mar 13 04:45 Enhancename -rw-r--r-- 1 root root 8192 Feb 12 01:16 Filetriggername -rw-r--r-- 1 root root 147456 Mar 13 04:47 Group -rw-r--r-- 1 root root 274432 Mar 13 04:47 Installtid -rw-r--r-- 1 root root 569344 Mar 13 04:47 Name -rw-r--r-- 1 root root 147456 Mar 13 04:46 Obsoletename -rw-r--r-- 1 root root 1343299584 Mar 13 04:47 Packages -rw-r--r-- 1 root root 15163392 Mar 13 04:47 Providename -rw-r--r-- 1 root root 196608 Mar 13 04:46 Recommendname -rw-r--r-- 1 root root 2318336 Mar 13 04:47 Requirename -rw-r--r-- 1 root root 1056768 Mar 13 04:47 Sha1header -rw-r--r-- 1 root root 589824 Mar 13 04:47 Sigmd5 -rw-r--r-- 1 root root 28672 Mar 13 04:46 Suggestname -rw-r--r-- 1 root root 729088 Mar 13 04:46 Supplementname -rw-r--r-- 1 root root 8192 Feb 11 23:55 Transfiletriggername -rw-r--r-- 1 root root 16384 Mar 13 04:44 Triggername Telcontar:/var/lib/rpm # Telcontar:~ # time rpm --rebuilddb real 0m17.401s user 0m12.760s sys 0m4.495s Telcontar:~ # Telcontar:/var/lib/rpm # l total 0 Telcontar:/var/lib/rpm # Yiks. Telcontar:~ # rpm -qa | wc -l 11026 Telcontar:~ # Telcontar:/var/lib/rpm # l total 1403576 drwxr-xr-x 2 root root 4096 Mar 19 21:41 ./ drwxr-xr-x 5 root root 4096 Mar 19 21:42 ../ -rw-r--r-- 1 root root 53993472 Mar 19 21:42 Basenames -rw-r--r-- 1 root root 36864 Mar 19 21:42 Conflictname -rw-r--r-- 1 root root 19431424 Mar 19 21:42 Dirnames -rw-r--r-- 1 root root 20480 Mar 19 21:42 Enhancename -rw-r--r-- 1 root root 8192 Mar 19 21:41 Filetriggername -rw-r--r-- 1 root root 147456 Mar 19 21:42 Group -rw-r--r-- 1 root root 270336 Mar 19 21:42 Installtid -rw-r--r-- 1 root root 581632 Mar 19 21:42 Name -rw-r--r-- 1 root root 139264 Mar 19 21:42 Obsoletename -rw-r--r-- 1 root root 1342742528 Mar 19 21:42 Packages -rw-r--r-- 1 root root 15151104 Mar 19 21:42 Providename -rw-r--r-- 1 root root 208896 Mar 19 21:42 Recommendname -rw-r--r-- 1 root root 2289664 Mar 19 21:42 Requirename -rw-r--r-- 1 root root 966656 Mar 19 21:42 Sha1header -rw-r--r-- 1 root root 573440 Mar 19 21:42 Sigmd5 -rw-r--r-- 1 root root 24576 Mar 19 21:42 Suggestname -rw-r--r-- 1 root root 696320 Mar 19 21:42 Supplementname -rw-r--r-- 1 root root 8192 Mar 19 21:41 Transfiletriggername -rw-r--r-- 1 root root 16384 Mar 19 21:42 Triggername Telcontar:/var/lib/rpm # Somefiles have changed size, including "Packages", but not significantly. I will restore the copy I made before running the command. Weird about the files disappearing for a minute. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)