[CentOS] yum yum or not?

Jason Pyeron jpyeron at pdinc.us
Fri Apr 27 11:24:48 UTC 2012


> -----Original Message-----
> From: Shaun
> Sent: Friday, April 27, 2012 4:15
> 
> On 26/04/2012 22:08, Ljubomir Ljubojevic wrote:
> (snip)
> > yum history list
> > yum history info <number given transaction>
> > 
> > and
> > yum history undo
> > yum history redo,
> > ...
> > ...
> > 
> 
> 
> Well this is it. I've used both 'remove' and 'history undo' 
> and had better success (system not having something important 
> removed) with the latter.
> 
> .. and so I was wondering whether it's advised to use this 
> form rather than yum remove, and to find out why 'remove' is 
> less successful (or if it's just me!).

Again, it is not yum's fault of which packages are being removed. It is the
dependencies listed by each installed application in the original rpm file. If
you post specifics this can be addressed.

> 
> Another example I had recently was when I installed 
> Networkmanager-openswan and then after installing realised 
> that it didn't support L2TP/IPSec VPNs so I uninstalled it, 
> again with 'yum remove'. It removed the WiFi applet from the 

Are you saying that you had the applet in the gnome panel prior to installing
the network manager rpm and then when you removed the network manager rpm (via
yum) it yanked the applet too? If so which version of Centos and which version
of network manager was it?

> Gnome panel, which wasn't what I was expecting. I had to 
> reinstall networkmanager to get it back.
> 
> It just seems I should probably be more cautious of 
> inspecting proposed system changes when doing 'yum remove' 
> but just wanted to make sure that I wasn't doing something wrong.
> 
> There is a nice sheet on the differences between apt and yum 
> on distrowatch's website which I've RTFM'd obviously :)

Googling found many here is one:
https://help.ubuntu.com/community/SwitchingToUbuntu/FromLinux/RedHatEnterpriseLi
nuxAndFedora

--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-                                                               -
- Jason Pyeron                      PD Inc. http://www.pdinc.us -
- Principal Consultant              10 West 24th Street #100    -
- +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
-                                                               -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 




More information about the CentOS mailing list