If you have trouble with dependencies running up2date, the Red Hat update system, you can force download and installs by downloading the packages regardless of dependencies and then forcing the install. Be careful when you do this, or course. The system is there to make sure you install the correct packages, so if up2date tells you you need a dependency, you may very well need it. We ran into an interesting problem with a gcc upgrade.
We solved it by downloading the package and then forcing the install with the nodeps option:
[root@srv-6 up2date]# up2date --get gcc --tmpdir=/root/
Fetching all package list for channel: rhel-i386-es-3...
########################################
Fetching all package list for channel: rhel-i386-es-3-extras...
########################################
Fetching package list for channel: rhel-i386-es-3...
########################################
Fetching package list for channel: rhel-i386-es-3-extras...
########################################
gcc-3.2.3-53.i386.rpm...
########################################
[root@srv-6 up2date]#
Now let's force the install with nodeps:
[root@srv-6 root]# rpm -Fvh gcc*.rpm --nodeps
Preparing... ########################################### [100%]
1:gcc ########################################### [100%]
[root@srv-6 root]#
Categories
- GNU/Linux (20)
- Linux Security (12)
- Ubuntu Tutorials (20)
- Web Browsers (1)
- Windows 2000 (20)
- Windows 2003 (13)
- Windows 7 (8)
- Windows Vista (43)
- Windows XP (54)
Bookmark us
Sunday, July 20, 2008
Forcing Installs with Up2date
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment