The officially official Devuan Forum!

You are not logged in.

#1 2018-05-16 05:35:08

Andre
Member
Registered: 2018-05-16
Posts: 3

i need help with some packages (SOLVED)

Hi everyone, i need some help, whenever i install a new distro i need to install a modified wifi card driver, so i need help cuz i can't install this packages: "linux-headers-generic" "build-essential" "dkms", how can i install that packages?, in the description of the guide to install this drivers says "The instructions above should work in every Debian-based distribution." but doesn't work, so please help me, i won't systemd on my pc... thx for your time, and sorry for my english.

Last edited by Andre (2018-05-17 18:58:25)

Offline

#2 2018-05-16 13:18:37

siva
Member
Registered: 2018-01-25
Posts: 108
Website

Re: i need help with some packages (SOLVED)

Can you post the full output of sudo apt-get install -y linux-headers-generic build-essential dkms?

Also, your wifi card model -- sudo lspci -vv | grep -i network -- and a link to your driver might be helpful, too.

Last edited by siva (2018-05-16 13:20:18)

Offline

#3 2018-05-17 00:54:46

Andre
Member
Registered: 2018-05-16
Posts: 3

Re: i need help with some packages (SOLVED)

siva wrote:

Can you post the full output of sudo apt-get install -y linux-headers-generic build-essential dkms?

Also, your wifi card model -- sudo lspci -vv | grep -i network -- and a link to your driver might be helpful, too.


after "apt-get install": root @ Andre-PC: / home / andre # sudo apt-get install -y linux-headers-generic build-essential dkms
Reading list of packages ... Done
Creating dependency tree
Reading the status information ... Done
The linux-headers-generic package is not available, but there is another package referenced
to the. This may mean that the package is missing, obsolete or only
Find available from below from another source

E: The "linux-headers-generic" package does not have a candidate for installation

after lspci: sudo lspci -vv | grep -i network
[sudo] password for andre:
pcilib: sysfs_read_vpd: read failed: Input/output error

i do this in a fresh installation of Devuan ASCII

Last edited by Andre (2018-05-17 00:55:26)

Offline

#4 2018-05-17 01:17:27

golinux
Administrator
Registered: 2016-11-25
Posts: 966

Re: i need help with some packages (SOLVED)

Could you please post your sources.list?

Online

#5 2018-05-17 01:21:04

Andre
Member
Registered: 2018-05-16
Posts: 3

Re: i need help with some packages (SOLVED)

golinux wrote:

Could you please post your sources.list?

here is:
#

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

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

deb http://mx.deb.devuan.org/merged ascii main non-free contrib
deb-src http://mx.deb.devuan.org/merged ascii main non-free contrib

deb http://mx.deb.devuan.org/merged ascii-security main non-free contrib
deb-src http://mx.deb.devuan.org/merged ascii-security main non-free contrib

Offline

#6 2018-05-17 02:24:59

siva
Member
Registered: 2018-01-25
Posts: 108
Website

Re: i need help with some packages (SOLVED)

Andre wrote:

E: The "linux-headers-generic" package does not have a candidate for installation

My guess is you need to remove the duplicate cdrom line, so your sources.list would read something like:

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

deb http://mx.deb.devuan.org/merged ascii main non-free contrib
[ ... ]

Then run sudo apt-get update and re-run the other command, with the dependencies, that I mentioned in my first reply.

If that works, it may help with your Input/Output issue.  It might be a problem with your kernel package, so you could try re-installing the kernel, like the person in that link did.  But I suspect that fixing your sources.list and updating will solve a few conundrums.

Last edited by siva (2018-05-17 02:31:20)

Offline

#7 2018-05-17 02:34:17

golinux
Administrator
Registered: 2016-11-25
Posts: 966

Re: i need help with some packages (SOLVED)

I just checked and I don't have linux-headers-generic available in jessie or ASCII.  There are plenty of linux-headers-* for various kernels and pae etc.  Maybe you need linux-headers-common?

Online

#8 2018-05-17 02:39:19

siva
Member
Registered: 2018-01-25
Posts: 108
Website

Re: i need help with some packages (SOLVED)

^golinux is right.  Apparently this isn't news, either. XD  So you may want to try sudo  apt-get install linux-headers-$(dpkg --print-architecture) instead.

Last edited by siva (2018-05-17 02:40:15)

Offline

#9 2018-05-17 02:39:30

fsmithred
Administrator
Registered: 2016-11-25
Posts: 689

Re: i need help with some packages (SOLVED)

Usually, all you need to do is:

apt-get install build-essential linux-headers-$(uname -r)

and you'll get the headers for the running kernel along with the build tools.

Offline

Board footer