Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just got a new server up and running and ran the register command with the "up2date --register" command and that went fine however now I want to update the system just like I would run yum upgrade or apt-get upgrade, I can't seem to understand why I can't upgrade this RHEL 4.4 machine.
Here is what I see:
Code:
New Up2date available
Preparing ########################################### [100%]
Traceback (most recent call last):
File "/usr/sbin/up2date", line 1245, in ?
sys.exit(main() or 0)
File "/usr/sbin/up2date", line 800, in main
fullUpdate, dryRun=options.dry_run))
File "/usr/sbin/up2date", line 1119, in batchRun
batch.run()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 86, in run
self.__installPackages()
File "/usr/share/rhn/up2date_client/up2dateBatch.py", line 170, in __installPackages
self.kernelsToInstall = up2date.installPackages(self.packagesToInstall, self.rpmCallback)
File "/usr/share/rhn/up2date_client/up2date.py", line 752, in installPackages
runTransaction(ts, added, removed,rpmCallback, rollbacktrans = rollbacktrans)
File "/usr/share/rhn/up2date_client/up2date.py", line 632, in runTransaction
rpmUtils.runTransaction(ts,rpmCallback, transdir)
File "/usr/share/rhn/up2date_client/rpmUtils.py", line 511, in runTransaction
"Failed running transaction of packages: %s") % errors, deps=rc)
up2date_client.up2dateErrors.TransactionError: RPM error. The message was:
Failed running transaction of packages:
('file /usr/lib/libwiretap.so.0.0.1 conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/lib/libwiretap.so.0.0.1', 0L))
('file /usr/sbin/capinfos conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/capinfos', 0L))
('file /usr/sbin/dftest conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/dftest', 0L))
('file /usr/sbin/dumpcap conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/dumpcap', 0L))
('file /usr/sbin/editcap conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/editcap', 0L))
('file /usr/sbin/mergecap conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/mergecap', 0L))
('file /usr/sbin/randpkt conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/randpkt', 0L))
('file /usr/sbin/tethereal conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/tethereal', 0L))
('file /usr/sbin/text2pcap conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/sbin/text2pcap', 0L))
('file /usr/share/man/man1/capinfos.1.gz conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/share/man/man1/capinfos.1.gz', 0L))
('file /usr/share/man/man1/dumpcap.1.gz conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/share/man/man1/dumpcap.1.gz', 0L))
('file /usr/share/man/man1/editcap.1.gz conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/share/man/man1/editcap.1.gz', 0L))
('file /usr/share/man/man1/mergecap.1.gz conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/share/man/man1/mergecap.1.gz', 0L))
('file /usr/share/man/man1/text2pcap.1.gz conflicts between attempted installs of ethereal-0.99.0-EL4.2 and wireshark-0.99.5-EL4.1', (6, '/usr/share/man/man1/text2pcap.1.gz', 0L))
So your saying that because if 2 .RPM problems, it wont update the entire system? I would think it would ignore those 2 packages and continue the rest of the update update process, no?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
An error is an error, it does not matter how many other files are not in conflict. The up2date application is not designed to pick and choose or make a correction for you. It can only compare what is installed and what is newer then this and update. Thinking is for us humans, computers still cannot think for themselves and make intelligent decisions for us (Thank God).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.