[Samba] Issue using apt.van-belle.nl Samba repo

Patrick Goetz pgoetz at math.utexas.edu
Thu Oct 21 13:55:12 UTC 2021


Hi -

I'm trying to use Louis's PPA to install Samba 4.14 packages, but have 
run into issues. There are ways around this, but I want to check with 
the list, as it looks like I should not need them, so might be doing 
something wrong.  I followed the instructions found here:

   https://apt.van-belle.nl/simple-repo-setup.txt

In particular,

# wget -O- https://apt.van-belle.nl/louis-van-belle.gpg-key.asc | \
     gpg --dearmor | sudo tee /usr/share/keyrings/louis-van-belle.gpg > 
/dev/null

and

  # echo "deb [arch=$(dpkg --print-architecture) 
signed-by=/usr/share/keyrings/louis-van-  belle.gpg] 
http://apt.van-belle.nl/ubuntu/ focal-samba414 main" | \
  sudo tee -a /etc/apt/sources.list.d/van-belle.list

the resulting source list looks right to me:

root at samba-dc:~# cat /etc/apt/sources.list.d/van-belle.list
# AptVanBelle repo for samba.
deb [arch=amd64 signed-by=/usr/share/keyrings/louis-van-belle.gpg] 
http://apt.van-belle.nl/ubuntu/ focal-samba414 main

However when I run `apt update` I get:

Ign:4 http://apt.van-belle.nl/ubuntu focal-samba414 InRelease 

Err:5 http://apt.van-belle.nl/ubuntu focal-samba414 Release
   404  Not Found [IP: 149.210.206.148 80]
Reading package lists... Done
E: The repository 'http://apt.van-belle.nl/ubuntu focal-samba414 
Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is 
therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user 
configuration details.


Not sure I get this, as a signing key is provided:

root at samba-dc:~# ls -l /usr/share/keyrings/louis-van-belle.gpg
-rw-r--r-- 1 root root 6352 Oct 21 13:19 
/usr/share/keyrings/louis-van-belle.gpg


Any thoughts?

I could change the source file to:

deb [trusted=yes] http://apt.van-belle.nl/ubuntu/ focal-samba414 main

or run apt with --allow-unauthenticated, but like I said, there is a 
signing key, so what's going on?





More information about the samba mailing list