[Samba] Installing SerNet Samba for Debian
samba1 at nym.hush.com
samba1 at nym.hush.com
Wed Nov 20 09:36:27 MST 2013
Thanks very much for all the help.
I restored the server, then had another go.
I ran the ap-get update && upgrade first (nothing to update)
I also checked apt-get –f install (all okay)
I installed the sernet public key.
Then I created the sources list file for sernet
I ran ‘apt-get install sernet-samba’
It says there were dependencies in sernet-samba-common which had
further dependencies in sernet-libwbclient0, so it didn’t install
I ran ‘apt-get install sernet-libwbclient0’ and it installed, but
it also removed 16 other packages including gnome. It did prompt
to ask if I wanted to go ahead with the installation/removal– I
said Yes, just to see what would happen.
I ran ‘apt-get install sernet-samba’ and that successfully
installed.
However, when I run ‘apt-get –f install’ it’s now showing a whole
list of packages (around 200)which are no longer required, due to
the packages it removed when installing sernet-libwbclient0.
On Wed, 20 Nov 2013 15:17:48 +0000 "L.P.H. van Belle"
<belle at bazuin.nl> wrote:
>Hello,
>
>for debian you have 3 options for samba.
>
>1) the debian stable ( now 3.6.6 )
>2) the debian backports, ( now 3.6.19 ) but it keeps inline with
>the stable packages.
>3) the sernet debian packages.
> for sernet its ok that all other things of debian samba are
>removed.
>
>If you look ( type ) apt-cache show sernet-samba
>you see these lines:
>Conflicts: samba
>Replaces: samba, samba-common (<= 2.0.5a-2)
>Provides: samba
>
>This prevents the debian samba to be installed.
>
>Now, you choose.
>
>wheezy stable : apt-get install samba
>wheezy backports : apt-get install -t wheezy-backports samba
>Sernet Samba : apt-get install sernet-samba
>
>dont use dpkg -i unless your in real trouble.
>
>for debian backports i have:
>/etc/apt/sources.list.d/debian-backports.list contains
># Backports repository
>deb http://ftp.nl.debian.org/debian/ wheezy-backports main
>
>for sernet i have :
>/etc/apt/sources.list.d/sernet-samba-3.list contains
># Sernet samba 3.6 repository
>deb http://ftp.sernet.de/pub/samba/3.6/debian wheezy main
>
>and for sernet samba, first before the install type:
>wget http://ftp.sernet.de/pub/sernet-samba-keyring_1.3_all.deb -O
>/tmp/sernet-samba-keyring.deb
>dpkg -i /tmp/sernet-samba-keyring.deb
>rm /tmp/sernet-samba-keyring.deb
>
>the difference?
>debian stable contains all security fixed up to the latest samba
>3.6.x
>debian backports, samba but also contains the upstream code of the
>version supplied ( now 3.6.19 )
>sernet samba, has everything and it the latest, but it's has
>sernet- in front of the packages names to avoid conflicts.
>
>
>Greetz,
>
>Louis
>
>
>
>
>
>>-----Oorspronkelijk bericht-----
>>Van: samba1 at nym.hush.com
>>[mailto:samba-bounces at lists.samba.org] Namens samba1 at nym.hush.com
>>Verzonden: woensdag 20 november 2013 15:29
>>Aan: samba at lists.samba.org
>>Onderwerp: [Samba] Installing SerNet Samba for Debian
>>
>>I've got myself in a bit of a pickle trying to install the latest
>
>>Samba 3.6.20-31 package from SerNet on a Debian Wheezy server.
>The
>>installed Debian version of Samba was 3.6.6.
>>
>>It's an off-line test server, and I'm still getting to grips with
>
>>Debian, so no harm done, but I'd like to know the proper
>procedure
>>to install this software!
>>
>>What I've done is:
>>
>>Edited /etc/apt/sources.list to include the line
>>
>> deb http://ftp.sernet.de/pub/samba/3.6/debian wheezy main
>>
>>This was shown on the SerNet website, but I'm not sure if I need
>to
>>do anything to prevent Wheezy from downloading/installing the
>>Debian Samba in the future.
>>
>>I downloaded all the .deb packages from SerNet and burnt them
>onto
>>a CD.
>>
>>I then ran 'apt-get purge samba' (to try and remove the existing
>>Samba).
>>
>>I started to run into problems when installing the SerNet
>>package(s) and have also run
>>
>> apt-get remove samba-common
>>plus numerous iterations of
>> apt-get -f install
>> apt-get autoremove
>>
>>At one point it wanted to remove about 200 packages, including
>ones
>>for gnome and python.
>>
>>I tried installing using:
>> dpkg -i sernet-samba_3.6.20-31_amd64.deb
>>It then indicated it needed sernet-samba-common so I ran
>> dpkg -i sernet-samba-common_3.6.20-31_amd64.deb
>>which gave warnings about dependencies.
>>I ended up trying to install all the sernet packages including
>the
>>ones for libwbclient, libsmbclient, libpam, winbind. Is this
>>necessary? I expected one of the packages to do a full install
>and
>>update/install all necessary packages.
>>
>>Having now left it running for a few minutes I ran
>> apt-get -f install
>>again, and it updated sernet Samba and I'm now able to run
>>smbstatus and it's showing '3.6.20-SerNet-Debian'.
>>
>>However, I'm now not sure what state the system is in! I can run
>a
>>disaster recovery to restore the system to a state before I
>started
>>the Samba upgrade, but as I say, I'd like to know the proper way
>to
>>do it!
>>
>>Thanks
>>
>>
>>--
>>To unsubscribe from this list go to the following URL and read
>the
>>instructions: https://lists.samba.org/mailman/options/samba
>>
>>
More information about the samba
mailing list