Author Topic: Question about failed dependencies.  (Read 536 times)

Ice-9

  • Member
  • **
  • Posts: 322
  • Kudos: 0
    • http://users.pandora.be/Ice9
Question about failed dependencies.
« on: 21 January 2003, 20:16 »
Say I want to install package A and it has failed dependencies, it needs to have updated packages B,C and D to work.
I download the rpm's, rpm -Uvh them and I'm incredibly lucky, package A installs fine ....

Now, I just upgraded packages B,C and D from my system, is there any chance that a previously installed program wouldn't work anymore because it needs the "older" versions of these packages or is it always safe to resolve dependency errors regardless of the packages you install/upgrade?
He was sitting on a rock. He was barefoot. His feet were frosty with ice-nine .....

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
Question about failed dependencies.
« Reply #1 on: 21 January 2003, 20:25 »
If you were going to break something it tends to tell you:

eg
foo depends libbar.so.6
or something like that.
It should be fine.
Contains scenes of mild peril.

Ice-9

  • Member
  • **
  • Posts: 322
  • Kudos: 0
    • http://users.pandora.be/Ice9
Question about failed dependencies.
« Reply #2 on: 21 January 2003, 20:56 »
But everything is not available through apt-get ...
He was sitting on a rock. He was barefoot. His feet were frosty with ice-nine .....

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
Question about failed dependencies.
« Reply #3 on: 21 January 2003, 23:44 »
quote:
Originally posted by Ice9:
Now, I just upgraded packages B,C and D from my system, is there any chance that a previously installed program wouldn't work anymore because it needs the "older" versions of these packages or is it always safe to resolve dependency errors regardless of the packages you install/upgrade?


No, it upgrading a package will break a dependency of other installed programs it will tell you. At least that's the way it's supposed to work if the RPMs are built properly. I have never had a case of upgrading an RPM breaking other installed packages without warning me of it, and I've been doing this for a long time now...
Someone please remove this account. Thanks...