Bug 24982

Summary: File /var/lib/rpm/installed-through-deps.list gets removed with rpm --rebuilddb
Product: Mageia Reporter: Jani Välimaa <jani.valimaa>
Component: RPM PackagesAssignee: Mageia tools maintainers <mageiatools>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: marja11, thierry.vignaud
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA7TOO
Source RPM: urpmi-8.116-1.mga7 CVE:
Status comment:

Description Jani Välimaa 2019-06-21 08:46:17 CEST
$ ls /var/lib/rpm/installed-through-deps.list 
/var/lib/rpm/installed-through-deps.list

$ sudo rpm --rebuilddb

$ LC_ALL=C.UTF-8 ls /var/lib/rpm/installed-through-deps.list 
ls: cannot access '/var/lib/rpm/installed-through-deps.list': No such file or directory

As installed-through-deps.list is located in /var/lib/rpm/ it gets deleted with 'rpm --rebuilddb'. We should move it to an another place. Perhaps to /var/lib/urpmi which already exists?
Jani Välimaa 2019-06-21 08:50:51 CEST

Whiteboard: (none) => MGA7TOO

Marja Van Waes 2019-06-23 18:44:47 CEST

Assignee: bugsquad => mageiatools
CC: (none) => marja11, thierry.vignaud