Quantcast

Maximum PC

It is currently Wed Apr 16, 2014 12:47 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: uninstall rpm? rpm -e doesnt work
PostPosted: Mon Jan 17, 2005 7:35 pm 
8086
8086

Joined: Fri Sep 03, 2004 4:56 pm
Posts: 10
Location: In lala land...
I've been trying to get my wireless LAN working on my laptop running Fedora Core 1. After trying a bunch of different places online I found that I needed to install the kernel-source file corresponding to my kernel and then install the drivers. I downloaded and begun installation of the kernel-source file and when it asked for my fedora disc two, I put it in the drive, but it wouldnt recognize my CD. I had no choice but to restart the system. I couldn't restart the package installation because it said the package was already installed. But its a corrupt installation and I cannot for the life of me get it to uninstall so I can reinstall it. Any help is apprieciated.

Thanks


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jan 17, 2005 8:41 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
try rpm -e --nodeps

If you want to you can do a rpm -ivh --force

which should force the installation IIRC.

btw: why are you still farting with Core 1??

and what kind of NIC do you have?? Because you may not need to load anything there.


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jan 17, 2005 8:53 pm 
8086
8086

Joined: Fri Sep 03, 2004 4:56 pm
Posts: 10
Location: In lala land...
Because I have dialup and cant bring myself to download around 2.5 gb worth of new software yet...

I'll try that thanks.


Top
  Profile  
 
 Post subject:
PostPosted: Mon Jan 17, 2005 10:55 pm 
8086
8086

Joined: Fri Sep 03, 2004 4:56 pm
Posts: 10
Location: In lala land...
I tried this:

Code:
rpm -e --nodeps kernel-source-2.4.22-1.2115.nptl.i386


and get this:

Code:
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm


I tried it under root (using the su command) and it just sat there and never did anything after about 30 minutes I just closed it out. What can be going on?


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 6:28 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
I would probably log in as root instead of going through SU seeming how that doesn't appear to be working.

You should be seeing at least some activity there, but admited, unpacking the sources can take some time.

Thinking about this, you should be able to just reinstall with a

RPM -Uvh whatever_kernel.rpm

What you're posting is really pointing at another rpm process having ahold of the database, usually fixed with a reboot, or it's not seeing you as root (why not through SU, I'm not sure)


Top
  Profile  
 
 Post subject:
PostPosted: Tue Jan 18, 2005 9:26 pm 
8086
8086

Joined: Fri Sep 03, 2004 4:56 pm
Posts: 10
Location: In lala land...
I have no clue what I am doing wrong. I tried logging in as root but the command you posted isn't working either. Nor will it uninstall as root. It continues to just sit on that screen with no hdd activity and no output in the console.

I've rebooted it a few times since i've posted but that doesn't seem to be working either :(


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group