| Whenever i install a package, it show an error that dependencies is
| needed which is not clear which other package is needed. Is it
| possible or any command to install the package with it associated
| dependecies automatically?
If you got the package from Redhat, you can use Redhat Network to
install it, in which case all supporting requirements will be installed
as well. Else it should list the packages it needs, then you go
installing them one by one by locating them on sites such as freshrpms.net.
Carl L. Gilbert
Free Java interface to Freechess.org
"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes 9:16
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
The fix is, remove the temperory db files created by rpm -q -a.
I am not in front and hence can't give you the exact names of the
files. But I think there are 2 or 3 files with names like __db or
something like that starting with a - (underscore). Delete those files
and the command should work again.
It looks like there is still broken RPM package in Red Hat 9. For me, RPM
support is one of the most important features of Red Hat, unfortunately
since 8.0 its broken. The workaround of problem is silly and it doesnt work
all the time. I like RPM because it greatly simplifies installations based
on Red Hat, but I don't like to have broken RPM database, especially on
production servers. Now I'm sticked to Red Hat 7.3, but I think its time to
switch to new distro, like Slack/Debian/Somethinelse to get new features and
stable package management.
To exhaust a subject of RPM, I dislike too strong dependencies in packages.
I mean I would like to have free hand in packages selection. After clean
installation of RH 7.3, I always remove RPMs i don't need, such as
"setserial, ipchains, reiserfs-utils, ntsysv, kudzu" and many others. But
some (i think unnecessary) dependencies prohibit to uninstall packets which
i never use, like "openldap" and many others which I don't remember at
present. I know about --nodeps, but IMO its not appropriate option in this
(if any) case. This issue also induces me to switch to other distros, where
it is possible to make more tuned and robust installation.
3. RPM issue
7. rpm issue