LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   redhat-update-packages -- dependencies failing (https://www.linuxquestions.org/questions/red-hat-31/redhat-update-packages-dependencies-failing-119528/)

dkaplowitz 11-24-2003 02:06 PM

redhat-update-packages -- dependencies failing
 
Hi,

My system has all the latest updates which is wreaking havoc when I try to update standard system packages from the install CD using redhat-update-packages.

For instance, I'm trying to install the "X Software Development" package, but I keep getting "package A, B, & C are required", but the package A, B, & C that it needs are older than the ones that are already installed on my system.

Is there a way to draw from more up to date packages, or do I have to figure out what all the packages are and download them individually.

Thanks in advance for any help.

Dave

netboy_541 11-24-2003 03:37 PM

Get APT-GET from freshrpms.net

'nuff said

download it, then issue "apt-get update"
then "apt-get dist-upgrade"

There ya go...

aqoliveira 11-24-2003 05:15 PM

Howzit

There is a way to get around it but u need some space on your hdd. Follow these steps

1. Login as root
2. mkdir -p /var/ftp/pub
3. cd /var/ftp/pub
4. cp -av /mnt/cdrom /var/ftp/pub " u r coping your distro onto your HDD"
5. cd /root
6. vi .rpmmacros place the followinf line in this file %_solve_pkgsdir /var/ftp/pub/RedHat/RPMS
7. Install pakage with the following switch/option rpm -ivh --aid <pakage.rpm>


This should solve all dependancies problem

chow

misc 11-25-2003 10:29 AM

It's a bug, known for a long time:
https://bugzilla.redhat.com/bugzilla...g.cgi?id=83485

redhat-config-packages doesn't know about updates/errata. Once a system has updates installed, it fails to solve dependencies because it doesn't know where to get updates. With the help of up2date/yum/apt-get, you can avoid the error. You would simply install all -devel updates for the "software development" packages where redhat-config-packages complains that it "requires A,B,C". E.g. if it complains about "blah-1.0-3", you would run "up2date blah-devel" which would get the updated -devel package and its dependencies from the network. Afterwards, redhat-config-packages works with the rest from CD or local hard disk.


All times are GMT -5. The time now is 06:43 AM.