LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2003, 03:37 PM   #1
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Rep: Reputation: 30
Rpm -e


I am tryin to erase freetype-2.1.3-6 but it gives me this error:
Code:
error: Failed dependencies:
        libttf.so.2 is needed by (installed) VFlib2-2.25.6-10
        libttf.so.2 is needed by (installed) ghostscript-7.05-32.1
        libttf.so.2 is needed by (installed) php-4.2.2-17.2
Is there ne way that I can leave that file there because I have a later version of Freetype installed.
 
Old 08-14-2003, 04:21 PM   #2
israel
Member
 
Registered: Mar 2003
Location: Canada
Distribution: Slackware 8.1
Posts: 74

Rep: Reputation: 15
hello

I had that problem before and i relized that i had to delete some dependencies first in this case u have to delete VFlib2-2.25.6-10,
ghostscript-7.05-32.1 and php-4.2.2-17.2

i dont think is a good idea to get rid off php but if you dont use it go for it
i use php for my web server and it is pretty cool programing language
 
Old 08-14-2003, 05:02 PM   #3
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
Is there ne way that I can leave that file there because I have a later version of Freetype installed.
I don't understand

If you want to upgrade freetype, you would do it like this:
Code:
rpm -Uvh <myNewRPM>
 
Old 08-14-2003, 05:32 PM   #4
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
I installed it a while a go and I only need the newer one + a program wont work properly unless I only have one version and yeah I cant delete PHP cuz eventually I am gunna need it for a web server.
 
Old 08-14-2003, 06:19 PM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
And both of them are RPMs...

Type the following command and post the output:
Code:
rpm -qa | grep freetype
 
Old 08-14-2003, 06:28 PM   #6
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
did that and it said:
Code:
freetype-2.1.4-1
freetype-2.1.3-6
freetype-devel-2.1.4-1
I needed the Devel for XFree86-Devel
 
Old 08-14-2003, 06:43 PM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Two of them...

I guess you could remove the old RPM by ignoring the dependencies.
Code:
rpm -e --nodeps <myRPM>
NOTE: I don't encourage breaking dependencies
You may get errors ... ... I just don't know.
 
Old 08-14-2003, 06:58 PM   #8
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
so there is no way of just leavin that file?
 
Old 08-14-2003, 07:25 PM   #9
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
well If I cant where is the RPM configuration file located?
 
Old 08-14-2003, 07:33 PM   #10
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
I no longer understand

You mentioned that you wanted to remove freetype-2.1.3-6.
You can do that by using the --nodeps option.
 
Old 08-14-2003, 08:31 PM   #11
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
yeah but the program that I need to work says that I can edit some RPM configuration file to make it work instead of removin it cuz Id profer no to break ne dependencies
 
Old 08-16-2003, 08:23 PM   #12
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
I uninstalled the newer version and am now tryin to reinstall it with the -Uvh command but it said the same thing as when I tried to uninstall the older version
 
Old 08-16-2003, 08:42 PM   #13
SnowSurfAir
Member
 
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459

Original Poster
Rep: Reputation: 30
never mind
 
Old 08-17-2003, 02:44 AM   #14
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
u can try doing this
rpm -e --nodeps <ur RPM>

this will not check any dependencies.
 
  


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
rpm -Uvh does not work with header & rpm files in /var/spool/up2date jd_no7 Linux - Software 1 05-17-2004 06:24 PM
How do I force an older rpm to install over a newer rpm of wine onyx Linux - Software 4 02-20-2004 01:44 AM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 08:19 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM


All times are GMT -5. The time now is 06:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration