LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-28-2002, 10:37 AM   #1
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Rep: Reputation: 30
Unhappy Cannot load KDE2


I messed up and trying to update freetype. I screwed-up on making teh ln -s. Now I can't load KDE2. I'm told I should uninstall the freetype rpm that came with the distro, then re-install it and things shoudl be fine. I was told to use the command rpm -e filenamehere.rpm. I get the message that the program is not installed. Yet, if I try to install the rpm from CD, I'm told the program is already installed???

I remember something that there is a DB with all the rpm's installed listed, where can I find this, and can I delete the line for freetype then re-install?

Thanks all,

Erik
 
Old 06-28-2002, 11:25 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Try rpm -Uvh filename.rpm

I believe that is the command to "update" the existing install, or install if there isn't one. Check man rpm to make sure, but I think that's right.
 
Old 06-28-2002, 11:57 AM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
if it will not work try forcing it with

--force
 
Old 06-28-2002, 12:01 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
or if you want to uninstall first

example:

uninstall a package named package-2.1-31.rpm

rpm -e package
 
Old 06-28-2002, 12:46 PM   #5
jglen490
Member
 
Registered: Apr 2002
Location: The next brick house on the right.
Distribution: Kubuntu 18.04, Bodhi 5.0
Posts: 691

Rep: Reputation: 45
Quote:
I get the message that the program is not installed. Yet, if I try to install the rpm from CD, I'm told the program is already installed???
Sometimes the fix to this is to run:

rpm --rebuilddb

This re-builds the rpm database. I've run into the situation myself, and re-building usually works. Once you've done that, then try to remove and re-install the package.
 
Old 06-29-2002, 10:37 AM   #6
Cichlid
Member
 
Registered: Jan 2002
Location: Montreal
Distribution: Ubuntu 8.10
Posts: 178

Original Poster
Rep: Reputation: 30
Tried all suggestions and ...

Well, I tried all the suggestions given above, and nothign worked. When I try to uninstall the package, it tells me that the package is not installed. AND if I try to install it, it tells me that the package is already installed!

I know that package is installed, but I messed up one of the links, that is why I need to reinstall.

I tried the --force, and it still would not install. I may just do a clean install of teh OS anyway. I'm still very new at Linux and was just sorta learning the ropes anyway.

Course, please still do give suggestions on how to fix my problem. I want to try and save what I have before I lose it and format.

Thanks,

Erik
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE2 and Microsoft Virtual PC race Debian 2 10-29-2004 08:01 AM
KDE3 and KDE2 on same box RodDog Linux - Software 0 05-06-2002 10:50 PM
kde2.2 and RedHat 7.1 jayhawk88 Linux - Newbie 1 11-15-2001 04:37 PM
Fonts in KDE2 subnet_rx Linux - General 0 10-06-2001 03:31 PM
KDE2 Fred Linux - General 1 12-20-2000 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:10 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