rpm -e problem: specifies multiple packages
Hi, I have the following problem: # rpm -q lame lame-3.96.1-pm.1 lame-3.96.1-pm.1 # rpm -e lame error: "lame" specifies multiple packages How can I solve this? The smart package manager hangs when trying to remove the package and I can't get it deleted on the commandline. Already did a rpm rebuild db. Best regards, Aschwin Marsman -- aschwin@marsman.org http://www.marsman.org
On Monday 31 October 2005 23:43, Aschwin Marsman wrote:
I have the following problem:
# rpm -q lame lame-3.96.1-pm.1 lame-3.96.1-pm.1 # rpm -e lame error: "lame" specifies multiple packages
How can I solve this? The smart package manager hangs when trying to remove the package and I can't get it deleted on the commandline.
Already did a rpm rebuild db.
Hi Aschwin, Have you checked to see what shows up in the "Install and Remove Software" (now "Software Management") module in YaST? I understand it's a GUI layered on top of rpm, but since rpm is basically a fixed application relational database management system, sometimes the GUI provides just the needed "broad view" during forensics... it is simply easier to "browse" the database in the GUI. Select "Package Groups" in the left pane, scroll to the bottom and select "zzz all" and all the packages, installed and not, will be displayed in the right-hand pane. Scroll down to lame and see what's listed. If there are two, try selecting *both* for removal. That's the best I can do for tonight. I'll catch up with the list tomorrow and good luck! regards, - Carl
On Tue, 1 Nov 2005, Carl Hartung wrote:
On Monday 31 October 2005 23:43, Aschwin Marsman wrote:
I have the following problem:
# rpm -e lame error: "lame" specifies multiple packages
How can I solve this? The smart package manager hangs when trying to remove the package and I can't get it deleted on the commandline.
Have you checked to see what shows up in the "Install and Remove Software" (now "Software Management") module in YaST? I understand it's a GUI layered on top of rpm, but since rpm is basically a fixed application relational database management system, sometimes the GUI provides just the needed "broad view" during forensics... it is simply easier to "browse" the database in the GUI. Select "Package Groups" in the left pane, scroll to the bottom and select "zzz all" and all the packages, installed and not, will be displayed in the right-hand pane. Scroll down to lame and see what's listed. If there are two, try selecting *both* for removal. That's the best I can do for tonight. I'll catch up with the list tomorrow and good luck!
I tried YaST, removed lame and installed it again, that worked, thanks. In another reply Robert Schiele wrote: # rpm -e --allmatches lame This is what I will try next time, thanks for the hint. I can't try it now. How can this happen? (rpm thinking that the same package is installed twice).
regards,
- Carl
Best regards, Aschwin Marsman -- aschwin@marsman.org http://www.marsman.org
On Tuesday 01 November 2005 04:35, Aschwin Marsman wrote: <snip>
I tried YaST, removed lame and installed it again, that worked, thanks.
Well, Aschwin, that's a bit of good luck. I've only had the problem you've described twice and the YaST approach I suggested worked once, not both times. ;-)
How can this happen? (rpm thinking that the same package is installed twice).
At the end of the day, my impression was that I introduced that error while trying to be too "surgical" with apt, YaST and CLI rpm. At least, the only time I've seen that error is after I've done something fancy. ;-) Glad it worked out for you, though. - Carl
On Tue, 1 Nov 2005, Aschwin Marsman wrote:
I tried YaST, removed lame and installed it again, that worked, thanks.
In another reply Robert Schiele wrote: # rpm -e --allmatches lame
This is what I will try next time, thanks for the hint. I can't try it now.
"rpm -e --allmatches openvpn" works perfectly as expected. I had the same problem again this morning, multiple openvpn and snort packages. I use smart for my package management and it looks promising to me. I currently use "smart-0.40-10.guru.suse100". It looks like smart is giving me those multiple installed packages. When I search in smart for snort, I see it two times (one package is on two locations): http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.base/snort-2.3.3-2... http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.security/snort-2.3... http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.update/snort-2.3.3... Is this a smart problem or a problem with the apt repositories? When smart is trying to update e.g. snort it hung, I needed to kill it. Are the you maintainers looking at smart? Best regards, Aschwin Marsman -- webmaster@onlinefotoservices.nl http://www.onlinefotoservices.nl
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Aschwin Marsman wrote:
I tried YaST, removed lame and installed it again, that worked, thanks. In another reply Robert Schiele wrote: # rpm -e --allmatches lame This is what I will try next time, thanks for the hint. I can't try it now. "rpm -e --allmatches openvpn" works perfectly as expected. I had the same
On Tue, 1 Nov 2005, Aschwin Marsman wrote: problem again this morning, multiple openvpn and snort packages.
I use smart for my package management and it looks promising to me. I currently use "smart-0.40-10.guru.suse100". It looks like smart is giving me those multiple installed packages. When I search in smart for snort, I see it two times (one package is on two locations): http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.base/snort-2.3.3-2... http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.security/snort-2.3... http://ftp.gwdg.de/pub/linux/suse/apt/SuSE/10.0-i386/RPMS.update/snort-2.3.3... Is this a smart problem or a problem with the apt repositories?
It's not a smart problem per se. In my latest smart package (0.40-10), I also added the security and update APT components. When you do a "search" it shows you all the hits. We're currently discussing that on the smart mailing-list. IMHO smart should either - - "search foo" => only show the package names, but then only once - - "search -v foo" => also show the version - - "search -c foo" => also show the channel (and hence, show them all) Now if, when you do a "install snort", smart installs multiple copies of snort, then it's definately a bug. If you can reproduce it, please do file a bug: http://labix.org/smart
When smart is trying to update e.g. snort it hung, I needed to kill it. How long did you wait ? It was probably hanging on the socket with ftp.gwdg.de The default value for socket timeout is 120 seconds. You can change that by modifying the "socket-timeout" config parameter: smart config --set socket-timeout=30
Are the you maintainers looking at smart? I don't think so... Christoph ?
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\
On Tue, Nov 01, 2005 at 05:43:01AM +0100, Aschwin Marsman wrote:
Hi,
I have the following problem:
# rpm -q lame lame-3.96.1-pm.1 lame-3.96.1-pm.1 # rpm -e lame error: "lame" specifies multiple packages
How can I solve this? The smart package manager hangs when trying to remove the package and I can't get it deleted on the commandline.
# rpm -e --allmatches lame Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
On Monday 31 October 2005 11:43 pm, Aschwin Marsman wrote:
Hi,
I have the following problem:
# rpm -q lame lame-3.96.1-pm.1 lame-3.96.1-pm.1 # rpm -e lame error: "lame" specifies multiple packages
How can I solve this? The smart package manager hangs when trying to remove the package and I can't get it deleted on the commandline.
Already did a rpm rebuild db.
Best regards,
Aschwin Marsman =========
Try rpm -e --justdb <package>
BandiPat
Try rpm -e --justdb <package>
That will only delete a package from the rpm database and is in most cases *not* what you want because you now have files that don't belong to any package. Philipp
participants (6)
-
Aschwin Marsman
-
BandiPat
-
Carl Hartung
-
Pascal Bleser
-
Philipp Thomas
-
Robert Schiele