LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Package Manager (https://www.linuxquestions.org/questions/fedora-35/package-manager-151702/)

wgodois 02-28-2004 09:01 PM

Package Manager
 
As an ex Mandrake user, one of the most useful features I was used to use and I really miss is the Rpm Drake, a tool that enables you to manage all your rpms files, uninstalling, installing and updating entire applications, libraries, etc.

With Fedora, It has been a pain in the rear to get external applications to work, as soon as I type in terminal "rpm -i filename.rpm" I face a bunch of dependencies issues. Whenever I try to use yum (i.e. yum update), after 1 hour of getting headers and whatever, by the end of the process I got a error message.

When I try to install any application through the CD's I got a error message saying that the media or file or package is corrupted / broken.

I've been trying to install k3b buch got lots of dependencies requests, maybe cause I didn't opt for having KDE as an Desktop Manager option during the installation process.

Actually, I would like to know what the hell I have to do here in order to make yum work properly. Concerning the redhat-config-packages, why I'm receiving those messages of corrupted files, packages, whatever. If the media was damaged I wouldn' t have been able to install Fedora.

Thanks for the inputs.

FirestarterSG 02-28-2004 10:13 PM

Same
 
I'm having a somewhat similar problem I had posted about. Does this mean we must install manually using rpm -ivt <packagename>.rpm ???

Dear God, to think, Linux was supposed to be better than all this...

Todd42 02-29-2004 08:32 PM

I think that your problem may be that you need an update of redhat-config-packages. I had the same problem. The basis of the fault it that the paths are wrong. When you run the package manager, it looks for /mnt/cdrom/RPMS/?????. The Fedora disks require /mnt/cdrom/Fedora/RPMS/?????.

One of the other posts on the this site, suggested updating with this:
http://people.redhat.com/~katzj/redh...ackages/1.2.7/

It now seems to work fine.

zerozero 03-11-2004 12:38 PM

i've run into this problem which was resolved by doing two things:

problem 1) unable to access disk, when using redhat-config-packages-1.2.7-1.
edited line 733 of /usr/share/redhat-config-packages/method.py

line 733-> self.packagesDir = "RedHat/RPMS"

to -> self.packagesDir = "Fedora/RPMS"

this still did not resolve the problem!

problem 2) then i noticed was getting this in dmesg:
ide-scsi: hdc: unsupported command in request queue (0) end_request: I/O error, dev 16:00 (hdc), sector 64

so i changed /etc/fstab:
from this,
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0

to this,
/dev/scd0 /mnt/cdrom iso9660 noauto,owner,ro 0 0

rebooted, now the redhat-config-packages tool is working fine.

please note my lilo.conf contains the line:
append="hdc=ide-scsi"

hope this helps,
00

forrestt 03-11-2004 02:41 PM

I find the best app for keeping rpm's up to date is Ximian's Red Carpet (http://www-files.ximian.com/redcarpet2/fedora-1-i386/) It handles all dependencies for you, and works on most popular distro's. Try it out and see how you like it.

Also, a better solution to changing your fstab line is to remove the link from /dev/cdrom to /dev/hdc and making a new one to /dev/scd0

% rm /dev/cdrom
% ln -s /dev/scd0 /dev/cdrom

This way, all the apps that want to use your cdrom (cd-burners, grip, etc.) will automatically see it in the default location.

Hope this helps,

Forrest

Thetargos 03-14-2004 02:22 PM

Avoid problems, use yum or apt-get :D

beatlelane 03-14-2004 07:18 PM

Quote:

Originally posted by forrestt
I find the best app for keeping rpm's up to date is Ximian's Red Carpet (http://www-files.ximian.com/redcarpet2/fedora-1-i386/) It handles all dependencies for you, and works on most popular distro's. Try it out and see how you like it.
yes, that redcarpet by ximian is very good or should i say the best in package management for both remote and locally located packages, but it lacks the feature of rhnapplet where it tells you that there is an update, you have to open and freshen rc to fetch the updates.:cool:

forrestt 03-16-2004 03:42 PM

Actually, I use the rhn applet to tell me an update is available, and then run red-carpet to install it.


All times are GMT -5. The time now is 11:32 AM.