On Sunday 01 September 2002 19:11, Carl wrote:
On Sunday 01 September 2002 10:59 am, you wrote:
So I log in as root and try to update qt3:
linux:~/Desktop/KDE303/Binary/base # rpm -U qt3-3.0.5-46.rpm error: failed dependencies: qt3 = 3.0.3 is needed by qt3-non-mt-3.0.3-14 qt3 = 3.0.3 is needed by qt3-devel-3.0.3-15 linux:~/Desktop/KDE303/Binary/base #
Right. What's happening is you're trying to remove/reinstall QT (update), but other packages are saying WAIT, we NEED QT (through rpm), you shouldn't deinstall it! True, but they're about to get get a =newer= one, not lose it, (and they'll in fact be updated too). So use --nodeps.
Thank you :o) That seems to work, and the updated KDE 3.0.3 comes up and runs just nicely (as far as I can see). It was a bit of a hazzle though to make sure to update the KDE dependencies. But I did like this with every package: First i rpm -U (No --nodeps) If the package was updated without dependency errors, then fine. If there were dependency errors, I would note the dependencies and rpm -U --nodeps the same package again, and then go on to rpm -U the dependency packages - same scheme. I wonder. If I have a whole slew of packages installed that I want to update, and I'm not sure what packages those are, could I then update all installed packages in one command like this?: rpm -F --nodeps *.rpm Or perhaps... for package in *.rpm; do rpm -F --nodeps $package; done Would that update only the packages that are already installed? By the way. The rpm man pages shows a '+' after the package name, but I can't see anywhere what that's for. I don't use the '+', and it works anyway. What's the '+' for? Best regards Johnny :o)