[Samba] updating samba via rpm

Stuart Highlander fsb at ntwsdb.com
Fri Jun 10 15:12:41 GMT 2005


----- Original Message ----- 
From: "Paul Gienger" <pgienger at ae-solutions.com>
To: "'Ian Clancy'" <clancyian at cel.ie>; "'Stuart Highlander'"
<fsb at ntwsdb.com>
Cc: <samba at lists.samba.org>
Sent: Thursday, June 09, 2005 9:50 AM
Subject: RE: [Samba] updating samba via rpm


> > I can't remember exactly, but i think gnome-vfs2-smb depends on
> > samba-common. Other gnome rpm's depend on gnome-vfs2-smb etc ....
> > The rpm from the site provides one rpm package :
> > samba-3.0.14a-1
>
> Really? Last time recompiled the samba spec file, I was given 4 rpm files,
> just like the RH/Fedora implementation.  The spec file states that it came
> from:
>
> URL: http://www.samba.org/
>
> Source: ftp://www.samba.org/pub/samba/%{name}-%{version}.tar.bz2
>
>
> > If your not bothered about using gnome you can uninstall the Fedora
> > Samba rpm's (stop samba first of course):
> > rpm --nodeps -e samba samba-common samba-client
>
> Why oh why people insist on jeopardizing their rpm db integrity when
> perfectly sane options exist...  yes you're putting in the same files, but
> now anything that was depending on samba-common, or any other package that
> used to be there, is going to be confused when it goes looking for its
> dependencies.  Hrm, yum wants to update gnome-vfs (or whatever else) and
> samba isn't installed...  it may either install old versions or break
> entirely and update nothing.
>
> Compile the spec and then in one line:
>
> Rpm -Uvh samba-3.0.14a-1.i386.rpm samba-client-3.0.14a-1.i386.rpm
> samba-common-3.0.14a-1.i386.rpm samba-swat-3.0.14a-1.i386.rpm
>
> Leave out the swat if you so desire and/or the h option if you don't like
> the progress bar.
>
>
> > then install the rpm from samba.org
> > rpm -Uvh samba-3.0.14a-1.i386.rpm
> >
> > One thing to look out for. What was previously located in
> > /var/cache/samba is now located in /var/lib/samba.
> > regards

thanks to all who have responded to my original post.

i have read the document regarding the src rpm's and it confirms what paul
stated in his reply regarding the use of the rpm command..

in my previous post, i stated that i use  rpm -Fvh.  paul's reply and other
documentation stated to use rpm -Uvh.  the only difference i see is that
rpm -Fvh updates the package if it is installed and rpm -Uvh updates the
package.  i will use the rpm -Uvh on my test samba server and see how it
goes.

has anyone seen any serious issues, gotchas, better-do's, or suggestions,
when updating from version 3.0.10-1 to version 3.0.14a-1?

thank you for your help,

stuart



More information about the samba mailing list