Unable to update audit package, error when using up2date
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.
Unable to update audit package, error when using up2date
I noticed the audit kernel failed on booting the server so I checked and found there was an update for this package. (P.S I am new to Linux)
When I use the up2date utility and try to install the audit package I get the following error mesage:
There was a fatal RPM install error:The message was: Failed running transaction of packages'file /usr/share/man/man8/auditd.8.gz,OL))from install audit 1.0.14.1.EL4 conflicts with file from package laus-0.1-54RHEL3, (7, 'usr/share/man/man8/auditd.8.gz,OL)).
There seems to be a problem with the current file, my question is, how to go about resolving this problem?, can I just delete the old file and run the update again or is there a specific procedure that needs to be carried out?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Why is this (laus-0.1-54RHEL3) installed or why are you attempting to install the audit 1.0.14.1.EL4 rpm package??? One or the other is wrong. Assuming from your profile that your running RHEL4 then remove the EL3 package (and any other packages from/for EL3);
rpm -e laus-0.1.54RHEL3
If in fact you are running EL3 then update the laus rpm package instead.
A quick check to know which version are you running; cat /etc/*release
If your running EL3 then what did you do to your up2date configuration???
I am running EL4, don't know how ver EL3 got on as ver EL4 was installed from outset, I know there has been a history of outside companies installing software. so can I just delete the ver EL3 file from the folder without causing system problems?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
It should have never been installed in the first place, it is for RHEL3 not RHEL4. To be on the safe side of things do first; rpm -e laus-0.1.54RHEL3 --test ;just to make sure nothing else is also wrong. If OK then repeat the command minus the --test switch.
On a side note, no outside vendor should be installing anything without the administrator of the system(s) knowledge and/or permission. As a suggestion change the root password and if needed suspend any outside accounts. The outside vendor that is responsible for the installation of the laus rpm package should be replaced or at the very least put on notice and maybe billed for this. If the outside vendor(s) does not know the difference between RHEL4 and RHEL3 then they may not be the best choice.
FYI: the only way this could have been installed is by someone doing maybe a force install or adding other packages that are not meant for RHEL4;
$ rpm -Uvh laus*.rpm --test
warning: laus-0.1-70RHEL3.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 025e513b
error: Failed dependencies:
liblaus.so.1()(64bit) is needed by laus-0.1-70RHEL3.x86_64
liblaussrv.so.0()(64bit) is needed by laus-0.1-70RHEL3.x86_64
So you might also have a laus-lib package installed also which needs to be removed, might as well check; rpm -qa laus-lib ;and if installed then remove this as well.
I ran the command, rpm -e laus-0.1.54RHEL3 -- test and the response was that the package is not installed, I ran up2date again and tried to install the audit package just to verify the error message and it still comes up with the exact message as in my first post!, any other ideas how I could resolve this issue.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Hmmm........ Lets do one final check please; rpm -qa 'laus*'
If it comes back with nothing then manually install the new audit rpm package;
rpm -Uvh audit-1.0.14-1.EL4*.rpm --force
If it comes back with results then try the command above and then clean/recreate the rpm database, follow the directions here (they are a bit dated but do work);
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.