| Red Hat This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-10-2009, 07:13 AM
|
#1
|
|
Member
Registered: Mar 2009
Posts: 143
Rep:
|
remove avahi
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:
Code:
avahi-0.6.16-1.el5
avahi-glib-0.6.16-1.el5
avahi-0.6.16-1.el5
avahi-compat-libdns_sd-0.6.16-1.el5
avahi-glib-0.6.16-1.el5
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?
Any advice?
Thanks!
|
|
|
|
07-12-2009, 07:00 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,827
|
Quote:
Originally Posted by bradvan
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?
|
You didn't tell us what you "whatrequired" for.
|
|
|
|
07-13-2009, 04:38 AM
|
#3
|
|
Member
Registered: Mar 2009
Posts: 143
Original Poster
Rep:
|
Because there are existing systems with the project software group ID. I'm not going to change all of them for a piece of software we don't even need.
|
|
|
|
07-13-2009, 06:59 AM
|
#4
|
|
Moderator
Registered: May 2001
Posts: 24,827
|
Thanks for answering one out of three.
|
|
|
|
07-13-2009, 11:04 PM
|
#5
|
|
LQ Newbie
Registered: Jul 2009
Posts: 28
Rep:
|
Why not just disable avahi from startup...
chkconfig avahi off
chkconfig avahi-daemon off
|
|
|
|
07-13-2009, 11:15 PM
|
#6
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
Do you have 32 and 64 bit versions installed perhaps?
yum list avahi may help.
Why don't you try
yum remove avahi
and have a careful look at what it's saying it will remove before hitting "yes"
|
|
|
|
07-14-2009, 05:00 AM
|
#7
|
|
Member
Registered: Mar 2009
Posts: 143
Original Poster
Rep:
|
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!
|
|
|
|
07-14-2009, 04:31 PM
|
#8
|
|
Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
You don't need a connection to remove packages with yum
|
|
|
|
07-15-2009, 12:05 PM
|
#9
|
|
Member
Registered: Mar 2009
Posts: 143
Original Poster
Rep:
|
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!
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:40 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|