Click to See Complete Forum and Search --> : trouble installing RPMs


Optiker
10-12-2004, 11:17 AM
I have a freshly installed and operating Mandrake 10 installation, and am delighted that this is the first time after several tries with several computers and different distros, that it went smoothly and everything worked! It even recognized and configured my onboard sound and my USB thumbdrive.

The only downside was that Mandrake 10 - the non-Mandrake Club downloaded version - didn't have most of the programs that my old Mandrake 9 version had. I had ver. 9 on a previous computer, but wasn't using it much because of various problems that ver. 10 solved.

With far fewer programs, I want to install new packages for some of them. I DLed 10-15 Mandrake 10 RPMs from a web site. When I try to select any one of about half of these, I get an error message saying I can't select them as follows...
----------------
Sorry, the following package(s) can't be selected:
scorched3d-37.2-3mdk.i586 (due to unsatisfied libstdc + + .so.6)
-----------------
I'm told that this is because of missing dependencies, and when I went out looking for libstdc + + .so.6, what I found was beyond my Linux expertise. Apparently this is part of some C++ library, but I didn't find anything that made downloading and installing it understandable for a novice like me. Can anybody help me with a step-by-step DL and installation?

Incidentally, the other half let me select, but then I get a message about a bad signature, but I'm told that while there is some danger in ignoring the warning, I can go ahead and install, though haven't done that yet. Will deal with that problem in a separate post if needed.

Thanks!

mrBen
10-12-2004, 11:38 AM
IIRC Mandrake now uses urmpi for package installation, which should resolve all the dependencies for you. I think the syntax is something along the lines of:

urpmi -i <packagename>

but you can check the man page for the details.

This should hopefully download the required dependencies and install them all for you.

HTH

Optiker
10-12-2004, 12:44 PM
MrBen...Thanks! But...

The computer I'm working with is my home computer, and I have a very slow dialup - usually 24k, but if I get real lucky, 26k! :( So, any solution that relies on directly accessing the net, downloading and installing is probably not an option. I was hoping that I could DL needed stuff on my machine at work (T1) and take them home for installation on my home machine.

I will look into the Man pages (when I can figure out how to do that - like I said, I'm a real novice!), but am still hoping somebody can help given the slow dialup limitation.

Thanks again!

Choozo
10-12-2004, 12:58 PM
As for the libstdc issues; You did select the 'Development' packages during installation?
If not, plop in CD1 again and select Upgrade - then add the 'Development' option.

Optiker
10-12-2004, 01:03 PM
Choozo...ah! Good point! I don't recall if I did or not since I didn't anticipate doing any development. I just barely get along in VB and am trying to learn Java, so the development tools I saw didn't exactly ring my bell! However, since I have plenty of HD space, I think I did arbitrarily include them, but will check that when I get home tonight!

Thanks!

deathadder
10-12-2004, 04:20 PM
If you do decide to download the rpms at work, site like rpmfind.net list some of the more common dependencies, I belive, which would help to know, it would really suck to get home from work and realise you can't install it because you havent got everything you need. If that did happen though dont forget to check your mandrake cd's, as you'll probably find they have the dependencies you need.

Optiker
10-13-2004, 09:58 AM
deathadder...good point! Thanks for the tip about looking on the distribution disks. Wouldn't have thought of that.

Incidentally, didn't have time to even turn the computer on at home last night, so will try to get to trying some of the suggestions again tonight.

JayMan8081
10-13-2004, 11:26 AM
If you haven't made any changes to the urpmi configuration it should default to only look at your installation CDs for RPMs. This would mean that you could avoid having to download some of the dependencies if they are on your CDs. There are a couple of good tutorials available on the web about using urpmi. Also try doing a man urpmi. The urpmi package includes other useful commands such as urpmq for searching your current package database. As far as configuring urpmi to use sources off of the web I would recommend this site. (http://easyurpmi.zarb.org/)

Optiker
10-13-2004, 12:09 PM
Jay...Thanks! urpmi is Greek to me! However, I have a feeling that it is referring to the thingy that I use to install RPMs. Being a GUI guy, not a console guy, I have been using something called "system configuration" (I think - working from memory) as root, then something about software management and I get this window that lists sources of RPMs that listed my distro CDs at first. It included CD1-CD4, but since I only had 3 CDs (from my download back in July), I unchecked CD4. Later, after I thought I had all of the packages from the installation CDs, I removed them, and browsed to the folder where I was storing new RPMs (like those mentioned in my original post). Currently, that folder is the only source in that utility - which I assume is the GUI equivalent of urpmi... correct me if that's a bad assumption.

Now, all of that said, I assume I can add my installation CDs back - somehow - but don't know how... can you tell me how to do that? It's obvious from your post and others that I need to do that. Next time I'll know to leave them there.

Finally, I will take your advice and check out the web for tutorials on urpmi, starting with the one you provided the link to.

Thanks again!

Choozo
10-13-2004, 01:14 PM
You should be able to add your CDs in the Media Manager. Just click the [Add...] button, in the new requester check the Removable media option, and enter for CD1:

Name: Installation CD 1
Path or mount point: removable://mnt/cdrom/Mandrake/RPMS
Relative path to synthesis/hdlist: ../../Mandrake/base/hdlist1.cz

CD2:

Name: Installation CD 2
Path or mount point: removable://mnt/cdrom/Mandrake/RPMS2
Relative path to synthesis/hdlist: ../../Mandrake/base/hdlist2.cz

... you get the general gist here for the 3rd CD? :D

Optiker
10-13-2004, 01:50 PM
Choozo...cool! Thanks very much! Yes, I think I can do that.

Optiker
10-21-2004, 02:15 PM
Finally got back to working this last night...

Choozo...this responds to your posts.

I found that I hadn't removed my insallation disks from the configure computer/software management list at all, just unchecked them, so they were still available.

Relative to the libstdc issues, you said to put the original CD1 back in and select "update". I did that and it went back through the setup to the point of "install" or "update". I chose "update" and it did it's thing, but nothing seemed to have changed. The behavior in trying to select some RPMs is still the same. The libstdc message still occurs and there is still about three packages listed in the configure computer/.../install listing. The fact that they are shown there suggests to me that they aren't installed. I tried installing them from there, and one required another, and it required something on CD4 - I only have 3 CDs, and understand that CDs 4 and 5 are an added powerpack kind of thing for MandrakeClub members. Not sure what to do now.

When I did the update, then shutdown and tried to boot into Windows, the boot loader couldn't find my Windows installation! PANIC!

I looked over the listing in the boot loader and the default entry was still "windows" as previously. However, at the bottom of the list was a "window_old" entry. I went back into Linux and took a look at my fstab file, then went on to the GUI configure computer/boot utility and took a look. It seemed that there were additional entries. It had apparently renamed and reconfigured my two HD partitions. The Windows boot partition was hda2, but now semed to be hdb, and if I recall from memory from last night, hda2 was now associated with the "windows_old" entry.

To check it out, I made "windows_old" the default boot, and rebooted. Sure enough, it booted into WinXP. I will try to remember to go back in and write down the listing, or print out my fstab file and come back here over the weekend and aks for help making it all right.

It was a scary experience - losing my Windows installation and not knowing where it was or how to get find it - but at least now it works, though isn't pretty with this other stuff that I don't understand having been added. I haven't tested everything yet to make sure all is still working, but will do that this weekend.

Thanks for the help...not making much progress, but learning! :)

maol9883
10-26-2004, 09:24 AM
I'm in the same seat as you, but I knwo my way around the urpmi. Thing is it never finds the packages I want. It keeps saying that the dependancy files don't exist. Like this:

[root@nl12-40-73 magnus]# urpmi -p enlightenment
To satisfy dependencies, the following 4 packages are going to be installed (16 MB):
enlightenment-0.16.7.1-1mdk.i586
libimlib2_1-1.1.0-3mdk.i586
libimlib2_1-filters-1.1.0-3mdk.i586
libimlib2_1-loaders-1.1.0-3mdk.i586
Is this OK? (Y/n) y

ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/libimlib2_1-filters-1.1.0-3mdk.i586.rpm
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/libimlib2_1-loaders-1.1.0-3mdk.i586.rpm
...retrieving failed: curl: (19) Given file does not exist
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/enlightenment-0.16.7.1-1mdk.i586.rpm
...retrieving failed: curl: (19) Given file does not exist
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/libimlib2_1-1.1.0-3mdk.i586.rpm
...retrieving failed: curl: (19) Given file does not exist
...retrieving failed: curl failed: exited with 19 or signal 0

Installation failed, some files are missing:
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/libimlib2_1-loaders-1.1.0-3mdk.i586.rpm
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/libimlib2_1-filters-1.1.0-3mdk.i586.rpm
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/enlightenment-0.16.7.1-1mdk.i586.rpm
ftp://ftp.uninett.no/pub/unix/Linux/Mandrakelinux/devel/community/i586/media/main/libimlib2_1-1.1.0-3mdk.i586.rpm
You may want to update your urpmi database

...retrieving failed: curl: (19) Given file does not exist
[root@nl12-40-73 magnus]#

And I have updated...

maol9883
10-26-2004, 09:25 AM
I pretty much get the same result whenever I try installing something depending on some library I don't have :(

Choozo
10-26-2004, 12:42 PM
Try another source for your urpmi database, as ftp.uninett.no seems 'broken'.

Optiker
10-28-2004, 03:03 PM
Choozo...I've tried my system since my panic post a few replies ago and all seems to be working, except that I still am unable to install those RPMs for the same reason...error message as follows...
----------------
Sorry, the following package(s) can't be selected: scorched3d-37.2-3mdk.i586 (due to unsatisfied libstdc + + .so.6)
-----------------
I have DLed MDK10.1 Community, but have been reluctant to install it because of what happened last time - renamed my boot entries.

I have tried installing the various development packages using the GUI installer, but come to a dead end when one of the dependencies is on CD4, which is one of the powerpacks available only to Mandrake Club members.

Any further suggestions regarding the original problem...what to do about the libstdc++ .so.6...or is the only solution to join the Mandrake Club? I did search online for the C++ libs and found them, but the installation because so confusing - remember, Greenhorn! :) - I gave it up hoping there's be a friendlier way to get there - maybe not?

I'll post my questions regarding upgrading to MDK 10.1 in the Installation forum.

Thanks!