You are not logged in.
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
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
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
Could you please post your sources.list?
Offline
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
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
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?
Offline
^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
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