search for: librpm

Displaying 20 results from an estimated 30 matches for "librpm".

2014 Nov 24
5
[PATCH] rpm: use librpm's rpmvercmp
Bind and use rpmvercmp to compare versions of packages when sorting them, instead of an own string-based comparison function. --- src/librpm-c.c | 12 ++++++++++++ src/librpm.ml | 1 + src/librpm.mli | 1 + src/rpm.ml | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/librpm-c.c b/src/librpm-c.c index 1ae3bad..fc847d6 100644 --- a/src/librpm-c.c +++ b/src/librpm...
2019 Jan 23
2
[supermin PATCH 1/2] rpm: extend the Multiple_matches exception
Add the package that raised the issue, so it can be used to provide better diagnostic. --- src/librpm-c.c | 15 ++++++++++----- src/librpm.ml | 4 ++-- src/librpm.mli | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/src/librpm-c.c b/src/librpm-c.c index 3bd25a2..75ca4d7 100644 --- a/src/librpm-c.c +++ b/src/librpm-c.c @@ -66,10 +66,1...
2019 Apr 12
6
[supermin PATCH 0/5] rpm: fix package selection w/ multilib
...esolving 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 ++++++++++ src/librpm.ml | 1 + src/librpm.mli | 3 +++ src/ph_rpm.ml | 44 ++++++++++++++++++++++++++++++++++++++------ src/utils.ml | 27 --------------------------- src/utils.mli | 3 --- 6 files changed, 52 insertions(+), 36 deletions(-) -- 2.20.1
2015 Oct 13
6
[PATCH 0/4] rpm: Choose providers better (RHBZ#1266918).
Fix for https://bugzilla.redhat.com/show_bug.cgi?id=1266918
2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...e one that got upstream does not work in ibm-powerkvm due to the >>>> rpm_is_avaiable verification >>>> in the detection (I've attached the wrong version in bugzilla). >>> the new version of the patch is somehow confusing. supermin >= 5.1.12 >>> uses librpm to query for rpm dependencies, file listing, provides, etc. >>> If rpm_is_available returns false, that means you built without librpm, >>> and that supermin will not really work. Did you tried running the test >>> suite (`make check`)? >>> >> These are the...
2014 Sep 17
4
[PATCH 0/2] supermin: use librpm for rpm support
...rpm systems, feedback of any kind is more than welcome. Pino Toscano (2): package handlers: add possibility for final teardown rpm: use the rpm library instead of invoking rpm configure.ac | 4 + src/Makefile.am | 7 +- src/dpkg.ml | 1 + src/librpm-c.c | 463 ++++++++++++++++++++++++++++++++++++++++++++++++ src/librpm.ml | 51 ++++++ src/librpm.mli | 48 +++++ src/package_handler.ml | 10 ++ src/package_handler.mli | 10 ++ src/pacman.ml | 1 + src/rpm.ml | 218...
2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...rique Barboza wrote: >> The one that got upstream does not work in ibm-powerkvm due to the >> rpm_is_avaiable verification >> in the detection (I've attached the wrong version in bugzilla). > the new version of the patch is somehow confusing. supermin >= 5.1.12 > uses librpm to query for rpm dependencies, file listing, provides, etc. > If rpm_is_available returns false, that means you built without librpm, > and that supermin will not really work. Did you tried running the test > suite (`make check`)? > These are the results of make check in the system I...
2015 Apr 02
2
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...work in ibm-powerkvm due to the >>>>>> rpm_is_avaiable verification >>>>>> in the detection (I've attached the wrong version in bugzilla). >>>>> the new version of the patch is somehow confusing. supermin >= 5.1.12 >>>>> uses librpm to query for rpm dependencies, file listing, provides, etc. >>>>> If rpm_is_available returns false, that means you built without librpm, >>>>> and that supermin will not really work. Did you tried running the test >>>>> suite (`make check`)? >>&gt...
2019 Jan 23
0
[supermin PATCH 2/2] Print Librpm.Multiple_matches exceptions
...64 100644 --- a/src/supermin.ml +++ b/src/supermin.ml @@ -298,6 +298,8 @@ let () = error "error: %s: %s: %s" fname (Unix.error_message code) param | Failure msg -> (* from failwith/failwithf *) error "failure: %s" msg + | Librpm.Multiple_matches (package, count) -> (* from librpm *) + error "RPM error: %d occurrences for %s" count package | Invalid_argument msg -> (* probably should never happen *) error "internal error: invalid argument: %s" msg | Assert_failure (file, l...
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...>> The one that got upstream does not work in ibm-powerkvm due to the > >> rpm_is_avaiable verification > >> in the detection (I've attached the wrong version in bugzilla). > > the new version of the patch is somehow confusing. supermin >= 5.1.12 > > uses librpm to query for rpm dependencies, file listing, provides, etc. > > If rpm_is_available returns false, that means you built without librpm, > > and that supermin will not really work. Did you tried running the test > > suite (`make check`)? > > > > These are the results o...
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...eam does not work in ibm-powerkvm due to the > >>>> rpm_is_avaiable verification > >>>> in the detection (I've attached the wrong version in bugzilla). > >>> the new version of the patch is somehow confusing. supermin >= 5.1.12 > >>> uses librpm to query for rpm dependencies, file listing, provides, etc. > >>> If rpm_is_available returns false, that means you built without librpm, > >>> and that supermin will not really work. Did you tried running the test > >>> suite (`make check`)? > >>> &g...
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...gt;>>>> rpm_is_avaiable verification >>>>>>> in the detection (I've attached the wrong version in bugzilla). >>>>>> the new version of the patch is somehow confusing. supermin >= >>>>>> 5.1.12 >>>>>> uses librpm to query for rpm dependencies, file listing, >>>>>> provides, etc. >>>>>> If rpm_is_available returns false, that means you built without >>>>>> librpm, >>>>>> and that supermin will not really work. Did you tried running the...
2019 Jan 22
4
Fedora 29 guestfish not working
.../udev- rules.tar.gz type gzip base image (tar) supermin: build: visiting /usr/lib64/guestfs/supermin.d/zz-packages-xfs type uncompressed packages supermin: mapping package names to installed packages supermin: resolving full list of package dependencies supermin: exception: Librpm.Multiple_matches(2) libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt] libguestfs: closing g...
2019 Jan 22
0
Re: Fedora 29 guestfish not working
...ype gzip base image (tar) > supermin: build: visiting /usr/lib64/guestfs/supermin.d/zz-packages-xfs > type uncompressed packages > supermin: mapping package names to installed packages > supermin: resolving full list of package dependencies > supermin: exception: Librpm.Multiple_matches(2) Ouch, yes, that's a new bug we've not seen before ... It's caused by librpm returning an unexpected value, but I'm not sure why: https://github.com/libguestfs/supermin/blob/1ed4bdd4d782d8f94b197283866cf24f86f7869b/src/librpm-c.c...
2015 Apr 01
4
[PATCH] Adding ibm-powerkvm distro detection (the right one)
The one that got upstream does not work in ibm-powerkvm due to the rpm_is_avaiable verification in the detection (I've attached the wrong version in bugzilla). Thanks and sorry for the confusion, Daniel
2006 Jun 21
2
yum and python. grief and grief. CentOS 4.3
...D I become too spoilt, but I expect that packages from one distribution kit works among themselves well. But that I see: $ rpm -qa | grep rpm rpm-libs-4.3.13_nonptl rpm-python-4.3.13_nonptl rpm-4.3.13_nonptl rpm-build-4.3.13_nonptl $python >>> import rpm ImportError /usr/lib/librpm-4.3.so: undefined symbol: rpm_execcon Thanks.
2015 Apr 02
0
Re: [PATCH] Adding ibm-powerkvm distro detection (the right one)
...16:37:26 Daniel Henrique Barboza wrote: > The one that got upstream does not work in ibm-powerkvm due to the > rpm_is_avaiable verification > in the detection (I've attached the wrong version in bugzilla). the new version of the patch is somehow confusing. supermin >= 5.1.12 uses librpm to query for rpm dependencies, file listing, provides, etc. If rpm_is_available returns false, that means you built without librpm, and that supermin will not really work. Did you tried running the test suite (`make check`)? -- Pino Toscano
2019 Jan 23
0
Re: Fedora 29 guestfish not working
Hi, On Tuesday, 22 January 2019 19:03:36 CET CHANU ROMAIN wrote: > supermin: resolving full list of package dependencies > supermin: exception: Librpm.Multiple_matches(2) > libguestfs: error: /usr/bin/supermin exited with error status 1, see > debug messages above This happens because librpm reports more than 1 RPM matching a NEVRA (Name/Epoch/Version/Release/Architecture), e.g. bash-4.4.23-6.fc29.x86_64. Unfor...
2005 Aug 08
1
Missing dependencies for HA
CentOS 4.1 and Heartbeat 2.0.0. I'm trying to install the rpm's for heartbeat and heartbeat-stonith and get these failed dependencies. error: Failed dependencies: libcrypto.so.0.9.7 is needed by heartbeat-2.0.0-1.i586 libnet.so.0 is needed by heartbeat-2.0.0-1.i586 librpm-4.1.so is needed by heartbeat-2.0.0-1.i586 librpmdb-4.1.so is needed by heartbeat-2.0.0-1.i586 librpmio-4.1.so is needed by heartbeat-2.0.0-1.i586 libcrypto.so.0.9.7 is needed by heartbeat-stonith-2.0.0-1.i586 I tried looking for them under Fedora 3 and 4 without any luck....
2020 May 16
1
Stuck Centos 7 to 8 upgrade
...-tvheadend-stable 0.0? B/s |?? 0? B???? 00:00 Failed to synchronize cache for repo 'bintray-tvheadend-stable', ignoring this repo. Last metadata expiration check: 0:03:11 ago on Sat 16 May 2020 12:30:47 PM CDT. Error: ?Problem 1: package python3-hawkey-0.35.1-9.el8_1.x86_64 requires librpm.so.8()(64bit), but none of the providers can be installed ? - package python3-hawkey-0.35.1-9.el8_1.x86_64 requires librpmio.so.8()(64bit), but none of the providers can be installed ? - package python3-dnf-plugins-core-4.0.8-3.el8.noarch requires python3-hawkey >= 0.34.0, but none of the pr...