[CentOS] Downgrade samba?

Ross S. W. Walker rwalker at medallion.com
Tue Sep 11 14:08:55 UTC 2007


gjgowey at tmo.blackberry.net wrote:
> 
> My thoughts:
> 
> Uninstall the current version using yum, grab the source tgz 
> for the version for the version you want from samba, and 
> compile it using --prefix=/usr/local/mysamba to put all of 
> that ver in that directory.  Then when you want to use the 
> latest again delete the mysamba dir and install the new ver with yum.
> 

Actually to take Geoff's idea 1 further, install locally compiled
version of samba into prefix /usr/local/samba like Geoff stated, but
keep the binaries off the path, then use 'alternatives' to link in
your locally compiled version to their /usr/bin location so it
appears as a standard install.

You can then use the rpm relocate feature to install the distro
version of samba into prefix /usr/samba and provide a second
'alternative' for the distro version of samba.

-Ross


> -----Original Message-----
> From: "Jason Pyeron" <jpyeron at pdinc.us>
> 
> Date: Mon, 10 Sep 2007 21:49:42 
> To:"'CentOS mailing list'" <centos at centos.org>
> Subject: [CentOS] Downgrade samba?
> 
> 
> 
> 
> After reading 
> http://lists.samba.org/archive/samba/2003-November/001828.html
> what would the best approach for downgrading 
> samba-3.0.10-1.4E.12.2 to 2.7
> on centos4, then later upgrading back to current?
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Sr. Consultant                    10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information. If you
> have received it in error, purge the message from your system and
> notify the sender immediately.  Any other use of the email by you
> is prohibited.
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.




More information about the CentOS mailing list