On Friday 13 August 2010 23:14:06 Porkchop wrote: > So I'm pretty new to yum. Really, with most of my history in Slackware, > I'm still pretty new to package management. > > I have a new CentOS server on which I use yum to handle packages. I want > to remove cyrus from the system, so: > yum remove cyrus* > > It finds the nine cyrus-related packages and helpfully locates all of > the now-unneeded dependencies. These include: gnupg, httpd (uhhh...), > mutt, openldap, passwd (what?!?), php (thats not right...), php-devel, > php-pear, postfix, spamassassin, sudo (ok seriously now... lets just > remove init and be done with it!) > > --nodeps and -x do not work in this context. Although this isn't a live > system just yet, I'd think this is something pretty basic that has to be > done... > > How do I tell yum that these items are not a road to somewhere I no > longer want to go, but rather are destinations in and of themselves? > What kind of search terms should I tell google for this kind of thing?
Jesse and Sean have narrowed this down, but I think something else is going on too: I think Yum is essentially in a panic due to you wanting to remove Cyrus because it's the mail storage for Postfix, thus 'breaking email' which is needed for cron to report, etc. I have this same problem on Debian systems when I want to remove Cyrus. It's logical for a human to want to remove something before installing something else in it's place, but installer/de-installer systems that do dependencies don't deal with that well. So instead, try /installing/ the thing you /want/ in Cyrus's place. i.e. try installing dovecot, or courier, or whatever other mail storage back-end you want in Cyrus's place. Usually the tools will then ask "this will force me to remove: cyrus, are you sure?" if I remember correctly. Been a while since I ran a system with Yum though. -- Chris -- Chris Knadle [email protected] _______________________________________________ Mid-Hudson Valley Linux Users Group http://mhvlug.org http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug Upcoming Meetings (6pm - 8pm) MHVLS Auditorium Sep 1 - BOINC Oct 6 - Creating Firefox Extensions Nov 3 - Bug Labs
