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

Patrick Goetz pgoetz at math.utexas.edu
Thu Oct 21 14:43:31 UTC 2021


Hi Louis -

Yes, you'll notice in my previous message that the key is in 
/usr/share/keyrings:

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

I figured it out. Arnaud was right -- it doesn't like the ubuntu URL.  I 
changed the sources entry to

deb [arch=amd64 signed-by=/usr/share/keyrings/louis-van-belle.gpg] 
http://apt.van-belle.nl/debian/ focal-samba414 main

and now apt is happy.

The GPG key must be URL specific.

Is it still going to download the correct packages for focal though?

Let me try the standard key signing method you mention below ......

and, no: that doesn't work with the Ubuntu URL, either (or the debian 
URL, for that matter).  As long as I get the correct focal packages, I'm 
good.


On 10/21/21 09:33, L.P.H. van Belle wrote:
> Hai Patrick,
> 
> Whats the output of ls /usr/share/keyrings/
> 
> Do you see my key there. Maybe its ubuntu thats not ready yet for this setup.
> Should be..no other errors?
> 
> Quick fix use :
> wget -O - http://apt.van-belle.nl/louis-van-belle.gpg-key.asc | apt-key add -
> 
> That should work.
> 
> If not let me know, i'll help you out.
> 
> 
> Greetz,
> 
> Louis
> 
> 
>> -----Oorspronkelijk bericht-----
>> Van: Patrick Goetz [mailto:pgoetz at math.utexas.edu]
>> Verzonden: donderdag 21 oktober 2021 16:30
>> Aan: L.P.H. van Belle
>> Onderwerp: Re: [Samba] Issue using apt.van-belle.nl Samba repo
>>
>> I'm using Ubuntu 20.04, and should have mentioned this.
>>
>> Any thoughts on why it's ignoring the signing key?
>>
>>
>> On 10/21/21 09:20, L.P.H. van Belle via samba wrote:
>>> Yes, that is correct.
>>>
>>> http://apt.van-belle.nl/debian/
>>> Or
>>> https://apt.van-belle.nl/debian/
>>>
>>> Both work, thats what you preffer. :-)
>>>
>>>
>>> Greetz,
>>>
>>> Louis
>>>
>>>
>>>> -----Oorspronkelijk bericht-----
>>>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>>>> Arnaud FLORENT via samba
>>>> Verzonden: donderdag 21 oktober 2021 16:05
>>>> Aan: samba at lists.samba.org
>>>> Onderwerp: Re: [Samba] Issue using apt.van-belle.nl Samba repo
>>>>
>>>> hi
>>>>
>>>> i think the url is
>>>>
>>>> http://apt.van-belle.nl/debian/
>>>>
>>>> and not
>>>>
>>>> http://apt.van-belle.nl/ubuntu/
>>>>
>>>> Le 21/10/2021 à 15:55, Patrick Goetz via samba a écrit :
>>>>> 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?
>>>>>
>>>>>
>>>>>
>>>> -- 
>>>> Arnaud FLORENT
>>>> IRIS Technologies
>>>>
>>>>
>>>> -- 
>>>> 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