Zypper bug ?, package can be installed but not yet uninstalled. (rpm without problem)
Hi there, i have leap 15.5 here and would like to install an rpm package created with nfpm. When i want to remove the package with zypper rm, i get the error message that this package does not exist. i have no problems of this kind with rpm -i or rpm -e. i can install or uninstall the package without any problems. Question, why does zypper have these problems with uninstalling the package at this point? thx Stefan error: package haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 is not installed (1/1) Removing haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 ....................................................................................................[error] Removal of (176)haproxy-3.0.0~dev-dc0e1ab4-1.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: Command exited with status 1. zypper se -si '/^haproxy/' Loading repository data... Reading installed packages... S | Name | Type | Version | Arch | Repository ---+---------+---------+----------------------+--------+------------------ i+ | haproxy | package | 3.0.0~dev-dc0e1ab4-1 | x86_64 | (System Packages) ldap-proxy-01:~ # rpm -qi haproxy Name : haproxy Epoch : 0 Version : 3.0.0~dev-dc0e1ab4 Release : 1 Architecture: x86_64 Install Date: Wed Dec 20 16:32:39 2023 Group : Converted/net Size : 92333187 License : MIT Signature : (none) Source RPM : haproxy-3.0.0~dev-dc0e1ab4-1.src.rpm Build Date : Wed Dec 20 15:53:23 2023 Build Host : runner-7j1bewjvk-project-35-concurrent-2 Relocations : (not relocatable) Packager : StefanS Vendor : haproxy URL : https://www.haproxy.org Summary : fast and reliable load balancing reverse proxy Description : HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. It features connection persistence through HTTP cookies, load balancing, header addition, modification, deletion both ways. It has request blocking capabilities and provides interface to display server status. This package specifically adds the QuicTLS fork of OpenSSL and enables QUIC frontend support in HAProxy Distribution: (none)
On Thu, Dec 21, 2023 at 12:10 PM
Hi there, i have leap 15.5 here and would like to install an rpm package created with nfpm. When i want to remove the package with zypper rm, i get the error message that this package does not exist. i have no problems of this kind with rpm -i or rpm -e. i can install or uninstall the package without any problems.
Question, why does zypper have these problems with uninstalling the package at this point?
thx Stefan
error: package haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 is not installed (1/1) Removing haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 ....................................................................................................[error] Removal of (176)haproxy-3.0.0~dev-dc0e1ab4-1.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
What about showing the complete output starting with the full command line and subsequent shell prompt so we can be reasonably sure it is really complete. If you make your package available, someone may try to reproduce it.
zypper se -si '/^haproxy/' Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository ---+---------+---------+----------------------+--------+------------------ i+ | haproxy | package | 3.0.0~dev-dc0e1ab4-1 | x86_64 | (System Packages) ldap-proxy-01:~ # rpm -qi haproxy Name : haproxy Epoch : 0 Version : 3.0.0~dev-dc0e1ab4 Release : 1 Architecture: x86_64 Install Date: Wed Dec 20 16:32:39 2023 Group : Converted/net Size : 92333187 License : MIT Signature : (none) Source RPM : haproxy-3.0.0~dev-dc0e1ab4-1.src.rpm Build Date : Wed Dec 20 15:53:23 2023 Build Host : runner-7j1bewjvk-project-35-concurrent-2 Relocations : (not relocatable) Packager : StefanS Vendor : haproxy URL : https://www.haproxy.org Summary : fast and reliable load balancing reverse proxy Description : HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. It features connection persistence through HTTP cookies, load balancing, header addition, modification, deletion both ways. It has request blocking capabilities and provides interface to display server status. This package specifically adds the QuicTLS fork of OpenSSL and enables QUIC frontend support in HAProxy
Distribution: (none)
Hi Andrei, this really seems to be a bug. With Ora Linux 8 with yum also without problems. Where can i drop the package ? @Stephan Neither command solves the problem.
On Thu, 21 Dec 2023, 12:03:10 +0100, sabolowitschst@in-trier.de wrote:
Hi Andrei, this really seems to be a bug. With Ora Linux 8 with yum also without problems. Where can i drop the package ?
@Stephan Neither command solves the problem.
Why don't you show us the exact command you're using? Please include the full log of running that command! Cheers. l8er manfred
Sure Manfred, no problem. zypper -vv rm haproxy Verbosity: 3 Non-option program arguments: 'haproxy' Initializing Target Reading installed packages... Selecting 'haproxy-3.0.0~dev-dc0e1ab4-1.x86_64' for removal. Resolving package dependencies... Force resolution: Yes The following package is going to be REMOVED: haproxy 3.0.0~dev-dc0e1ab4-1 x86_64 haproxy 1 package to remove. After the operation, 88.1 MiB will be freed. Continue? [y/n/v/...? shows all options] (y): committing error: package haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 is not installed (1/1) Removing haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 ....................................................................................................[error] Removal of (176)haproxy-3.0.0~dev-dc0e1ab4-1.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: Command exited with status 1. Abort, retry, ignore? [a/r/i] (a): i CommitResult (total 1, done 1, error 0, skipped 0, updateMessages 0) Checking for running processes using deleted libraries... There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs. rpm -ev haproxy Preparing packages... haproxy-0:3.0.0~dev-dc0e1ab4-1.x86_64
The same, but successful with Ora-8 Linux. yum install haproxy.rpm Letzte Prüfung auf abgelaufene Metadaten: vor 0:17:18 am Do 21 Dez 2023 05:38:03 EST. Abhängigkeiten sind aufgelöst. ======================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================== Installieren: haproxy x86_64 3.0.0~dev-dc0e1ab4-1 @commandline 32 M Transaktionsübersicht ======================================================================================================================== Installieren 1 Paket Gesamtgröße: 32 M Installationsgröße: 88 M Ist dies in Ordnung? [j/N]: j Pakete werden heruntergeladen: Transaktionsüberprüfung wird ausgeführt Transaktionsprüfung war erfolgreich. Transaktion wird getestet Transaktionstest war erfolgreich. Transaktion wird ausgeführt Vorbereitung läuft : 1/1 Installieren : haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Ausgeführtes Scriptlet: haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Überprüfung läuft : haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Installiert: haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 Fertig. [root@localhost ~]# yum remove haproxy Abhängigkeiten sind aufgelöst. ======================================================================================================================== Package Architecture Version Repository Size ======================================================================================================================== Entfernen: haproxy x86_64 3.0.0~dev-dc0e1ab4-1 @System 88 M Transaktionsübersicht ======================================================================================================================== Entfernen 1 Paket Freigegebener Speicherplatz: 88 M Ist dies in Ordnung? [j/N]: j Transaktionsüberprüfung wird ausgeführt Transaktionsprüfung war erfolgreich. Transaktion wird getestet Transaktionstest war erfolgreich. Transaktion wird ausgeführt Vorbereitung läuft : 1/1 Ausgeführtes Scriptlet: haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Löschen : haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Ausgeführtes Scriptlet: haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Überprüfung läuft : haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 1/1 Entfernt: haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 Fertig.
On 2023-12-21 12:17, sabolowitschst@in-trier.de wrote:
Sure Manfred, no problem.
zypper -vv rm haproxy Verbosity: 3 Non-option program arguments: 'haproxy'
You have a curious way of posting shell output "starting with the full command line and subsequent shell prompt so we can be reasonably sure it is really complete." We asked like this example: cer@Telcontar:~/tmp/ot> rpm -q yt-dlp yt-dlp-2023.11.16-150400.2.pm.1.noarch cer@Telcontar:~/tmp/ot> Ie, no editing at all. Of course, you can change the name of your computer, if that's an issue. Remember for next time :-) -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)
Hola Carlos, you're right, but my thoughts are already turning to the holidays :) ldap-proxy-01:~ # rpm -q haproxy haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 ldap-proxy-01:~ #
On 2023-12-21 10:10, sabolowitschst@in-trier.de wrote:
Version : 3.0.0~dev-dc0e1ab4 Release : 1
For posterity, asper https://bugzilla.opensuse.org/show_bug.cgi?id=1218334#c30 this is not a valid version string. Andreas
On 22.12.2023 18:53, Andreas Stieger wrote:
On 2023-12-21 10:10, sabolowitschst@in-trier.de wrote:
Version : 3.0.0~dev-dc0e1ab4 Release : 1
For posterity, asper https://bugzilla.opensuse.org/show_bug.cgi?id=1218334#c30 this is not a valid version string.
Andreas
It is
commit db28221a4a48f6ee3c804c92314330637c808638
Author: Michael Schroeder
Have you rebuild the rpm database: rpm --rebuilddb After that, clean the zypper cache: zypper clean -a Does it work now? Stephan Am Donnerstag, 21. Dezember 2023, 10:10:54 CET schrieb sabolowitschst@in-trier.de:
Hi there, i have leap 15.5 here and would like to install an rpm package created with nfpm. When i want to remove the package with zypper rm, i get the error message that this package does not exist. i have no problems of this kind with rpm -i or rpm -e. i can install or uninstall the package without any problems.
Question, why does zypper have these problems with uninstalling the package at this point?
thx Stefan
error: package haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 is not installed (1/1) Removing haproxy-3.0.0~dev-dc0e1ab4-1.x86_64 ....................................................................................................[error] Removal of (176)haproxy-3.0.0~dev-dc0e1ab4-1.x86_64(@System) failed: Error: Subprocess failed. Error: RPM failed: Command exited with status 1.
zypper se -si '/^haproxy/' Loading repository data... Reading installed packages...
S | Name | Type | Version | Arch | Repository ---+---------+---------+----------------------+--------+------------------ i+ | haproxy | package | 3.0.0~dev-dc0e1ab4-1 | x86_64 | (System Packages) ldap-proxy-01:~ # rpm -qi haproxy Name : haproxy Epoch : 0 Version : 3.0.0~dev-dc0e1ab4 Release : 1 Architecture: x86_64 Install Date: Wed Dec 20 16:32:39 2023 Group : Converted/net Size : 92333187 License : MIT Signature : (none) Source RPM : haproxy-3.0.0~dev-dc0e1ab4-1.src.rpm Build Date : Wed Dec 20 15:53:23 2023 Build Host : runner-7j1bewjvk-project-35-concurrent-2 Relocations : (not relocatable) Packager : StefanS Vendor : haproxy URL : https://www.haproxy.org Summary : fast and reliable load balancing reverse proxy Description : HAProxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments. It features connection persistence through HTTP cookies, load balancing, header addition, modification, deletion both ways. It has request blocking capabilities and provides interface to display server status. This package specifically adds the QuicTLS fork of OpenSSL and enables QUIC frontend support in HAProxy
Distribution: (none)
participants (6)
-
Andreas Stieger
-
Andrei Borzenkov
-
Carlos E. R.
-
Manfred Hollstein
-
sabolowitschst@in-trier.de
-
Stephan Hemeier