Package: rpmlint
Version: 2.8.0-1
Severity: serious
X-Debbugs-CC: [email protected]
Tags: sid

autopkgtests fail on all archs:

https://ci.debian.net/packages/r/rpmlint/testing/amd64/67125660/

 39s test/test_cli.py:109: 
 39s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 39s rpmlint/lint.py:109: in run
 39s     return self._run()
 39s            ^^^^^^^^^^^
 39s rpmlint/lint.py:74: in _run
 39s     
self.validate_installed_packages(self._load_installed_rpms(self.options['installed']))
 39s                                      
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 39s rpmlint/lint.py:170: in _load_installed_rpms
 39s     pkg = get_installed_pkgs(name)
 39s           ^^^^^^^^^^^^^^^^^^^^^^^^
 39s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 39s 
 39s name = 'rpm'
 39s 
 39s     def get_installed_pkgs(name):
 39s         """Get list of installed package objects by name."""
 39s     
 39s         pkgs = []
 39s         ts = rpm.TransactionSet()
 39s         if re.search(r'[?*]|\[.+\]', name):
 39s             mi = ts.dbMatch()
 39s             mi.pattern('name', rpm.RPMMIRE_GLOB, name)
 39s         else:
 39s >           mi = ts.dbMatch('name', name)
 39s                  ^^^^^^^^^^^^^^^^^^^^^^^^
 39s E           _rpm.error: rpmdb open failed
 39s 
 39s rpmlint/pkg.py:754: error
 39s ----------------------------- Captured stderr call 
-----------------------------
 39s error: Unable to open sqlite database /var/lib/rpm/rpmdb.sqlite: unable to 
open database file
 39s error: cannot open Packages index using sqlite - Operation not permitted 
(1)
 39s error: cannot open Packages database in /var/lib/rpm
 

Reply via email to