Op zaterdag 2 februari 2019 12:18:25 CET schreef Carlos E. R.:
On 02/02/2019 12.07, Knurpht-openSUSE wrote:
Op zaterdag 2 februari 2019 12:03:40 CET schreef Carlos E. R.:
On 02/02/2019 09.30, Andrei Borzenkov wrote:
01.02.2019 22:10, Carlos E. R. пишет:
Show output of
rpm --eval %_dbpath --eval %_dbpath_rebuild
Pointless now, as I have manually changed things.
And, manually changing stuff often leads to trouble. It could even be, that having mc ( midnight commander fwiw ) was in fault. I checked all the things Andrei wrote, and he's right. For both Leap and TW.
Telcontar:/var/lib # rpmdb --rebuilddb Telcontar:/var/lib # rpm --eval %_dbpath --eval %_dbpath_rebuild /usr/lib/sysimage/rpm /usr/lib/sysimage/rpm Telcontar:/var/lib # Telcontar:/var/lib # l | grep rpm lrwxrwxrwx 1 root root 26 Feb 2 11:10 rpm -> ../../usr/lib/sysimage/rpm/ drwxr-xr-x 2 root root 4096 Feb 1 20:07 rpm.old/ -rw-r--r-- 1 root root 1560556 Feb 2 12:14 rpmlist Telcontar:/var/lib So, it's a symlink. And mc may have simply not refreshed the contents of the folder /var/lib/rpm is symlinked to. Why insist that your system does not behave like Andrei says. He's the one with the detailed knowledge. And AFAICS he's 100% right, if I look at my installs. If yours doesn't work like that ( and it is, since your backups are in the proper folder and no package install changes that ), it must be manual changes. And no, this is not my road to happiness :D
Telcontar:/var/lib # rpm -q -a --queryformat "%{INSTALLTIME}\t%{INSTALLTIME:day} \ %{BUILDTIME:day} %-30{NAME}\t%15{VERSION}-%-7{RELEASE}\t%{arch} \ %25{VENDOR}%25{PACKAGER} == %{DISTRIBUTION} %{DISTTAG}\n" | sort | cut --fields="2-" | tee rpmlist | less -S
...
Fri Jan 18 2019 Tue Jan 15 2019 kdelibs3 3.5.10-lp150.210.4 x86_64 obs://build.opensuse.org/KDE:KDE3 (none) == KDE:KDE3 / openSUSE_Leap_15.0 (none) Fri Jan 18 2019 Thu Jan 17 2019 pulseaudio-gdm-hooks 12.2-lp150.5.2 x86_64 obs://build.opensuse.org/multimedia (none) == multimedia:libs / openSUSE_Leap_15.0> Fri Jan 18 2019 Wed Jun 07 2017 hte 2.1.0-lp150.1.8 x86_64 openSUSEhttps://bugs.opensuse.org == openSUSE Leap 15.0 (none) Wed Jan 23 2019 Fri Oct 28 2011 icc-profiles-basiccolor-printing2009-extra 1.2.0-lp150.1.6 noarch openSUSEhttps://bugs.opensuse.org == openSUSE Leap 15.0 (none) Wed Jan 23 2019 Sun Mar 25 2012 icc-profiles-all 1.2-lp150.1.6 noarch openSUSEhttps://bugs.opensuse.org == openSUSE Leap 15.0 (none) Wed Jan 23 2019 Sun Mar 25 2012 icc-profiles-oyranos-extra 1.2-lp150.1.6 noarch openSUSEhttps://bugs.opensuse.org == openSUSE Leap 15.0 (none) Thu Jan 24 2019 Sun Mar 25 2012 icc-profiles-openicc-rgb 1.3-lp150.1.6 noarch openSUSEhttps://bugs.opensuse.org == openSUSE Leap 15.0 (none) Thu Jan 24 2019 Thu Jan 24 2019 pin 0.38-lp150.2.9.1 noarch obs://build.opensuse.org/home:cboltz (none) == home:cboltz:branches:openSUSE:Leap:>
Telcontar:/var/lib # rpm -qa | wc -l 8388 Telcontar:/var/lib
packages are properly listed.
Happy? :-)
-- Gertjan Lettink a.k.a. Knurpht openSUSE Board Member openSUSE Forums Team -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org