Bug ID | 1173735 |
---|---|
Summary | RPM DB backup does not work anymore after switching to ndb RPM backend |
Classification | openSUSE |
Product | openSUSE Tumbleweed |
Version | Current |
Hardware | Other |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | Basesystem |
Assignee | screening-team-bugs@suse.de |
Reporter | arvidjaar@gmail.com |
QA Contact | qa-bugs@suse.de |
CC | lnussel@suse.com, ro@suse.de |
Found By | --- |
Blocker | --- |
bor@tw:~> sudo ls -l /var/adm/backup/rpmdb total 280504 -rw-r--r-- 1 root root 68466826 Feb 26 22:23 Packages-20200226.gz -rw-r--r-- 1 root root 72282613 Mar 12 21:43 Packages-20200312.gz -rw-r--r-- 1 root root 72377867 Mar 14 19:26 Packages-20200314.gz -rw-r--r-- 1 root root 74091506 Mar 15 09:56 Packages-20200315.gz -rw-r--r-- 1 root root 126 Mar 24 16:39 Packages-20200324.gz -rw-r--r-- 1 root root 36 Mar 24 16:39 rpmdb_recent_md5 bor@tw:~> l /usr/lib/sysimage/rpm total 284256 drwxr-xr-x 1 root root 458 Jun 29 22:25 ./ drwxr-xr-x 1 root root 6 Jun 29 22:25 ../ -rw-r--r-- 1 root root 8192 Mar 24 15:32 Basenames -rw-r--r-- 1 root root 8192 Mar 24 15:32 Conflictname -rw-r--r-- 1 root root 8192 Mar 24 15:32 Dirnames -rw-r--r-- 1 root root 8192 Mar 24 15:32 Enhancename -rw-r--r-- 1 root root 8192 Mar 24 15:32 Filetriggername -rw-r--r-- 1 root root 8192 Mar 24 15:32 Group -rw-r--r-- 1 root root 48185344 Jul 4 22:18 Index.db -rw-r--r-- 1 root root 8192 Mar 24 15:32 Installtid -rw-r--r-- 1 root root 8192 Mar 24 15:32 Name -rw-r--r-- 1 root root 8192 Mar 24 15:32 Obsoletename -rw-r--r-- 1 root root 12288 Mar 24 15:32 Packages -rw-r--r-- 1 root root 242736496 Jul 4 22:18 Packages.db -rw-r--r-- 1 root root 8192 Mar 24 15:32 Providename -rw-r--r-- 1 root root 8192 Mar 24 15:32 Recommendname -rw-r--r-- 1 root root 8192 Mar 24 15:32 Requirename -rw-r--r-- 1 root root 0 Mar 24 15:12 .rpm.lock -rw-r--r-- 1 root root 8192 Mar 24 15:32 Sha1header -rw-r--r-- 1 root root 8192 Mar 24 15:32 Sigmd5 -rw-r--r-- 1 root root 8192 Mar 24 15:32 Suggestname -rw-r--r-- 1 root root 8192 Mar 24 15:32 Supplementname -rw-r--r-- 1 root root 8192 Mar 24 15:32 Transfiletriggername -rw-r--r-- 1 root root 8192 Mar 24 15:32 Triggername bor@tw:~> less /usr/lib/base-scripts/backup-rpmdb ... # PACKAGEDBFILE=packages.rpm if test -e ${RPMDB_PATH}/Packages ; then PACKAGEDBFILE=Packages fi As you see, scripts looks for old format file which was not changed since 24th of March. And yes, script runs every week as per timer.