[Samba] Van Belle Packages & Samba 4.15

Michael Tokarev mjt at tls.msk.ru
Sat Feb 25 06:32:46 UTC 2023


24.02.2023 19:40, Marco Shmerykowsky PE via samba пишет:
..
> 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"

You don't need to worry about the configuration files, which are basically
just one: it is /etc/samba/smb.conf.

What you do need to worry about is samba files in /var/lib/samba/ -- and
these aren't managed by apt, these files are at whole merci of samba itself.

And these will be upgraded automatically by samba when it changes some
file format and notices an old format is present.  But this is a relatively
rare event.

/mjt



More information about the samba mailing list