Peter Carlson
2022-Nov-11 03:57 UTC
[Samba] Samba 4.16 and 4.17 ubuntu focal and jammy packages
1) what's the difference between 2:4.17.2+dfsg-7 and 2:4.17.2+dfsg-2 ? 2) Doing an in place upgrade fails. root at nc1:~# apt policy samba samba: ? Installed: 2:4.15.9+dfsg-0ubuntu0.2 ? Candidate: 2:4.15.9+dfsg-0ubuntu0.2 ? Version table: ???? 2:4.17.2+dfsg-7 100 ??????? 100 http://www.corpit.ru/mjt/packages/samba ubuntu-22.04-jammy/samba-4.17/ Packages ???? 2:4.17.2+dfsg-2 100 ??????? 100 http://www.corpit.ru/mjt/packages/samba ubuntu-22.04-jammy/samba-4.17/ Packages ?*** 2:4.15.9+dfsg-0ubuntu0.2 500 ??????? 500 http://us.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages ??????? 500 http://us.archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages ??????? 100 /var/lib/dpkg/status ???? 2:4.15.5~dfsg-0ubuntu5 500 ??????? 500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages root at nc1:~# apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root at nc1:~# apt install samba=2:4.17.2+dfsg-2 Reading package lists... Done Building dependency tree... Done Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ?samba : Depends: samba-common (= 2:4.17.2+dfsg-2) but 2:4.15.9+dfsg-0ubuntu0.2 is to be installed ???????? Depends: samba-common-bin (= 2:4.17.2+dfsg-2) but 2:4.15.9+dfsg-0ubuntu0.2 is to be installed ???????? Depends: libldb2 (>= 2:2.6.1) but 2:2.4.4-0ubuntu0.1 is to be installed ???????? Depends: libtalloc2 (>= 2.3.4~) but 2.3.3-2build1 is to be installed ???????? Depends: libtdb1 (>= 1.4.7~) but 1.4.5-2build1 is to be installed ???????? Depends: libtevent0 (>= 0.13.0~) but 0.11.0-1build1 is to be installed ???????? Depends: samba-libs (= 2:4.17.2+dfsg-2) but 2:4.15.9+dfsg-0ubuntu0.2 is to be installed
Michael Tokarev
2022-Nov-11 06:07 UTC
[Samba] Samba 4.16 and 4.17 ubuntu focal and jammy packages
11.11.2022 06:57, Peter Carlson via samba ?????:> 1) what's the difference between 2:4.17.2+dfsg-7 and 2:4.17.2+dfsg-2 ?See the debian/changelog file, as usual. It is unrealistic to answer to questions like this.> 2) Doing an in place upgrade fails.It is not. Please learn to use apt. You can't upgrade just one package without upgrading its required dependencies too. This question has already been answered before several times, and it is not specific in any way to this repository. The proper way, just with the Debian backports for example, is to use -t option when installing/upgrading a "head" package from a non-default repository. with the argument being the "suite" you want to install from, like, in this case, apt install -t ubuntu-22.04-jammy/samba-4.17 samba This fun string is what I put currently into the Release file in this repository, lacking a better name. Maybe I should name them all just "mjt-samba" or something like this, -- time will tell, just bear in mind this one isn't set in stone and most likely will change. /mjt