Bob of Donelson Trophy
2016-Sep-28 11:29 UTC
[Samba] Upgrading samba from source over debian packages
On 2016-09-28 01:04, Marc Muehlfeld via samba wrote:> Hi, > > Am 27.09.2016 um 21:14 schrieb Elias Pereira via samba: > >> Maybe, it would be nice to put on the wiki that step regarding uninstall >> the old packages version. I believe that a good portion of users unaware >> that step. :) > > I only can add a general and installation, because distros have > different package managers and you can run into dependencies problems. > For example, when you uninstall Samba, cifs-utils is also automatically > removed - even if you don't want to compile this yourself. > > I will see if I find a place where this general information fits tonight. > > Regards, > MarcOut of curiosity I ran "apt remove samba" on Ubuntu 16.04.1LTS and removal adds "winbind" packages "will be REMOVED" even though I don't want to remove winbind. So, " . . . because distros have different package managers and you can run into dependencies problems." yes, I understand you reluctance to adding "uninstall" instructions in the wiki. IMHO, this is actually a distro related issue. Marc, you probably already know this but, I just thought everyone should be aware. I have also seen different types of distro related issues, like this, in CentOS and Fedora experiments where package manager is going to un-install and/or install some package due to dependency requirements. -- _______________________________ Bob Wooden of Donelson Trophy
Rowland Penny
2016-Sep-28 11:41 UTC
[Samba] Upgrading samba from source over debian packages
On Wed, 28 Sep 2016 06:29:00 -0500 Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote:> On 2016-09-28 01:04, Marc Muehlfeld via samba wrote: > > > Hi, > > > > Am 27.09.2016 um 21:14 schrieb Elias Pereira via samba: > > > >> Maybe, it would be nice to put on the wiki that step regarding > >> uninstall the old packages version. I believe that a good portion > >> of users unaware that step. :) > > > > I only can add a general and installation, because distros have > > different package managers and you can run into dependencies > > problems. For example, when you uninstall Samba, cifs-utils is also > > automatically removed - even if you don't want to compile this > > yourself. > > > > I will see if I find a place where this general information fits > > tonight. > > > > Regards, > > Marc > > Out of curiosity I ran "apt remove samba" on Ubuntu 16.04.1LTS and > removal adds "winbind" packages "will be REMOVED" even though I don't > want to remove winbind. So, " . . . because distros have different > package managers and you can run into dependencies problems." yes, I > understand you reluctance to adding "uninstall" instructions in the > wiki. IMHO, this is actually a distro related issue. > > Marc, you probably already know this but, I just thought everyone > should be aware. I have also seen different types of distro related > issues, like this, in CentOS and Fedora experiments where package > manager is going to un-install and/or install some package due to > dependency requirements. >Bob, if you removing Samba to compile your own version, then it doesn't matter that winbind is also removed, compiling Samba also provides winbind. Rowland
L.P.H. van Belle
2016-Sep-28 11:57 UTC
[Samba] Upgrading samba from source over debian packages
Hai.. Beware only apt-get remove samba is not enough. And as rowland already is saying there will be things removed which you dont want, or things wil be keept in debian due dependecies. Bob, i'm testing now for a new 4.4.6 ( own build ) since its not in debian. I'll have to look into 4.5 for Jessie thats a bit harder since tevent tdb ldb things like that must also be upgrade to avoid some bug. I know before the weekend, im setting up now a new build env for 4.5. I'll keep you guys posted. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Rowland Penny via > samba > Verzonden: woensdag 28 september 2016 13:42 > Aan: samba at lists.samba.org > Onderwerp: Re: [Samba] Upgrading samba from source over debian packages > > On Wed, 28 Sep 2016 06:29:00 -0500 > Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote: > > > On 2016-09-28 01:04, Marc Muehlfeld via samba wrote: > > > > > Hi, > > > > > > Am 27.09.2016 um 21:14 schrieb Elias Pereira via samba: > > > > > >> Maybe, it would be nice to put on the wiki that step regarding > > >> uninstall the old packages version. I believe that a good portion > > >> of users unaware that step. :) > > > > > > I only can add a general and installation, because distros have > > > different package managers and you can run into dependencies > > > problems. For example, when you uninstall Samba, cifs-utils is also > > > automatically removed - even if you don't want to compile this > > > yourself. > > > > > > I will see if I find a place where this general information fits > > > tonight. > > > > > > Regards, > > > Marc > > > > Out of curiosity I ran "apt remove samba" on Ubuntu 16.04.1LTS and > > removal adds "winbind" packages "will be REMOVED" even though I don't > > want to remove winbind. So, " . . . because distros have different > > package managers and you can run into dependencies problems." yes, I > > understand you reluctance to adding "uninstall" instructions in the > > wiki. IMHO, this is actually a distro related issue. > > > > Marc, you probably already know this but, I just thought everyone > > should be aware. I have also seen different types of distro related > > issues, like this, in CentOS and Fedora experiments where package > > manager is going to un-install and/or install some package due to > > dependency requirements. > > > > Bob, if you removing Samba to compile your own version, then it doesn't > matter that winbind is also removed, compiling Samba also provides > winbind. > > Rowland > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: lists.samba.org/mailman/options/samba
Bob of Donelson Trophy
2016-Sep-28 12:00 UTC
[Samba] Upgrading samba from source over debian packages
On 2016-09-28 06:41, Rowland Penny via samba wrote:> On Wed, 28 Sep 2016 06:29:00 -0500 > Bob of Donelson Trophy via samba <samba at lists.samba.org> wrote: > > On 2016-09-28 01:04, Marc Muehlfeld via samba wrote: > > Hi, > > Am 27.09.2016 um 21:14 schrieb Elias Pereira via samba: > > Maybe, it would be nice to put on the wiki that step regarding > uninstall the old packages version. I believe that a good portion > of users unaware that step. :) > I only can add a general and installation, because distros have > different package managers and you can run into dependencies > problems. For example, when you uninstall Samba, cifs-utils is also > automatically removed - even if you don't want to compile this > yourself. > > I will see if I find a place where this general information fits > tonight. > > Regards, > MarcOut of curiosity I ran "apt remove samba" on Ubuntu 16.04.1LTS and removal adds "winbind" packages "will be REMOVED" even though I don't want to remove winbind. So, " . . . because distros have different package managers and you can run into dependencies problems." yes, I understand you reluctance to adding "uninstall" instructions in the wiki. IMHO, this is actually a distro related issue. Marc, you probably already know this but, I just thought everyone should be aware. I have also seen different types of distro related issues, like this, in CentOS and Fedora experiments where package manager is going to un-install and/or install some package due to dependency requirements. Bob, if you removing Samba to compile your own version, then it doesn't matter that winbind is also removed, compiling Samba also provides winbind. Rowland Thanks. I was just accelerated my searching to find the "that" answer. -- _______________________________ Bob Wooden of Donelson Trophy
Reindl Harald
2016-Sep-28 12:15 UTC
[Samba] Upgrading samba from source over debian packages
Am 28.09.2016 um 13:29 schrieb Bob of Donelson Trophy via samba:> Out of curiosity I ran "apt remove samba" on Ubuntu 16.04.1LTS and > removal adds "winbind" packages "will be REMOVED" even though I don't > want to remove winbind. So, " . . . because distros have different > package managers and you can run into dependencies problems."you *want* to remove winbind, you just don't know it - your new build *will provide* winbind in a matching version and hence you should learn building packages (and in case of overrides you start with the exact way the disribution built the specific package, in that case samab and it'sd sub-packages) and override the distro package in a clean way so that there is a chance that other packages which require some samba dependencies are satisfied that may not always be possible because so-name dependencies but that's another point of packages - the apckage manager won't let you install conflicting packages while a dumb "make install" don't and can't care about system integrity