The officially official Devuan Forum!

You are not logged in.

#1 2020-08-06 21:48:34

Bill Evans
Member
Registered: 2020-08-06
Posts: 18  

[SOLVED] downloading .deb files for obscure packages (dahdi*)

I have a computer which does not have Internet access, so any devuan packages I install, I must already have locally as .deb files, so I need to explicitly download these .deb files on some other computer.

I wish to install packages that exist (according to the wonderful "Searck Package Information" feature) but are not on any of the four ISO images. These packages are the ones whose names begin with "dahdi". I can download one of them, but not any of the others.

The relevant line in /etc/apt/sources.list is:

deb http://deb.devuan.org beowulf contrib main non-free

For good measure, I also tried a fifth package whose name contains, but does not start with, "dadhi".

Results:

apt-get download asterisk-dahdi
E: Can't select candidate version from package asterisk-dahdi as it has no candidate

apt-get download dahdi
E: Can't select candidate version from package dahdi as it has no candidate

apt-get download dahdi-dkms
E: Unable to locate package dahdi-dkms

apt-get download dahdi-firmware-nonfree      # success!

apt-get download dahdi-linux
E: Unable to locate package dahdi-linux

apt-get download dahdi-source
E: Unable to locate package dahdi-source

What am I doing wrong?

Last edited by Bill Evans (2020-08-09 09:36:27)

Offline

#2 2020-08-06 22:08:45

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

Re: [SOLVED] downloading .deb files for obscure packages (dahdi*)

This would be the correct line for sources.list:
deb http://deb.devuan.org/merged beowulf contrib main non-free

Offline

#3 2020-08-06 23:16:06

Bill Evans
Member
Registered: 2020-08-06
Posts: 18  

Re: [SOLVED] downloading .deb files for obscure packages (dahdi*)

I've changed /etc/apt/sources.list as you recommended, and I'll probably hang on to that change. Unfortunately, though, the results remain unchanged.

Offline

#4 2020-08-06 23:24:34

ralph.ronnquist
Administrator
From: Clifton Hill, Victoria, AUS
Registered: 2016-11-30
Posts: 1,106  

Re: [SOLVED] downloading .deb files for obscure packages (dahdi*)

Might you have forgotten to do

apt-get update

as well, so as to update your local package lists?

Offline

#5 2020-08-06 23:53:27

Bill Evans
Member
Registered: 2020-08-06
Posts: 18  

Re: [SOLVED] downloading .deb files for obscure packages (dahdi*)

That worked, but only after (duh) I ran dhclient.  And now I wonder whether running dhclient without apt-get update was all I needed to do in the first place (except for that one package that inexplicably appeared anyway). Further experimentation on a freshly installed devuan system will answer that, but meanwhile the two of you have helped muchly. Thanks.

Offline

#6 2020-08-09 08:43:04

Bill Evans
Member
Registered: 2020-08-06
Posts: 18  

Re: [SOLVED] downloading .deb files for obscure packages (dahdi*)

Experimentation with repeated clean install shows that both suggested steps are required. In addition, I found it necessary to comment out the line in /etc/apt/sources.list that refers to the CD-Rom.

Thanks again to both responders.

Offline

Board footer