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 have several RHEL 5.3 servers I am currently setting up. I want to remove the avahi rpms for two reasons. 1, I am using static ips. 2, the group id used by avahi conflicts with the project's software group id. I don't want to have the software with different group ids on different systems. I did an rpm -q -a | grep avahi and see:
First, why are two of the packages listed twice?
I then did an rpm -q --whatrequires ... and got that the avahi-glib and avahi-compat-libdns_sd depend on avahi, but did not get any other rpms. I next tried rpm -e --test avahi-compat-libdns_sd and got back a failed dependency: libdns_sd.so.1 is needed by cups.
Second, why didn't cups show up when I queried for whatrequires?
the group id used by avahi conflicts with the project's software group id. I don't want to have the software with different group ids on different systems.
Why not move the project's software group Id instead?
Quote:
Originally Posted by bradvan
First, why are two of the packages listed twice?
I don't know. Maybe use a query format that provides more than "%{name}%%{version}-%{release}"?
Quote:
Originally Posted by bradvan
I then did an rpm -q --whatrequires ... and got that the avahi-glib and avahi-compat-libdns_sd depend on avahi, but did not get any other rpms. I next tried rpm -e --test avahi-compat-libdns_sd and got back a failed dependency: libdns_sd.so.1 is needed by cups. Second, why didn't cups show up when I queried for whatrequires?
Yum won't work because there is no yum server on this network (it is not connected to the Internet). Just disabling the the service is a good idea, but it still doesn't get rid of the group id. I think the 64 bit question hits it on the head why some of the packages were listed twice - once for 32 bit and once for 64 bit. I checked the entire file system to see if the group-id was used anywhere. It wasn't so, I tried to delete it. The system wouldn't let me because it was the primary group for the avhai-autoipd account. I then checked the entire system to see if that userid was used anywhere. It wasn't. So, I delete the user account which also deleted the group id. The package is still installed but disabled, so the dependent packages are happy. Thanks for the suggestions, they helped push me in the right direction!
Sorry, my lack of knowledge of yum. I'll take a look. The quick answer is that removing the user account solved me problem. In the long run, I like to remove packages that aren't being used. Thanks for the input!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.