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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-14-2003, 02:37 PM
|
#1
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Rep:
|
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.
|
|
|
08-14-2003, 03:21 PM
|
#2
|
Member
Registered: Mar 2003
Location: Canada
Distribution: Slackware 8.1
Posts: 74
Rep:
|
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
|
|
|
08-14-2003, 04:02 PM
|
#3
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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>
|
|
|
08-14-2003, 04:32 PM
|
#4
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
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.
|
|
|
08-14-2003, 05:19 PM
|
#5
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
And both of them are RPMs...
Type the following command and post the output:
Code:
rpm -qa | grep freetype
|
|
|
08-14-2003, 05:28 PM
|
#6
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
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
|
|
|
08-14-2003, 05:43 PM
|
#7
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
|
|
|
08-14-2003, 05:58 PM
|
#8
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
so there is no way of just leavin that file?
|
|
|
08-14-2003, 06:25 PM
|
#9
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
well If I cant where is the RPM configuration file located?
|
|
|
08-14-2003, 06:33 PM
|
#10
|
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403
Rep:
|
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.
|
|
|
08-14-2003, 07:31 PM
|
#11
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
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
|
|
|
08-16-2003, 07:23 PM
|
#12
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
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
|
|
|
08-16-2003, 07:42 PM
|
#13
|
Member
Registered: Mar 2003
Distribution: Redhat 9
Posts: 459
Original Poster
Rep:
|
never mind
|
|
|
08-17-2003, 01:44 AM
|
#14
|
Member
Registered: Apr 2003
Location: india
Posts: 144
Rep:
|
u can try doing this
rpm -e --nodeps <ur RPM>
this will not check any dependencies.
|
|
|
All times are GMT -5. The time now is 11:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|