The officially official Devuan Forum!

You are not logged in.

#1 2019-08-11 18:27:27

alphalpha
Member
Registered: 2018-01-23
Posts: 30  

apt https fail (beowulf)

Hi,

im trying to set the apt mirrorlist from http to https but it fails due to some certificate error:

apt install apt-transport-https
sed s'/http:/https:/g' -i /etc/apt/sources.list
apt update

Error:

https://deb.devuan.org/merged beowulf-security Release
  Certificate verification failed: The certificate is NOT trusted. The name in the certificate does not match the expected.  Could not handshake: Error in the certificate verification

cat /etc/apt/sources.list

## package repositories
deb https://deb.devuan.org/merged beowulf main
deb https://deb.devuan.org/merged beowulf-updates main
deb https://deb.devuan.org/merged beowulf-security main
#deb https://deb.devuan.org/merged beowulf-backports main

## source repositories
#deb-src https://deb.devuan.org/merged beowulf main
#deb-src https://deb.devuan.org/merged beowulf-updates main
#deb-src https://deb.devuan.org/merged beowulf-security
#deb-src https://deb.devuan.org/merged beowulf-backports main

what am i doing wrong?

Offline

#2 2019-08-11 18:54:45

golinux
Administrator
Registered: 2016-11-25
Posts: 1,768  

Re: apt https fail (beowulf)

Most devuan mirrors do not support https.  Either use http or choose one specific mirror that provides https.

Offline

#3 2019-08-12 08:21:41

alphalpha
Member
Registered: 2018-01-23
Posts: 30  

Re: apt https fail (beowulf)

thx

Offline

#4 2019-08-15 11:03:31

alphalpha
Member
Registered: 2018-01-23
Posts: 30  

Re: apt https fail (beowulf)

sudo apt update
Ign:1 https://sledjhamr.org/devuan beowulf InRelease                                            
Ign:2 https://ftp.fau.de/devuan beowulf InRelease                                               
Ign:3 https://pkgmaster.devuan.org beowulf InRelease
Ign:4 https://sledjhamr.org/devuan beowulf-updates InRelease
Ign:5 https://ftp.fau.de/devuan beowulf-updates InRelease
Ign:6 https://pkgmaster.devuan.org beowulf-updates InRelease
Ign:7 https://sledjhamr.org/devuan beowulf-security InRelease
Ign:8 https://ftp.fau.de/devuan beowulf-security InRelease
Ign:9 https://pkgmaster.devuan.org beowulf-security InRelease
Err:10 https://sledjhamr.org/devuan beowulf Release
  404  Not Found [IP: 37.220.36.58 443]
Err:11 https://ftp.fau.de/devuan beowulf Release
  404  Not Found [IP: 131.188.12.211 443]
Err:12 https://sledjhamr.org/devuan beowulf-updates Release
  404  Not Found [IP: 37.220.36.58 443]
Err:13 https://pkgmaster.devuan.org beowulf Release
  404  Not Found [IP: 5.196.38.18 443]
Err:14 https://ftp.fau.de/devuan beowulf-updates Release
  404  Not Found [IP: 131.188.12.211 443]
Err:15 https://sledjhamr.org/devuan beowulf-security Release
  404  Not Found [IP: 37.220.36.58 443]
Err:16 https://pkgmaster.devuan.org beowulf-updates Release
  404  Not Found [IP: 5.196.38.18 443]
Err:17 https://ftp.fau.de/devuan beowulf-security Release
  404  Not Found [IP: 131.188.12.211 443]
Err:18 https://pkgmaster.devuan.org beowulf-security Release
  404  Not Found [IP: 5.196.38.18 443]
Reading package lists... Done
E: The repository 'https://sledjhamr.org/devuan beowulf 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.
E: The repository 'https://ftp.fau.de/devuan beowulf 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.
E: The repository 'https://sledjhamr.org/devuan beowulf-updates 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.
E: The repository 'https://pkgmaster.devuan.org beowulf 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.
E: The repository 'https://ftp.fau.de/devuan beowulf-updates 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.
E: The repository 'https://sledjhamr.org/devuan beowulf-security 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.
E: The repository 'https://pkgmaster.devuan.org beowulf-updates 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.
E: The repository 'https://ftp.fau.de/devuan beowulf-security 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.
E: The repository 'https://pkgmaster.devuan.org beowulf-security 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.

Offline

#5 2019-09-28 22:05:23

stanz
Member
From: Northern Earth ~~ Brrrr
Registered: 2018-01-14
Posts: 144  

Re: apt https fail (beowulf)

Greetings...
This is just the post I was looking for! smile
I'm adding both options/protocols, to my build: apt-transport-https and apt-transport-tor.
Tor worked as expected, because the hidden services have been added to the 'get-devuan' page..! (Thx!)

golinux wrote:

Most devuan mirrors do not support https.  Either use http or choose one specific mirror that provides https.

A VERY helpful link (thx golinux!). As I had the same errors, and began my forum search...

alphalpha wrote:
https://sledjhamr.org/devuan beowulf
https://ftp.fau.de/devuan beowulf
https://pkgmaster.devuan.org beowulf
Err:10 https://sledjhamr.org/devuan beowulf Release
  404  Not Found [IP: 37.220.36.58 443]
Err:11 https://ftp.fau.de/devuan beowulf Release
  404  Not Found [IP: 131.188.12.211 443]

Same errors I first received (with same addy format), so I surfed to their .org clicked on, till I got to beowulf's directory - getting the full path.
Minor adjustment to your sources.list..

## testing repos
deb https://sledjhamr.org/devuan/merged beowulf main contrib non-free
deb https://ftp.fau.de/devuan/merged beowulf main contrib non-free

## devuan mirror that provides https
deb https://pkgmaster.devuan.org/merged beowulf main contrib non-free
deb https://pkgmaster.devuan.org/merged beowulf-security main contrib non-free
deb https://pkgmaster.devuan.org/merged beowulf-updates main contrib non-free
~$ sudo apt update
Hit:2 https://sledjhamr.org/devuan/merged beowulf InRelease                            
Hit:3 https://pkgmaster.devuan.org/merged beowulf InRelease                            
Get:4 https://ftp.fau.de/devuan/merged beowulf InRelease [25.6 kB]                     
Hit:5 https://pkgmaster.devuan.org/merged beowulf-security InRelease
Hit:6 https://pkgmaster.devuan.org/merged beowulf-updates InRelease
Get:7 https://ftp.fau.de/devuan/merged beowulf/main i386 Packages [8,002 kB]
Get:8 https://ftp.fau.de/devuan/merged beowulf/contrib i386 Packages [47.0 kB]         
Get:9 https://ftp.fau.de/devuan/merged beowulf/non-free i386 Packages [76.7 kB]        
Fetched 8,152 kB in 11s (749 kB/s)                                                     
Reading package lists... Done
Building dependency tree       
Reading state information... Done

I hope this helps!
asta..


miyoisomix.i2p

Offline

#6 2019-10-05 15:57:59

alphalpha
Member
Registered: 2018-01-23
Posts: 30  

Re: apt https fail (beowulf)

stanz wrote:

I hope this helps!
asta..

yay this works smile thx

Offline

Board footer