[oS-en] What is the typical size of the /usr/lib/sysimage/rpm/Packages file?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What is the typical size of the /usr/lib/sysimage/rpm/Packages file? (aka /var/lib/rpm/Packages) Mine is big: - -rw-r--r-- 1 root root 1.3G Mar 13 04:47 Packages I wonder if it is too big. (Using Leap 15.5) - -- Cheers Carlos E. R. (from 15.5 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCZfiNVRwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfV/QUAn2cCqgime6XisgIBcWLv JNiOiT0TAKCMp7EQ2gK8L13zQ7gMsK90may9Xg== =6MSZ -----END PGP SIGNATURE-----
On 3/18/24 11:52, Carlos E. R. wrote:
What is the typical size of the /usr/lib/sysimage/rpm/Packages file?
bill@opihi:~> l -h /var/lib/rpm/Packages -rw-r--r-- 1 root root 273M Mar 18 10:32 /var/lib/rpm/Packages bill@hydra:~> l -h /var/lib/rpm/Packages -rw-r--r-- 1 root root 217M Mar 18 10:26 /var/lib/rpm/Packages bill@lusca:~> l -h /var/lib/rpm/Packages -rw-r--r-- 1 root root 362M Mar 18 10:32 /var/lib/rpm/Packages bill@snail:~> l -h /var/lib/rpm/Packages -rw-r--r-- 1 root root 247M Mar 18 10:29 /var/lib/rpm/Packages
Carlos E. R. composed on 2024-03-18 19:52 (UTC+0100):
What is the typical size of the /usr/lib/sysimage/rpm/Packages file? (aka /var/lib/rpm/Packages)
Mine is big:
- -rw-r--r-- 1 root root 1.3G Mar 13 04:47 Packages
I wonder if it is too big.
# ls -gG /usr/lib/sysimage/rpm/Packages -rw-r--r-- 1 88420352 Mar 18 09:11 /usr/lib/sysimage/rpm/Packages # ls -gGh /usr/lib/sysimage/rpm/Packages -rw-r--r-- 1 85M Mar 18 09:11 /usr/lib/sysimage/rpm/Packages # inxi -SIz System: Kernel: 5.14.21-150500.55.49-default arch: x86_64 bits: 64 Console: pty pts/2 Distro: openSUSE Leap 15.5 Info: Memory: total: 32 GiB available: 30.8 GiB used: 7.23 GiB (23.5%) igpu: 512 MiB Processes: 236 Uptime: 9d 13h 36m Shell: Bash inxi: 3.3.33 # Are you running the current *55.52.1 kernel? Are you mostly a zypper user, mostly yast user, or mostly mixed, for package management? I rarely use yast for software except during OS installations. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 2024-03-18 21:03, Felix Miata wrote:
Carlos E. R. composed on 2024-03-18 19:52 (UTC+0100):
What is the typical size of the /usr/lib/sysimage/rpm/Packages file? (aka /var/lib/rpm/Packages)
Mine is big:
- -rw-r--r-- 1 root root 1.3G Mar 13 04:47 Packages
I wonder if it is too big.
I should have posted the number of packages: Telcontar:~ # rpm -qa | wc -l 11026 Telcontar:~ #
# ls -gG /usr/lib/sysimage/rpm/Packages -rw-r--r-- 1 88420352 Mar 18 09:11 /usr/lib/sysimage/rpm/Packages # ls -gGh /usr/lib/sysimage/rpm/Packages -rw-r--r-- 1 85M Mar 18 09:11 /usr/lib/sysimage/rpm/Packages # inxi -SIz System: Kernel: 5.14.21-150500.55.49-default arch: x86_64 bits: 64 Console: pty pts/2 Distro: openSUSE Leap 15.5 Info: Memory: total: 32 GiB available: 30.8 GiB used: 7.23 GiB (23.5%) igpu: 512 MiB Processes: 236 Uptime: 9d 13h 36m Shell: Bash inxi: 3.3.33 #
Telcontar:~ # inxi -SIz System: Kernel: 5.14.21-150500.55.52-default arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1 Distro: openSUSE Leap 15.5 Info: Processes: 682 Uptime: 5d 9h 36m Memory: 62.73 GiB used: 43.57 GiB (69.5%) Shell: Bash inxi: 3.3.23 Telcontar:~ #
Are you running the current *55.52.1 kernel? Are you mostly a zypper user, mostly yast user, or mostly mixed, for package management? I rarely use yast for software except during OS installations.
Kernel doesn't affect the package database, it matters only the number of packages, and possibly "holes" in the database, which is what worries me. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Op maandag 18 maart 2024 22:39:42 CET schreef Carlos E. R.:
I should have posted the number of packages:
Telcontar:~ # rpm -qa | wc -l 11026 Telcontar:~ # You should have :) . That would explain the size difference.
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board openSUSE Forums Team
On 2024-03-18 22:45, Knurpht-openSUSE wrote:
Op maandag 18 maart 2024 22:39:42 CET schreef Carlos E. R.:
I should have posted the number of packages:
Telcontar:~ # rpm -qa | wc -l 11026 Telcontar:~ # You should have :) . That would explain the size difference.
On another machine: Isengard:~ # ls -lh /var/lib/rpm/Packages -rw-r--r-- 1 root root 286M Mar 18 16:49 /var/lib/rpm/Packages Isengard:~ # rpm -qa | wc -l 4437 Isengard:~ # 4437 - 286M 11026 → 710 M. My Packages file should be around 710 MB, but it is 1.3 Gigs. Nearly double. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
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)
Carlos E. R. composed on 2024-03-18 22:39 (UTC+0100):
Felix Miata wrote:
Carlos E. R. composed on 2024-03-18 19:52 (UTC+0100):
What is the typical size of the /usr/lib/sysimage/rpm/Packages file? (aka /var/lib/rpm/Packages)
Mine is big:
- -rw-r--r-- 1 root root 1.3G Mar 13 04:47 Packages
I wonder if it is too big.
I should have posted the number of packages:
Telcontar:~ # rpm -qa | wc -l 11026 Telcontar:~ #
# rpm -qa | wc -l 1254
# ls -gG /usr/lib/sysimage/rpm/Packages -rw-r--r-- 1 88420352 Mar 18 09:11 /usr/lib/sysimage/rpm/Packages # ls -gGh /usr/lib/sysimage/rpm/Packages -rw-r--r-- 1 85M Mar 18 09:11 /usr/lib/sysimage/rpm/Packages
Are you running the current *55.52.1 kernel? Are you mostly a zypper user, mostly yast user, or mostly mixed, for package management? I rarely use yast for software except during OS installations.
Kernel doesn't affect the package database, it matters only the number of packages, and possibly "holes" in the database, which is what worries me.
It shouldn't, but bugs can make logs very noisy. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata
On 3/18/24 22:39, Carlos E. R. wrote:
I should have posted the number of packages:
Telcontar:~ # rpm -qa | wc -l 11026
Sounds like you have all the texlive-* including their -*-doc packages. I need texlive, but not the docs, so I've locked them (after removing, obviously): $ zypper al 'texlive-*-doc' Have a nice day, Berny
On 2024-03-19 09:39, Bernhard Voelker wrote:
On 3/18/24 22:39, Carlos E. R. wrote:
I should have posted the number of packages:
Telcontar:~ # rpm -qa | wc -l 11026
Sounds like you have all the texlive-* including their -*-doc packages.
I do, actually, because of LyX
I need texlive, but not the docs, so I've locked them (after removing, obviously):
$ zypper al 'texlive-*-doc'
Have a nice day,
It's an idea, thanks. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)
Hey. Their team of skilled writers consistently delivers high-quality papers that surpass my expectations. Whether I need assistance with an essay, research paper, or any other academic task, write paper https://www.reviews.io/company-reviews/store/writepaper.com has always come through for me. I've been impressed by their thorough research, impeccable writing, and ability to meet even the tightest deadlines. The platform's user-friendly interface makes it easy to place orders and communicate with writers. Plus, their transparent pricing and satisfaction guarantee provide peace of mind. I highly recommend their services to anyone in need of reliable and professional writing assistance.
participants (7)
-
Andrei Borzenkov
-
Bernhard Voelker
-
Bill Swisher
-
Carlos E. R.
-
Felix Miata
-
ginahoc292@storesr.com
-
Knurpht-openSUSE