LinuxQuestions.org
Help answer threads with 0 replies.
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 03-31-2006, 07:55 AM   #1
qscomputing
Member
 
Registered: May 2005
Distribution: Mandriva 2006 Free
Posts: 67

Rep: Reputation: 15
Uninstalled too many packages, but don't know what to put back


Hi all,

OK, this is probably a very strange request. I discovered that my Linux HD was almost completely full, so I decided to go through my system and remove what I don't need. As I use Mandriva 2006 Free, my first port of call was the remove packages part of MCC.

I removed quite a lot of packages and all seemed well... until I tried to reboot my machine. I then noticed that none of the following were working:
1. Mounting my vfat and ntfs partitions.
2. Detecting the filesystem of a CDROM and mounting it.
3. Network (iwconfig is gone).
4. USB.
5. ACPI, or something related to it, as my battery monitor is not working.
6. Judging from the boottime messages, ALSA.

I know why these things are missing (I was daft enough to uninstall them!), but I can't remember what I uninstalled, and I was daft enough not to keep a log (unless it creates one automatically). So, can anyone suggest which packages I might have accidentally uninstalled, so that I can install them again?

I think I may have a Knoppix CD lying around somewhere, so I can still get data in and out of my computer. I will post the output of rpm -qa later, when I can find the Knoppix disk.

Apologies for the strange question; let me know if there's any more useful info I can provide as I'm sure to have missed something out. :-)

Oh, and is this the right part of the forum?

Thanks very much,
- QS Computing.
 
Old 03-31-2006, 08:40 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Take a look in /var/adm/rpm/backup/rpmdb. That's where rpm stores backup copies of rpms rebuilddb command. Create two tmp directories somewhere. Copy one of the Packages.tar.gz from before (into one directory) and one from after into the other directory. Might be a good idea to run rebuilddb now to be sure you will have an after snapshot. Unpack the two packages. Then run diff on the two directories to see what was there before and what's there now.
 
Old 03-31-2006, 09:54 PM   #3
qscomputing
Member
 
Registered: May 2005
Distribution: Mandriva 2006 Free
Posts: 67

Original Poster
Rep: Reputation: 15
That directory doesn't exist for me, but I found the list of RPMs I removed in the system log. I can't seem to find my Knoppix disk, but is there any way to run RPM on my system directly from the Mandriva rescue console?

Thanks very much.
 
  


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
cant figure out how to put my wifi icon back? blackspade Linux - Software 0 01-23-2006 12:22 AM
Uninstalled GRUB, need it back tauhshi Linux - Newbie 1 01-03-2006 08:25 PM
How do you get back into Ubuntu if you don't put Grub on the MBR? Marrea Ubuntu 7 07-21-2005 06:27 AM
no uninstalled packages in my rpmdatabase, using apt... Mayco Fedora 0 12-14-2004 08:45 AM
Reduce memory to install? Put back after? What? pvdl Linux - Hardware 5 10-15-2004 12:46 AM

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

All times are GMT -5. The time now is 10:02 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
Open Source Consulting | Domain Registration