Elias Pereira
2016-Sep-27 19:14 UTC
[Samba] Upgrading samba from source over debian packages
Hello Marc, Thanks for the fast answer!!! Don't forget to uninstall the packages before running 'make install'.> Otherwise you risk that a Debian update overrides your setup or getting > dependency problems.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. :) On Tue, Sep 27, 2016 at 3:31 PM, Marc Muehlfeld <mmuehlfeld at samba.org> wrote:> Hello Elias, > > Am 27.09.2016 um 18:16 schrieb Elias Pereira via samba: > > We have samba 4.1.17 installed via debian package and would like to > install > > the latest version 4.5 from source. > > > > It's possible to perform this upgrade over the packages? If so, what the > > paths used in the installation via debian packages? > > > https://wiki.samba.org/index.php/Build_Samba_from_Source# > Viewing_Built_Options_of_an_Existing_Installation > > Pass the paths as options to the 'configure' script. See --help. > > Don't forget to uninstall the packages before running 'make install'. > Otherwise you risk that a Debian update overrides your setup or getting > dependency problems. > > > Regards, > Marc >-- Elias Pereira
Marc Muehlfeld
2016-Sep-28 06:04 UTC
[Samba] Upgrading samba from source over debian packages
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
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