[Samba] Upgrading Samba on Debian

L. van Belle belle at samba.org
Fri Aug 19 07:15:53 UTC 2022


Debian-backports is "pinned" down to 100, where my repo comes up with 500 ( the default so higher priority.) 
I have same, only I use 4.16.2 

sudo apt-cache policy samba
samba:
  Installed: 2:4.16.2+dfsg-1nmu1~deb11.1
  Candidate: 2:4.16.4+dfsg-2~bpo11+1
  Version table:
     2:4.16.4+dfsg-2~bpo11+1 100
        100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
 *** 2:4.16.2+dfsg-1nmu1~deb11.1 100
        100 /var/lib/dpkg/status
     2:4.13.13+dfsg-1~deb11u5 500
        500 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages
     2:4.13.13+dfsg-1~deb11u4 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages


sudo apt install -t bullseye-backports --autoremove samba
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libldb2 libnss-winbind libpam-winbind libsmbclient python3-ldb python3-samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient winbind
Suggested packages:
  bind9 bind9utils ctdb ntp | chrony smbldap-tools heimdal-clients
The following packages will be REMOVED:
  dconf-gsettings-backend dconf-service glib-networking glib-networking-common glib-networking-services gsettings-desktop-schemas libdconf1 libjson-glib-1.0-0 libjson-glib-1.0-common libproxy1v5 libsoup2.4-1 libstemmer0d
  libtracker-sparql-2.0-0
The following packages will be upgraded:
  libldb2 libnss-winbind libpam-winbind libsmbclient python3-ldb python3-samba samba samba-common samba-common-bin samba-dsdb-modules samba-libs samba-vfs-modules smbclient winbind
14 upgraded, 0 newly installed, 13 to remove and 58 not upgraded.
Need to get 0 B/14.2 MB of archives.
After this operation, 9,164 kB disk space will be freed.
Do you want to continue? [Y/n]

And I didn’t use any pinning settings here. 
I used --autoremove to remove the extra packages used for GnomeTracker. 

Hope that this helps. 


Greetz, 

Louis

> -----Oorspronkelijk bericht-----
> Van: samba <samba-bounces at lists.samba.org> Namens Andy Pont via
> samba
> Verzonden: donderdag 18 augustus 2022 18:52
> Aan: samba at lists.samba.org
> Onderwerp: Re: [Samba] Upgrading Samba on Debian
> 
> Rowland wrote…
> 
> >You need to tell apt to use backports e.g. apt install -t
> >bullseye-backports
> That doesn’t seem to have changed anything.
> 
> The output from apt-cache shows:
> 
> root at build:/etc/apt/sources.list.d# apt-cache policy samba
> samba:
>    Installed: 2:4.15.7+dfsg-0.1bullseye1
>    Candidate: 2:4.15.7+dfsg-0.1bullseye1
>    Version table:
>       2:4.16.4+dfsg-2~bpo11+1 100
>          100 http://deb.debian.org/debian bullseye-backports/main amd64
> Packages
>   *** 2:4.15.7+dfsg-0.1bullseye1 500
>          500 http://apt.van-belle.nl/debian bullseye-samba415/main amd64
> Packages
>          100 /var/lib/dpkg/status
>       2:4.13.13+dfsg-1~deb11u5 500
>          500 http://security.debian.org/debian-security
> bullseye-security/main amd64 Packages
>       2:4.13.13+dfsg-1~deb11u4 500
>          500 http://deb.debian.org/debian bullseye/main amd64 Packages
> 
> Still trying to figure out what the numbers mean and whether they show that
> the repo for 4.15 has preference over bullseye-backports.
> 
> -Andy.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list