[Samba] Van Belle Packages & Samba 4.15

Marco Shmerykowsky PE marco at sce-engineers.com
Fri Feb 24 16:40:25 UTC 2023

On 2/23/2023 12:46 PM, Michael Tokarev wrote:
> o22.02.2023 20:35, Marco Shmerykowsky PE via samba пишет:
>> Makes sense.  However, the question started about doing
>> upgrades & not new installs.  It was advised to get to Bullseye
>> (which will essentially take samba backwards in version) and then 
>> upgrade using the backports.
> Once again, this is unnecessary and this is not what will happen
> if you just upgrade your distribution to bullseye. Samba packages
> which you installed from Van Belle will stay. And you will just
> upgrade these the way I've shown you.
>> I'm presuming I just use 'apt-get upgrade' with the package list
>> above (from the Debian install page on the wiki) and that gets me
>> to the correct point without over-writing anything important?
> Once again. apt install -t bullseye-backports samba. This will take
> care of dependencies. That's all what 's needed, once you upgrade
> everything else to bullseye (except samba which is already more
> recent than bullseye version).
> /mjt

Tangential question -> Are there different results from 'apt *install*'
vs. apt *upgrade*' if the package is already installed on the system?

If I understand the behavior correctly, 'apt install' should not
overwrite an existing configuration file automatically. So ...
running 'apt install' on an existing setup is essentially an "upgrade"

Short of intentionally letting the installation overwrite an existing
configuration file, the existing config should work normally after
the install. Correct?

More information about the samba mailing list