LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 01-04-2007, 04:52 PM   #1
Les Nagy
LQ Newbie
 
Registered: Jan 2007
Location: Ontario Canada
Distribution: Fedora Core 6
Posts: 3

Rep: Reputation: 0
Installed package for another distro by accident, how to clean?


I am a fairly green user of Linux, but not too green that I couldn't get myself into trouble.

I think I did a big no no and put myself in a bit of a predicament. In trying to get a cinepaint full installation working I installed a package that was not intended for FC6 by accident. It will now not uninstall. Yum returns this error:
*** /var/tmp/rpm-tmp.46788: line 1: /sbin/postun_ldconfig: No such file or directory
*** error: %postun(libcinepaint-0.21.2-alt1.i586) scriptlet failed, exit status 127

This failure to remove the package prevents me from installing the correct cinepaint as I get this error:
file /usr/lib/libcinepaint.so.0.0.21 from install of cinepaint-0.21-0 conflicts with file from package libcinepaint-0.21.2-alt1

Please can someone help me clean this up?
 
Old 01-04-2007, 04:55 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,694

Rep: Reputation: 45
as root 'rpm -e libcinepaint'
 
Old 01-04-2007, 05:08 PM   #3
Les Nagy
LQ Newbie
 
Registered: Jan 2007
Location: Ontario Canada
Distribution: Fedora Core 6
Posts: 3

Original Poster
Rep: Reputation: 0
thank you for the suggestion but.....

[root@localhost les]# rpm -e libcinepaint
/var/tmp/rpm-tmp.22506: line 1: /sbin/postun_ldconfig: No such file or directory
error: %postun(libcinepaint-0.21.2-alt1.i586) scriptlet failed, exit status 127
 
Old 01-04-2007, 09:37 PM   #4
Les Nagy
LQ Newbie
 
Registered: Jan 2007
Location: Ontario Canada
Distribution: Fedora Core 6
Posts: 3

Original Poster
Rep: Reputation: 0
I found my own answer. The file "/sbin/postun_ldconfig" did not exist and was causing the uninstall script to fail. Being a bit adventurous I figured I could do no harm in adding one that did something benign. So I made a file with one command inside that I thought would match what was expected from the name of the file, namely it just calls /sbin/ldconfig

It worked and the broken install uninstalled and I can now install the proper cinepaint from the release candidate rpm.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
chsh accident; big accident. shinystuffrox *BSD 3 06-06-2005 07:06 AM
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 02:15 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
package clean-up mpelts Slackware 5 08-01-2003 08:04 PM


All times are GMT -5. The time now is 03:56 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration