Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ. |
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.
|
|
09-17-2004, 06:35 PM
|
#1
|
LQ Newbie
Registered: Sep 2004
Distribution: SuSE 9.1
Posts: 9
Rep:
|
SuSE 9.1 Pro, Yast shows no packages installed!
I've got a really strange situation. I recently did an install of SuSE 9.1 Pro, and when I did so, I went ahead and selected for every package to be installed, since I had the space and didn't want to mess around later.
Everything seems to be fine. However, I noticed today when trying to troubleshoot a minor problem that somethign was very odd. According to Yast, I have no packages installed. At all. When I go to the "zzAll" selection on the list, nothing shows up as checked off. Obviously, since the system is running and I'm typing this, the packages are there. But Yast isn't seeing them.
What's more is, since it's not seeing them, installing ANYTHING through Yast means it wants to install a SLEW of "dependent" packages -- packages which are already installed but it thinks aren't. For example, (re-) installing kaffeine this afternoon required 30 minutes of package loading as Yast selected pretty much every single package that was tangentially connected to kaffeine to reinstall. Afterwards, going into Yast show still nothing is installed, including kaffeine (which of course really is installed).
What can I do to make it go through and correctly determine what is and isn't there? Any idea what could have caused this? I'll do a reinstall if needed, but I'm hoping there's an easy way around this. Google and forum searches didn't turn up a similar problem. Please help!
|
|
|
09-17-2004, 08:23 PM
|
#2
|
LQ Newbie
Registered: Sep 2004
Distribution: SuSE 9.1
Posts: 9
Original Poster
Rep:
|
Follow-up. I found another thread where someone had this problem, but it looks like no one was able to help that person either. I tried doing updatedb as su, but it gave me a bunch of "Permission denied" errors and did not solve the problem.
Searching on Google I found out that Yast stores package info in
/var/lib/YaST2/you/mnt/
which is empty on my machine.
Surely there's SOME way to get Yast to reacquire package info!
|
|
|
09-18-2004, 12:29 PM
|
#3
|
LQ Newbie
Registered: Sep 2004
Distribution: SuSE 9.1
Posts: 9
Original Poster
Rep:
|
Well, some more digging and Googling and mucking about and I seem to have solved the problem! And me, a complete neophyte!
Here's the solution:
As root, head over to /usr/lib/rpm
Create a backup directory somewhere. I made /home/dave/dbbak
Move all of the rpmdb_ files to that directory. For me, this was:
mv rpmdb_* /home/dave/dbbak
Now rebuild the rpm database with this command:
rpm --rebuilddb
It'll take a few minutes, so be patient.
It finished, I went into YaST, and there were my packages.
Hope this helps someone in a similar bind!
|
|
|
06-14-2005, 11:09 AM
|
#4
|
Member
Registered: Jun 2005
Posts: 82
Rep:
|
Hah! Youre lucky.
/var/lib/rpm contains no rpmdb__ files
Yast shows nothing
And rpm --rebuilddb
CRASHES, yes thats right, HANGS my machine completely.
And all I did was wipe (by accident) that var/opt/yast whatever wherever YaST stores its patches - cuz I have them all completely downloaded, thought I could just put it in there, silly me!
HELp!?
|
|
|
All times are GMT -5. The time now is 06:00 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
|
|