search for: dbe3bda

Displaying 4 results from an estimated 4 matches for "dbe3bda".

2020 Aug 26
2
[supermin PATCH] rpm: check for SQLite-based RPM DB
...appliance was always considered out out date. Check for the SQLite-based DB first, falling back to the old format. Signed-off-by: Pino Toscano <ptoscano@redhat.com> --- src/ph_rpm.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml index dbe3bda..0821126 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -234,7 +234,10 @@ let rpm_package_name pkg = rpm.name let rpm_get_package_database_mtime () = - (lstat "/var/lib/rpm/Packages").st_mtime + try + (lstat "/var/lib/rpm/rpmdb.sqlite").st_mtime + with Unix_error...
2020 Aug 27
1
Re: [supermin PATCH] rpm: check for SQLite-based RPM DB
...st, falling back to the old format. > > > > Signed-off-by: Pino Toscano <ptoscano@redhat.com> > > --- > > src/ph_rpm.ml | 5 ++++- > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml > > index dbe3bda..0821126 100644 > > --- a/src/ph_rpm.ml > > +++ b/src/ph_rpm.ml > > @@ -234,7 +234,10 @@ let rpm_package_name pkg = > > rpm.name > > > > let rpm_get_package_database_mtime () = > > - (lstat "/var/lib/rpm/Packages").st_mtime > > + try...
2020 Aug 26
0
Re: [supermin PATCH] rpm: check for SQLite-based RPM DB
...> Check for the SQLite-based DB first, falling back to the old format. > > Signed-off-by: Pino Toscano <ptoscano@redhat.com> > --- > src/ph_rpm.ml | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml > index dbe3bda..0821126 100644 > --- a/src/ph_rpm.ml > +++ b/src/ph_rpm.ml > @@ -234,7 +234,10 @@ let rpm_package_name pkg = > rpm.name > > let rpm_get_package_database_mtime () = > - (lstat "/var/lib/rpm/Packages").st_mtime > + try > + (lstat "/var/lib/rpm/rpm...
2019 Apr 12
6
[supermin PATCH 0/5] rpm: fix package selection w/ multilib
This patch series fixes the way supermin sorts the list of installed packages when resolving a name, picking the right package for the host architecture. Pino Toscano (5): rpm: do not unpack parameters rpm: fix version comparison rpm: query the RPM architecture rpm: fix package sorting (RHBZ#1696822) utils: remove unused 'compare_architecture' function src/librpm-c.c | 10