LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-26-2006, 05:05 AM   #1
vintermann
LQ Newbie
 
Registered: Jan 2004
Distribution: Fedora
Posts: 28

Rep: Reputation: 15
Removing evil zombie package


Sometime when installing firefox, I have accidentally installed a package called mozilla-firefox-nb, a norwegian localization package that I don't want or need. However, when I try to remove it, I get error: %postun(mozilla-firefox-nb-1.0.2-2mdk.i586) scriptlet failed, exit status 255 ...and the package remains. Using the --force switch produces the same results. The package stays, possibly in a crippled state. What's worse, is that this package needs firefox of a certain version, and it prevents me from upgrading firefox. (It also seems that it cripples firefox each time I try to install it. After urpmi --auto-update, opening firefox just gives me a weird error window. I can supply a screenshot if that helps)

UPDATE: I now get the up-to-date firefox to work, mysteriously, but the zombie package is still there.

Last edited by vintermann; 05-26-2006 at 05:09 AM.
 
Old 05-26-2006, 06:13 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
what about starting with
rpm -q --whatrequires mozilla-firefox-nb
then uninstalling those packages with
rpm -e
 
Old 05-26-2006, 06:25 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I guess you can still uninstall the package but you'll have to do it manually from the commandline (the horror... the horror...).
The first thing you want to do is check what the script comprises of to check if you can fix anything:
"rpm -q --scripts mozilla-firefox-nb|less"
then try uninstalling without using the script sections:
"rpm -e --noscripts mozilla-firefox-nb"
if that doesn't work you should list the packages contents to file:
"rpm -ql mozilla-firefox-nb 2>&1>/tmp/mozilla-firefox-nb.log"
uninstall by only removing the entries from the RPM database:
"rpm -e --noscripts --justdb mozilla-firefox-nb"
and remove the packaged files in /tmp/mozilla-firefox-nb.log by hand.

* Note you should take care to only remove files you are sure are from that package (type "rpm -q --whatrequires /some/file" to see what RPM thinks), and you should note that because this is a manual uninstall the above does not take any dependencies into account. YMMV(VM).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
removing a package?? ayers Linux - Software 3 06-27-2005 04:39 AM
removing a package ?? ayers Linux - Newbie 3 06-27-2005 03:18 AM
Evil sagem fast or evil mandrake???? edgefield Mandriva 17 01-24-2005 03:22 AM
Removing package under Debian Amir21 Linux - Newbie 1 12-01-2004 03:07 PM
removing package vichet Linux - Newbie 1 04-23-2002 07:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration