Michael Tokarev
2022-Oct-25 13:23 UTC
[Samba] Samba 4.16 and 4.17 ubuntu focal and jammy packages
25.10.2022 16:15, ralph strebbing wrote:> On Tue, Oct 25, 2022 at 8:47 AM Michael Tokarev via samba > <samba at lists.samba.org> wrote: > >> The repository is signed with my usual GPG key which I use in Debian. > Okay so I tried to find where I should look for this before asking > here, and after almost an hour I'll just ask. > Where is your GPG key located so I can test this repo? If you'd write > out the commands to import it I'd also appreciate it to confirm the > proper way I should be doing this since there seem to be multiple > ways, including some being deprecated (apt-key).Oh. I forgot to mention. All Debian keys are available at keyring.debian.org, so you can grab the key like this: gpg --keyserver keyring.debian.org --recv-key 6EE195D1886E8FFB810D4324457CE0A0804465C5 and you can export it like this: gpg --export 6EE195D1886E8FFB810D4324457CE0A0804465C5 > mjt.key to be used with apt - either put it to /etc/apt/trusted.gpg.d/, or use this key in sources.list entry like this (for example): deb [signed-by=/etc/apt/mjt.key] http://www.corpit.ru/mjt/packages/samba ubuntu-22.04-jammy/samba-4.17/ /mjt
ralph strebbing
2022-Oct-25 17:41 UTC
[Samba] Samba 4.16 and 4.17 ubuntu focal and jammy packages
On Tue, Oct 25, 2022 at 9:23 AM Michael Tokarev <mjt at tls.msk.ru> wrote:> Oh. I forgot to mention. All Debian keys are available at keyring.debian.org, > so you can grab the key like this: > > gpg --keyserver keyring.debian.org --recv-key 6EE195D1886E8FFB810D4324457CE0A0804465C5 > > and you can export it like this: > > gpg --export 6EE195D1886E8FFB810D4324457CE0A0804465C5 > mjt.key > > to be used with apt - either put it to /etc/apt/trusted.gpg.d/, or use > this key in sources.list entry like this (for example): > > deb [signed-by=/etc/apt/mjt.key] http://www.corpit.ru/mjt/packages/samba ubuntu-22.04-jammy/samba-4.17/Thanks for this! So we're upgrading (test environment) from 4.15 on Van-belle's repo on Ubuntu 20.04 to 4.17 on your repo, but I'm consistently getting the following error, no matter what I've tried, which so far has been removing all of the samba packages listed on https://wiki.samba.org/index.php/Distribution-specific_Package_Installation#Debian.2FUbuntu Then running apt autoremove Then reinstalling the programs on the above link. However what I run into is: Unpacking samba (2:4.17.2+dfsg-1focal) ... dpkg: error processing archive /tmp/apt-dpkg-install-zJKlpj/11-samba_2%3a4.17.2+dfsg-1focal_amd64.deb (--unpack): trying to overwrite '/etc/pam.d/samba', which is also in package samba-common 2:4.17.2+dfsg-1focal dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Any ideas here? Googling led me to the potential solution of using --force-overwrite in the apt install command, but I was also warned off about that. Just want to make sure I'm not missing something simple here. Regards, Ralph
Kees van Vloten
2022-Oct-28 08:40 UTC
[Samba] Samba 4.16 and 4.17 ubuntu focal and jammy packages
Hi Michael, I just checked the repos you recently made available for Ubuntu. You have separate repos for Ubuntu versions and also for Samba versions. This approach mimics the structure Louis has. I know the the Debian packages are available in the Debian repos, for Buster mainly backports for a recent version. But Debian has a single repo with a single Samba version. Would it be possible to publish the Debian packages (similar to Ubuntu) in a repo per Samba version on corpit.ru/mjt ? - Kees On 25-10-2022 15:23, Michael Tokarev via samba wrote:> 25.10.2022 16:15, ralph strebbing wrote: >> On Tue, Oct 25, 2022 at 8:47 AM Michael Tokarev via samba >> <samba at lists.samba.org> wrote: >> >>> The repository is signed with my usual GPG key which I use in Debian. >> Okay so I tried to find where I should look for this before asking >> here, and after almost an hour I'll just ask. >> Where is your GPG key located so I can test this repo? If you'd write >> out the commands to import it I'd also appreciate it to confirm the >> proper way I should be doing this since there seem to be multiple >> ways, including some being deprecated (apt-key). > > Oh. I forgot to mention. All Debian keys are available at > keyring.debian.org, > so you can grab the key like this: > > ?gpg --keyserver keyring.debian.org --recv-key > 6EE195D1886E8FFB810D4324457CE0A0804465C5 > > and you can export it like this: > > ?gpg --export 6EE195D1886E8FFB810D4324457CE0A0804465C5 > mjt.key > > to be used with apt - either put it to /etc/apt/trusted.gpg.d/, or use > this key in sources.list entry like this (for example): > > ?deb [signed-by=/etc/apt/mjt.key] > http://www.corpit.ru/mjt/packages/samba ubuntu-22.04-jammy/samba-4.17/ > > /mjt >