Hi, I am trying Louis' samba packages on one of my DC's running Buster. The current samba version is 4.11.11 and I want to upgrade it to 4.11.latest. I seem to remember that Louis posted that there were some extra steps with some magic apt/apt-get/dpkg incantations that were sometimes required but I cannot seem to find the instructions on Google. I do not remember if the instructions were version specific or if the extra steps were always required. Can someone please tell me what the proper apt/apt-get/dpkg commands are to to do a minor samba version upgrade? FWIW, this is my first attempt at using a Debian based system. Regards, -- Tom me at tdiehl.org
Hai Tom, All packages where possible will get this security update. Im working from latest versions and OS down. It only take a bit more time to build them all and test them. But builds are running. If you want to do this upgrade yourself, this one is pretty easy. # Enable my repo and the sources. apt update apt source samba # This gets the older version. # And the new version wget https://download.samba.org/pub/samba/stable/samba-4.11.13.tar.gz # extract it. # copy the debian folder into the newer samba version. cp samba-4.11.11/debian samba-4.11.13/ # Some packages needed to build. apt-get install fakeroot devscripts build-essential # get samba build dependecies apt-get build-dep samba cd samba-4.11.13/ editor debian/changelog Or, dch -i # is better, just not sure if its installed with above. # Update the change log, copy the previes part, # change the version and dates and signer. # save dpkg-buildpackage -B Should do it. And a simple setup for a file repo. https://www.percona.com/blog/2020/01/02/how-to-create-your-own-repositories-for-packages/ But packages will come in coming days. Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens Tom > Diehl via samba > Verzonden: vrijdag 18 september 2020 22:48 > Aan: samba at lists.samba.org > Onderwerp: [Samba] Upgrading samba on Buster > > Hi, > > I am trying Louis' samba packages on one of my DC's running > Buster. The current > samba version is 4.11.11 and I want to upgrade it to 4.11.latest. > > I seem to remember that Louis posted that there were some > extra steps with > some magic apt/apt-get/dpkg incantations that were sometimes > required but I > cannot seem to find the instructions on Google. > > I do not remember if the instructions were version specific > or if the extra > steps were always required. > > Can someone please tell me what the proper apt/apt-get/dpkg > commands are to > to do a minor samba version upgrade? > > FWIW, this is my first attempt at using a Debian based system. > > Regards, > > -- > Tom me at tdiehl.org > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba > >
Hi Louis, On Fri, 18 Sep 2020, L.P.H. van Belle via samba wrote:> Hai Tom, > > All packages where possible will get this security update. > Im working from latest versions and OS down. > It only take a bit more time to build them all and test them. > But builds are running. > > If you want to do this upgrade yourself, this one is pretty easy. > > # Enable my repo and the sources. > > apt updateI am thinking I was not clear. Sorry. I have no problem waiting for you to release the latest and greatest. Thanks for that! I am new to the Debian world and I seem to remember in the past you posted extra commands for upgrading to the next samba release. On Red Hat systems with rpms, it is simply yum update and reboot when it is done. On Debian based systems it seems more complex/confusing. Google shows things like apt-get update && apt-get upgrade. Is that enough or is there something more that needs to be done for a samba DC? Not sure why it is necessary to do an update and upgrade but whatever. I just do not want to bork things. Regards, -- Tom me at tdiehl.org>> -----Oorspronkelijk bericht----- >> Van: samba [mailto:samba-bounces at lists.samba.org] Namens Tom >> Diehl via samba >> Verzonden: vrijdag 18 september 2020 22:48 >> Aan: samba at lists.samba.org >> Onderwerp: [Samba] Upgrading samba on Buster >> >> Hi, >> >> I am trying Louis' samba packages on one of my DC's running >> Buster. The current >> samba version is 4.11.11 and I want to upgrade it to 4.11.latest. >> >> I seem to remember that Louis posted that there were some >> extra steps with >> some magic apt/apt-get/dpkg incantations that were sometimes >> required but I >> cannot seem to find the instructions on Google. >> >> I do not remember if the instructions were version specific >> or if the extra >> steps were always required. >> >> Can someone please tell me what the proper apt/apt-get/dpkg >> commands are to >> to do a minor samba version upgrade? >> >> FWIW, this is my first attempt at using a Debian based system. >> >> Regards, >> >> -- >> Tom me at tdiehl.org >> >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba >> >> > > >
> > I am thinking I was not clear. Sorry.Ah no problem, happend to me all the time. ;-)> > I have no problem waiting for you to release the latest and > greatest. Thanks for that! > > I am new to the Debian world and I seem to remember in the > past you posted > extra commands for upgrading to the next samba release. > > On Red Hat systems with rpms, it is simply yum update and > reboot when it is > done. On Debian based systems it seems more > complex/confusing. Google shows > things like apt-get update && apt-get upgrade. Is that enough > or is there something more that needs to be done for a samba DC?Yes, thats sufficient normaly.> > Not sure why it is necessary to do an update and upgrade but > whatever. I just do not want to bork things.What you saw where these. apt update - update the package list and versions in cache localy. apt upgrade - upgrade packages. (optional --autoremove --purge) --autoremove remove unused packages (related to other packages you removed) --purge cleanup any leftover files And the option. apt dist-upgrade If a packages needs an extra package that isnt installed yet, it stalls, This might prevent you from breaking the system or it did break it. Then dist-upgrade is the option. ( prefered with --autoremove --purge ) I hope that explains abit. Greetz, Louis
Maybe Matching Threads
- Upgrading samba on Buster
- After some time 4.3.9 Member Server in different Subnet than ADS controller loses trust
- Creating a .deb file
- [HowTo] Installing Samba and sssd on Debian Wheezy (with manual backport)
- Debian Buster/Raspbian Buster Samba 4.11.4 now available on my repo.