The officially official Devuan Forum!

You are not logged in.

#1 2022-02-10 06:35:16

slashmais
Member
Registered: 2018-05-10
Posts: 9  

Setup & Repo problem

after beowulf new install from livecd

Using synaptic to install gcc/g++/gdb/geany and got:

W: Failed to fetch http://deb.debian.org/debian/pool/main/l/linux/linux-libc-dev_4.19.118-2_amd64.deb
     404  Not Found [IP: 151.101.226.132 80]

I suspect the default repos in apt sources to be wrong? current is:

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

Any ideas?

Offline

#2 2022-02-10 06:44:11

slashmais
Member
Registered: 2018-05-10
Posts: 9  

Re: Setup & Repo problem

(Leaving the question for someone that may run into same)

am now upgrading to Chimaera ...

Offline

#3 2022-02-10 10:02:55

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: Setup & Repo problem

have you tried installing from the terminal, does it give the same failure ?

sudo apt install gcc g++ gdb geany

maybe do an apt update and dist-upgrade first.

sudo apt update && sudo apt dist-upgrade

Last edited by hevidevi (2022-02-10 10:04:12)

Offline

#4 2022-02-10 10:52:03

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: Setup & Repo problem

you need to do `apt update` to sync packages first. there's no such package in debian repos.

Offline

#5 2022-02-10 13:21:25

alexkemp
Member
Registered: 2018-05-14
Posts: 290  

Re: Setup & Repo problem

Yes. Your sources are wrong, somewhere (should be deb.devuan.org, not debian) (look at the error msg, not your sources.list).

Try $ apt-cache policy to get the full list, or (to summarise) apt-cache policy | awk '/http.*amd64/{print$2}' | sort -u. FWIW, here is my current repository list:

$ grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
deb http://deb.devuan.org/merged chimaera main non-free contrib
deb http://deb.devuan.org/merged chimaera-security main non-free contrib
deb http://deb.devuan.org/merged chimaera-updates main non-free contrib
deb http://deb.devuan.org/devuan chimaera-proposed-updates main non-free contrib
deb http://deb.devuan.org/merged chimaera-backports main non-free contrib

Once you are sure of your repository list, and place it into a suitable file (eg 'current.repos.list'), the following will setup your repository for you (see stackoverflow):

apt-add-repository << current.repos.list

Last edited by alexkemp (2022-02-10 13:24:43)

Offline

#6 2022-02-10 13:30:00

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: Setup & Repo problem

alexkemp wrote:

Yes. Your sources are wrong, somewhere (should be deb.devuan.org, not debian).

not really, unchanged debian packages are fetched from debian repo directly..so nothing wrong there. that package just doesn't exist, beowulf packages database was very old, needed an `apt update`.

alexkemp wrote:
apt-add-repository << current.repos.list

iirc, this (add-apt-repository) needs some extra package (software-properties-common) to work, doesn't get installed by default, so it's probably not-existent in most devuan systems. not sure if it works at all tbh, i think it's more ubuntu/ppa specific..

Offline

#7 2022-02-10 13:46:02

alexkemp
Member
Registered: 2018-05-14
Posts: 290  

Re: Setup & Repo problem

(apt-add-repository): Ah yes, so I see, cannot even find it in a devuan repo. What a shame, looks like a useful utility, even if only used once.

I cannot recall having seen a debian url during my daily updates from command-line. Perhaps need to look more closely next time.

Offline

#8 2022-02-10 14:09:29

xinomilo
Unknown
Registered: 2017-07-02
Posts: 315  

Re: Setup & Repo problem

software-properties-common is available in devuan repos.

users don't usually notice, deb.devuan.org/mirror does all the url rewriting to fetch from debian.

Offline

Board footer