The officially official Devuan Forum!

You are not logged in.

#1 2018-09-12 10:05:24

ismohaa
Member
Registered: 2018-08-17
Posts: 7  

Devuan repositories won't work [SOLVED]

I've been fighting with installing Devuan on a Virtualbox VM, because it refuses to recognize any repository as valid. I finally got the installation to go through by using the installation DVD, so I didn't need to rely on the repos, thinking I would sort it out later, but they still refuse to work. I've tried all the different versions I could find (including the deprecated auto.mirror-ones) but every single one fails in the same way. Networking works just fine, though - in fact I'm posting from that very machine.

/etc/apt/sources.list:

# deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free

#deb cdrom:[devuan_ascii_2.0.0_amd64_dvd-1]/ ascii main non-free

# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
#deb http://auto.mirror.devuan.org/merged/ ascii-security main
#deb-src http://auto.mirror.devuan.org/merged ascii-security main

deb http://deb.devuan.org/merged ascii          main
deb http://deb.devuan.org/merged ascii-updates  main
deb http://deb.devuan.org/merged ascii-security main

This seems to be what the Devuan page currently recommends, but when I run "apt-get update" I get this:

root@devuan:~# apt-get update               
Ign:1 http://deb.devuan.org/merged ascii InRelease
Ign:2 http://deb.devuan.org/merged ascii-updates InRelease
Ign:3 http://deb.devuan.org/merged ascii-security InRelease
Ign:4 http://deb.devuan.org/merged ascii Release
Ign:5 http://deb.devuan.org/merged ascii-updates Release
Ign:6 http://deb.devuan.org/merged ascii-security Release
Ign:7 http://deb.devuan.org/merged ascii/main all Packages
Ign:8 http://deb.devuan.org/merged ascii/main amd64 Packages
Ign:9 http://deb.devuan.org/merged ascii/main Translation-en
Ign:10 http://deb.devuan.org/merged ascii/main Translation-en_US
Ign:11 http://deb.devuan.org/merged ascii/main all DEP-11 Metadata
Ign:12 http://deb.devuan.org/merged ascii/main amd64 DEP-11 Metadata
Ign:13 http://deb.devuan.org/merged ascii/main DEP-11 64x64 Icons
Ign:14 http://deb.devuan.org/merged ascii-updates/main all Packages
Ign:15 http://deb.devuan.org/merged ascii-updates/main amd64 Packages
Ign:16 http://deb.devuan.org/merged ascii-updates/main Translation-en_US
Ign:17 http://deb.devuan.org/merged ascii-updates/main Translation-en
Ign:18 http://deb.devuan.org/merged ascii-updates/main all DEP-11 Metadata
Ign:19 http://deb.devuan.org/merged ascii-updates/main amd64 DEP-11 Metadata
Ign:20 http://deb.devuan.org/merged ascii-updates/main DEP-11 64x64 Icons
Ign:21 http://deb.devuan.org/merged ascii-security/main all Packages
Ign:22 http://deb.devuan.org/merged ascii-security/main amd64 Packages
Ign:23 http://deb.devuan.org/merged ascii-security/main Translation-en
Ign:24 http://deb.devuan.org/merged ascii-security/main Translation-en_US
Ign:25 http://deb.devuan.org/merged ascii-security/main amd64 DEP-11 Metadata
Ign:26 http://deb.devuan.org/merged ascii-security/main all DEP-11 Metadata
Ign:27 http://deb.devuan.org/merged ascii-security/main DEP-11 64x64 Icons
Ign:7 http://deb.devuan.org/merged ascii/main all Packages
Ign:8 http://deb.devuan.org/merged ascii/main amd64 Packages
Ign:9 http://deb.devuan.org/merged ascii/main Translation-en
Ign:10 http://deb.devuan.org/merged ascii/main Translation-en_US
Ign:11 http://deb.devuan.org/merged ascii/main all DEP-11 Metadata
Ign:12 http://deb.devuan.org/merged ascii/main amd64 DEP-11 Metadata
Ign:13 http://deb.devuan.org/merged ascii/main DEP-11 64x64 Icons
Ign:14 http://deb.devuan.org/merged ascii-updates/main all Packages
Ign:15 http://deb.devuan.org/merged ascii-updates/main amd64 Packages
Ign:16 http://deb.devuan.org/merged ascii-updates/main Translation-en_US
Ign:17 http://deb.devuan.org/merged ascii-updates/main Translation-en
Ign:18 http://deb.devuan.org/merged ascii-updates/main all DEP-11 Metadata
Ign:19 http://deb.devuan.org/merged ascii-updates/main amd64 DEP-11 Metadata
Ign:20 http://deb.devuan.org/merged ascii-updates/main DEP-11 64x64 Icons
Ign:21 http://deb.devuan.org/merged ascii-security/main all Packages
Ign:22 http://deb.devuan.org/merged ascii-security/main amd64 Packages
Ign:23 http://deb.devuan.org/merged ascii-security/main Translation-en
Ign:24 http://deb.devuan.org/merged ascii-security/main Translation-en_US
Ign:25 http://deb.devuan.org/merged ascii-security/main amd64 DEP-11 Metadata
Ign:26 http://deb.devuan.org/merged ascii-security/main all DEP-11 Metadata
Ign:27 http://deb.devuan.org/merged ascii-security/main DEP-11 64x64 Icons
Ign:7 http://deb.devuan.org/merged ascii/main all Packages
Ign:8 http://deb.devuan.org/merged ascii/main amd64 Packages
Ign:9 http://deb.devuan.org/merged ascii/main Translation-en
Ign:10 http://deb.devuan.org/merged ascii/main Translation-en_US
Ign:11 http://deb.devuan.org/merged ascii/main all DEP-11 Metadata
Ign:12 http://deb.devuan.org/merged ascii/main amd64 DEP-11 Metadata
Ign:13 http://deb.devuan.org/merged ascii/main DEP-11 64x64 Icons
Ign:14 http://deb.devuan.org/merged ascii-updates/main all Packages
Ign:15 http://deb.devuan.org/merged ascii-updates/main amd64 Packages
Ign:16 http://deb.devuan.org/merged ascii-updates/main Translation-en_US
Ign:17 http://deb.devuan.org/merged ascii-updates/main Translation-en
Ign:18 http://deb.devuan.org/merged ascii-updates/main all DEP-11 Metadata
Ign:19 http://deb.devuan.org/merged ascii-updates/main amd64 DEP-11 Metadata
Ign:20 http://deb.devuan.org/merged ascii-updates/main DEP-11 64x64 Icons
Ign:21 http://deb.devuan.org/merged ascii-security/main all Packages
Ign:22 http://deb.devuan.org/merged ascii-security/main amd64 Packages
Ign:23 http://deb.devuan.org/merged ascii-security/main Translation-en
Ign:24 http://deb.devuan.org/merged ascii-security/main Translation-en_US
Ign:25 http://deb.devuan.org/merged ascii-security/main amd64 DEP-11 Metadata
Ign:26 http://deb.devuan.org/merged ascii-security/main all DEP-11 Metadata
Ign:27 http://deb.devuan.org/merged ascii-security/main DEP-11 64x64 Icons
Ign:7 http://deb.devuan.org/merged ascii/main all Packages
Ign:8 http://deb.devuan.org/merged ascii/main amd64 Packages
Ign:9 http://deb.devuan.org/merged ascii/main Translation-en
Ign:10 http://deb.devuan.org/merged ascii/main Translation-en_US
Ign:11 http://deb.devuan.org/merged ascii/main all DEP-11 Metadata
Ign:12 http://deb.devuan.org/merged ascii/main amd64 DEP-11 Metadata
Ign:13 http://deb.devuan.org/merged ascii/main DEP-11 64x64 Icons
Ign:14 http://deb.devuan.org/merged ascii-updates/main all Packages
Ign:15 http://deb.devuan.org/merged ascii-updates/main amd64 Packages
Ign:16 http://deb.devuan.org/merged ascii-updates/main Translation-en_US
Ign:17 http://deb.devuan.org/merged ascii-updates/main Translation-en
Ign:18 http://deb.devuan.org/merged ascii-updates/main all DEP-11 Metadata
Ign:19 http://deb.devuan.org/merged ascii-updates/main amd64 DEP-11 Metadata
Ign:20 http://deb.devuan.org/merged ascii-updates/main DEP-11 64x64 Icons
Ign:21 http://deb.devuan.org/merged ascii-security/main all Packages
Ign:22 http://deb.devuan.org/merged ascii-security/main amd64 Packages
Ign:23 http://deb.devuan.org/merged ascii-security/main Translation-en
Ign:24 http://deb.devuan.org/merged ascii-security/main Translation-en_US
Ign:25 http://deb.devuan.org/merged ascii-security/main amd64 DEP-11 Metadata
Ign:26 http://deb.devuan.org/merged ascii-security/main all DEP-11 Metadata
Ign:27 http://deb.devuan.org/merged ascii-security/main DEP-11 64x64 Icons
Ign:7 http://deb.devuan.org/merged ascii/main all Packages
Ign:8 http://deb.devuan.org/merged ascii/main amd64 Packages
Ign:9 http://deb.devuan.org/merged ascii/main Translation-en
Ign:10 http://deb.devuan.org/merged ascii/main Translation-en_US
Ign:11 http://deb.devuan.org/merged ascii/main all DEP-11 Metadata
Ign:12 http://deb.devuan.org/merged ascii/main amd64 DEP-11 Metadata
Ign:13 http://deb.devuan.org/merged ascii/main DEP-11 64x64 Icons
Ign:14 http://deb.devuan.org/merged ascii-updates/main all Packages
Ign:15 http://deb.devuan.org/merged ascii-updates/main amd64 Packages
Ign:16 http://deb.devuan.org/merged ascii-updates/main Translation-en_US
Ign:17 http://deb.devuan.org/merged ascii-updates/main Translation-en
Ign:18 http://deb.devuan.org/merged ascii-updates/main all DEP-11 Metadata
Ign:19 http://deb.devuan.org/merged ascii-updates/main amd64 DEP-11 Metadata
Ign:20 http://deb.devuan.org/merged ascii-updates/main DEP-11 64x64 Icons
Ign:21 http://deb.devuan.org/merged ascii-security/main all Packages
Ign:22 http://deb.devuan.org/merged ascii-security/main amd64 Packages
Ign:23 http://deb.devuan.org/merged ascii-security/main Translation-en
Ign:24 http://deb.devuan.org/merged ascii-security/main Translation-en_US
Ign:25 http://deb.devuan.org/merged ascii-security/main amd64 DEP-11 Metadata
Ign:26 http://deb.devuan.org/merged ascii-security/main all DEP-11 Metadata
Ign:27 http://deb.devuan.org/merged ascii-security/main DEP-11 64x64 Icons
Ign:7 http://deb.devuan.org/merged ascii/main all Packages
Err:8 http://deb.devuan.org/merged ascii/main amd64 Packages
  Connection failed [IP: 37.220.36.58 80]
Ign:9 http://deb.devuan.org/merged ascii/main Translation-en
Ign:10 http://deb.devuan.org/merged ascii/main Translation-en_US
Ign:11 http://deb.devuan.org/merged ascii/main all DEP-11 Metadata
Ign:12 http://deb.devuan.org/merged ascii/main amd64 DEP-11 Metadata
Ign:13 http://deb.devuan.org/merged ascii/main DEP-11 64x64 Icons
Ign:14 http://deb.devuan.org/merged ascii-updates/main all Packages
Err:15 http://deb.devuan.org/merged ascii-updates/main amd64 Packages
  Connection failed [IP: 37.220.36.58 80]
Ign:16 http://deb.devuan.org/merged ascii-updates/main Translation-en_US
Ign:17 http://deb.devuan.org/merged ascii-updates/main Translation-en
Ign:18 http://deb.devuan.org/merged ascii-updates/main all DEP-11 Metadata
Ign:19 http://deb.devuan.org/merged ascii-updates/main amd64 DEP-11 Metadata
Ign:20 http://deb.devuan.org/merged ascii-updates/main DEP-11 64x64 Icons
Ign:21 http://deb.devuan.org/merged ascii-security/main all Packages
Err:22 http://deb.devuan.org/merged ascii-security/main amd64 Packages
  Connection failed [IP: 37.220.36.58 80]
Ign:23 http://deb.devuan.org/merged ascii-security/main Translation-en
Ign:24 http://deb.devuan.org/merged ascii-security/main Translation-en_US
Ign:25 http://deb.devuan.org/merged ascii-security/main amd64 DEP-11 Metadata
Ign:26 http://deb.devuan.org/merged ascii-security/main all DEP-11 Metadata
Ign:27 http://deb.devuan.org/merged ascii-security/main DEP-11 64x64 Icons
Reading package lists... Done
W: The repository 'http://deb.devuan.org/merged ascii Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://deb.devuan.org/merged ascii-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://deb.devuan.org/merged ascii-security Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://deb.devuan.org/merged/dists/ascii/main/binary-amd64/Packages  Connection failed [IP: 37.220.36.58 80]
E: Failed to fetch http://deb.devuan.org/merged/dists/ascii-updates/main/binary-amd64/Packages  Connection failed [IP: 37.220.36.58 80]
E: Failed to fetch http://deb.devuan.org/merged/dists/ascii-security/main/binary-amd64/Packages  Connection failed [IP: 37.220.36.58 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Any suggestions?

Last edited by ismohaa (2018-09-13 05:33:31)

Offline

#2 2018-09-12 13:10:51

catprints
Member
Registered: 2016-11-30
Posts: 145  

Re: Devuan repositories won't work [SOLVED]

Compared my list to yours and I have backslash after /merged.
/merged/ ascii main

Removed backslash and it still seems to update... nevermind.

Last edited by catprints (2018-09-12 13:13:17)


"The obstacle is the path."

Offline

#3 2018-09-12 15:57:41

chris2be8
Member
Registered: 2018-08-11
Posts: 312  

Re: Devuan repositories won't work [SOLVED]

My /etc/apt/sources.list contains:

## package repositories
deb http://pkgmaster.devuan.org/merged/ ascii main contrib non-free 
deb http://pkgmaster.devuan.org/merged/ ascii-updates main contrib non-free 
deb http://pkgmaster.devuan.org/merged/ ascii-security main contrib non-free 
# deb http://pkgmaster.devuan.org/merged/ ascii-backports main 

## source repositories
# deb-src http://pkgmaster.devuan.org/merged/ ascii main 
# deb-src http://pkgmaster.devuan.org/merged/ ascii-updates main 
# deb-src http://pkgmaster.devuan.org/merged/ ascii-security main 
# deb-src http://pkgmaster.devuan.org/merged/ ascii-backports main 

Checking what IP addresses we are using:

$ host pkgmaster.devuan.org
pkgmaster.devuan.org has address 5.196.38.18
$ host deb.devuan.org
deb.devuan.org is an alias for deb.roundr.devuan.org.
deb.roundr.devuan.org has address 195.85.215.180
deb.roundr.devuan.org has address 37.220.36.58
deb.roundr.devuan.org has address 46.4.50.2
deb.roundr.devuan.org has address 95.216.15.86
deb.roundr.devuan.org has address 91.121.196.103
deb.roundr.devuan.org has address 5.196.38.18
deb.roundr.devuan.org has address 130.225.254.116
deb.roundr.devuan.org has address 185.203.112.44
deb.roundr.devuan.org has address 31.220.0.151
deb.roundr.devuan.org has address 185.26.197.8
deb.roundr.devuan.org has address 200.236.31.1
deb.roundr.devuan.org has address 185.183.113.129
deb.roundr.devuan.org has address 141.24.220.40
deb.roundr.devuan.org has address 37.187.111.86

So pkgmaster.devuan.org points to one of the round robin addresses deb.devuan.org points to. So it should make no difference.

But I'm suspicious of the Connection failed [IP: 37.220.36.58 80] messages you got. And when I look at http://37.220.36.58/merged in a web browser I get a message saying The requested URL /merged was not found on this server.

Try temporarily using pkgmaster.devuan.org and see if that works. Or any other IP address that deb.roundr.devuan.org maps to.

Chris

Offline

#4 2018-09-12 16:17:37

golinux
Administrator
Registered: 2016-11-25
Posts: 3,340  

Re: Devuan repositories won't work [SOLVED]

You should be using deb.devuan.org.  Looks like one of the mirrors is failing.   There is a list of mirrors here but without corresponding IP #.  I'll report it to KatolaZ.

Online

#5 2018-09-12 18:42:17

chris2be8
Member
Registered: 2018-08-11
Posts: 312  

Re: Devuan repositories won't work [SOLVED]

Of all the IP addresses returned by host deb.devuan.org the only ones likely to work are:
5.196.38.18 - pkgmaster.devuan.org
185.203.112.44
31.220.0.151
37.187.111.86

Most of the rest don't have a /merged directory to serve. One just timed out when I was checking it.

Chris

Offline

#6 2018-09-12 20:23:56

KatolaZ
Member
Registered: 2017-03-11
Posts: 79  

Re: Devuan repositories won't work [SOLVED]

chris2be8 wrote:

Of all the IP addresses returned by host deb.devuan.org the only ones likely to work are:
5.196.38.18 - pkgmaster.devuan.org
185.203.112.44
31.220.0.151
37.187.111.86

Most of the rest don't have a /merged directory to serve. One just timed out when I was checking it.

Chris

Hi Chris,

how exactly are you "testing" those? We are continuosly checking all the mirrors behind deb.devuan.org and have not found any issue. You simply can't "point your browser" to those IPs, since you have to present a valid "Host: deb.devuan.org" header. If you know what I mean, you know how to work around it with wget/curl. If you don't, it's a bit too complicated to explain here. Basically, apt does the right thing, while your browser won't.

I guess the mishap with the mirror you talk about is due to a temporary glitch. I have also contacted the mirror administrator who has confirmed that the server is (and has been) up and running. Luckily there are several thousand people using deb.devuan.org, so we get to know about glitches pretty soon.

HTH

KatolaZ

Offline

#7 2018-09-13 05:30:58

ismohaa
Member
Registered: 2018-08-17
Posts: 7  

Re: Devuan repositories won't work [SOLVED]

Ok... I figured out the problem. It's that the office network is run by Mordac, http://dilbert.com/strip/2007-11-16 so that http seems to work just fine, but then breaks mysteriously when apt-get tries to do its thing. I'll post the solution that worked for me in case there's anyone else stuck behind a fascist firewall.

1) Download the tor browser bundle. If your firewall is fascist you may need to be sneaky about it.
2) Run it and test that it works. I had to use the give-the-Chinese-the-middle-finger-settings.
3) Manually download the apt-transport-tor -package and install it with dpkg -i (I used the debian stretch version, which I assume is identical because I couldn't (easily) find a place to manually download devuan ones).
4) Edit the torrc file (tor-browser_en-US/Browser/TorBrowser/Data/Tor/torrc) and change the port to 9050, which is what apt-transport-tor expects by adding the line.

SocksPort 9050

5) Restart Tor browser.
6) Change /etc/apt/sources.list to this:

deb tor+http://devuanfwojg73k6r.onion/merged ascii          main
deb tor+http://devuanfwojg73k6r.onion/merged ascii-updates  main
deb tor+http://devuanfwojg73k6r.onion/merged ascii-security main

Thank you for adding tor support Devuan devs!
7) Do your apt-get update && apt-get upgrade normally (albeit slowly).

Offline

#8 2018-09-13 13:54:17

GNUser
Member
Registered: 2017-03-16
Posts: 570  

Re: Devuan repositories won't work [SOLVED]

Just one note of warning about using Tor at work:

I'm also behind a draconian firewall when I'm at work, and used Tor for a long time to get around it. One day I was contacted by the IT team because their records showed my computer was connecting to an IP address that was part of a "botnet". My tower was taken away for investigation (to make sure it was not infected with viruses/malware), and I was given a new tower. They never found anything (not surprising). It was embarrassing and inconvenient.

Moral of the story is if your IT department has a strict firewall, then it is probably the kind of IT department that also keeps tabs on the IP addresses you are connecting to. If the first Tor node you connect to is on one of their blacklists for some reason, you may get in trouble/inconvenience/scrutiny.

Offline

#9 2018-09-13 16:04:42

chris2be8
Member
Registered: 2018-08-11
Posts: 312  

Re: Devuan repositories won't work [SOLVED]

KatolaZ wrote:

how exactly are you "testing" those? We are continuosly checking all the mirrors behind deb.devuan.org and have not found any issue. You simply can't "point your browser" to those IPs, since you have to present a valid "Host: deb.devuan.org" header. If you know what I mean, you know how to work around it with wget/curl. If you don't, it's a bit too complicated to explain here. Basically, apt does the right thing, while your browser won't.

I was just pointing my browser at them, so ignore what I said. The 4 I listed showed a merged directory containing a dists directory with appropriate looking content, so I thought they were the only ones that would work. The rest appeared to fail.

Chris

Offline

Board footer