• 0

Unable to locate package dkms


Vicky
 Share

0

Question

Armbianmonitor:

Hi,

I could not able to download and install any packages,

 

following is the eg. i was trying to install dkms package

 

 sudo apt install dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dkms

 

in addtion apt update is running partial , throwing errors as below

 

 sudo apt update
Get:2 http://ports.ubuntu.com bionic InRelease [242 kB]
Hit:3 http://repository.olimex.com bionic InRelease
Get:2 http://ports.ubuntu.com bionic InRelease [242 kB]
Err:1 https://apt.armbian.com bionic InRelease
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 2001:bb8:4008:20:5054:ff:fea8:96fc 443]
Get:2 http://ports.ubuntu.com bionic InRelease [242 kB]
Get:2 http://ports.ubuntu.com bionic InRelease [242 kB]
Err:2 http://ports.ubuntu.com bionic InRelease
  Connection failed [IP: 91.189.88.150 80]
Get:4 http://ports.ubuntu.com bionic-security InRelease [88.7 kB]
Get:4 http://ports.ubuntu.com bionic-security InRelease [88.7 kB]
Get:4 http://ports.ubuntu.com bionic-security InRelease [88.7 kB]
Get:4 http://ports.ubuntu.com bionic-security InRelease [88.7 kB]
Get:4 http://ports.ubuntu.com bionic-security InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Get:5 http://ports.ubuntu.com bionic-updates InRelease [88.7 kB]
Hit:6 http://ports.ubuntu.com bionic-backports InRelease
Get:7 http://ports.ubuntu.com bionic-security/main armhf Packages [304 kB]
Get:7 http://ports.ubuntu.com bionic-security/main armhf Packages [304 kB]
Ign:7 http://ports.ubuntu.com bionic-security/main armhf Packages
Get:8 http://ports.ubuntu.com bionic-security/restricted armhf Packages [3968 B]
Get:9 http://ports.ubuntu.com bionic-security/universe armhf Packages [467 kB]
Ign:9 http://ports.ubuntu.com bionic-security/universe armhf Packages
Get:10 http://ports.ubuntu.com bionic-security/multiverse armhf Packages [1924 B]
Get:11 http://ports.ubuntu.com bionic-updates/main armhf Packages [518 kB]
Get:11 http://ports.ubuntu.com bionic-updates/main armhf Packages [518 kB]
Ign:11 http://ports.ubuntu.com bionic-updates/main armhf Packages
Get:12 http://ports.ubuntu.com bionic-updates/restricted armhf Packages [6504 B]
Ign:13 http://ports.ubuntu.com bionic-updates/universe armhf Packages
Get:14 http://ports.ubuntu.com bionic-updates/multiverse armhf Packages [3964 B]
Ign:7 http://ports.ubuntu.com bionic-security/main armhf Packages
Get:9 http://ports.ubuntu.com bionic-security/universe armhf Packages [467 kB]
Ign:9 http://ports.ubuntu.com bionic-security/universe armhf Packages
Get:11 http://ports.ubuntu.com bionic-updates/main armhf Packages [518 kB]
Err:11 http://ports.ubuntu.com bionic-updates/main armhf Packages
  File has unexpected size (518664 != 518472). Mirror sync in progress? [IP: 91.189.88.150 80]
  Hashes of expected file:
   - Filesize:518472 [weak]
   - SHA256:4a0cf88f09c6fb9037cbe727e0f855b8858f7a7d6479c04730662aab472bdb92
   - SHA1:7521c8429b133d76fa0836bcd9836f30fcc802ca [weak]
   - MD5Sum:c1dab514e64a1dd166f701d98a5eb98d [weak]
  Release file created at: Tue, 06 Aug 2019 06:34:50 +0000
Get:13 http://ports.ubuntu.com bionic-updates/universe armhf Packages [828 kB]
Err:13 http://ports.ubuntu.com bionic-updates/universe armhf Packages

Get:7 http://ports.ubuntu.com bionic-security/main armhf Packages [389 kB]
Ign:7 http://ports.ubuntu.com bionic-security/main armhf Packages
Ign:9 http://ports.ubuntu.com bionic-security/universe armhf Packages
Err:7 http://ports.ubuntu.com bionic-security/main armhf Packages
  Could not connect to ports.ubuntu.com:80 (91.189.88.150), connection timed out Could not connect to ports.ubuntu.com:80 (2001:67c:1360:8001::22), connection timed out [IP: 91.189.88.150 80]
Err:9 http://ports.ubuntu.com bionic-security/universe armhf Packages
  Connection failed [IP: 91.189.88.150 80]
Fetched 18.3 kB in 24min 30s (12 B/s)
Reading package lists... Done
W: Failed to fetch http://ports.ubuntu.com/dists/bionic/InRelease Connection failed [IP: 91.189.88.150 80]
W: Failed to fetch http://apt.armbian.com/dists/bionic/InRelease Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 2001:bb8:4008:20:5054:ff:fea8:96fc 443]
W: Failed to fetch http://ports.ubuntu.com/dists/bionic-security/main/binary-armhf/Packages Could not connect to ports.ubuntu.com:80 (91.189.88.150), connection timed out Could not connect to ports.ubuntu.com:80 (2001:67c:1360:8001::22), connection timed out [IP: 91.189.88.150 80]
W: Failed to fetch http://ports.ubuntu.com/dists/bionic-security/universe/binary-armhf/Packages Connection failed [IP: 91.189.88.150 80]
E: Failed to fetch http://ports.ubuntu.com/dists/bionic-updates/main/binary-armhf/Packages.xz File has unexpected size (518664 != 518472). Mirror sync in progress? [IP: 91.189.88.150 80]
   Hashes of expected file:
    - Filesize:518472 [weak]
    - SHA256:4a0cf88f09c6fb9037cbe727e0f855b8858f7a7d6479c04730662aab472bdb92
    - SHA1:7521c8429b133d76fa0836bcd9836f30fcc802ca [weak]
    - MD5Sum:c1dab514e64a1dd166f701d98a5eb98d [weak]
   Release file created at: Tue, 06 Aug 2019 06:34:50 +0000
E: Failed to fetch http://ports.ubuntu.com/dists/bionic-updates/universe/binary-armhf/Packages.xz
W: Some index files failed to download. They have been ignored, or old ones used instead.
W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target CNF (main/cnf/Commands-armhf) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target Packages (bionic-utils/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target Packages (bionic-utils/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target CNF (bionic-utils/cnf/Commands-armhf) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target CNF (bionic-utils/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target Packages (bionic-desktop/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target Packages (bionic-desktop/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target CNF (bionic-desktop/cnf/Commands-armhf) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2
W: Target CNF (bionic-desktop/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/armbian.list:1 and /etc/apt/sources.list.d/armbian.list:2

Link to post
Share on other sites

7 answers to this question

Recommended Posts

Armbian is a community driven open source project. Do you like to contribute your code?

  • 0
5 hours ago, Vicky said:

could not able to download and install any packages

 

Fix your network (try disabling IPV6) and use official stable Armbian builds when opening support topics. Linux version 5.2.5-sunxi (root@ubuntu-development) is not our stable build.

Link to post
Share on other sites

  • 0
On 8/6/2019 at 7:04 PM, Igor said:

 

Fix your network (try disabling IPV6) and use official stable Armbian builds when opening support topics. Linux version 5.2.5-sunxi (root@ubuntu-development) is not our stable build.

Thank you for the rply,

I am new to Armbian  so, could you pl suggest stable Armbian build for T2-SOM-e8Gs16M.

and How to disable IPV6.

Link to post
Share on other sites

  • 0
4 hours ago, Vicky said:

Thank you for the rply,

I am new to Armbian  so, could you pl suggest stable Armbian build for T2-SOM-e8Gs16M.

and How to disable IPV6.

from your log you have a Olimey OLinuXino A20 / Lime2.

The stable/mainline kernel 4.19.y build is at:
https://dl.armbian.com/lime2/archive/Armbian_5.90_Lime2_Ubuntu_bionic_next_4.19.57.7z

 

You can disable IPv6 in the commandline tool armbian-config using

Network ==> disable IPv6

 

But you wrote you goth the SOM:
https://www.olimex.com/Products/SOM/A20/A20-SOM/

 

How did you connect the network? Do you have a additional Breakout Board?

Or do you got a SOM-A20-EVB with connectors?

https://www.olimex.com/Products/SOM/A20/A20-SOM-EVB/open-source-hardware

Link to post
Share on other sites

  • 0
10 minutes ago, guidol said:

from your log you have a Olimey OLinuXino A20 / Lime2.

The stable/mainline kernel 4.19.y build is at:
https://dl.armbian.com/lime2/archive/Armbian_5.90_Lime2_Ubuntu_bionic_next_4.19.57.7z

 

You can disable IPv6 in the commandline tool armbian-config using

Network ==> disable IPv6

 

But you wrote you goth the SOM:
https://www.olimex.com/Products/SOM/A20/A20-SOM/

 

How did you connect the network? Do you have a additional Breakout Board?

Or do you got a SOM-A20-EVB with connectors?

https://www.olimex.com/Products/SOM/A20/A20-SOM-EVB/open-source-hardware

Thanks for the reply....

I have both T2-SOM-e8Gs16M-IND and A20-SOM-EVB. I am using A20-SOM-EVB as a breakout board.

 

Link to post
Share on other sites

  • 0
On 8/6/2019 at 10:34 AM, Vicky said:
 sudo apt install dkms

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dkms

 

with a 4.19.y stable armbian there shoud be found enough ;)

root@(192.168.6.24):~# apt-cache search dkms
dkms - Dynamic Kernel Module Support Framework
 

Full list:
 

Spoiler

root@(192.168.6.24):~# apt-cache search dkms
acpi-call-dkms - Kernel module that enables you to call ACPI methods
adv-17v35x-dkms - dkms driver sources for Advantech PCI/PCIe ACOM Series adapters
aufs-dkms - DKMS files to build and install aufs
bbswitch-dkms - Interface for toggling the power on NVIDIA Optimus video cards
dahdi-dkms - DAHDI telephony interface (dkms kernel driver)
ddcci-dkms - DDC/CI driver
dkms - Dynamic Kernel Module Support Framework
dm-writeboost-dkms - log-structured caching for Linux
dpdk-igb-uio-dkms - Data Plane Development Kit (igb uio dkms)
dpdk-rte-kni-dkms - Data Plane Development Kit (rte kni dkms)
evdi-dkms - Extensible Virtual Display Interface driver kernel module
gost-crypto-dkms - Linux kernel modules implementing GOST cryptography
iptables-netflow-dkms - iptables target which generates netflows
langford-dkms - Kernel drivers for the Per Vices Noctar IQ demodulator board
lime-forensics-dkms - kernel module to memory dump (DKMS)
lttng-modules-dkms - Linux Trace Toolkit (LTTng) kernel modules (DKMS)
nat-rtsp-dkms - Connection tracking and NAT support for RTSP
ndiswrapper-dkms - Source for the ndiswrapper Linux kernel module (DKMS)
openafs-modules-dkms - AFS distributed filesystem kernel module DKMS source
openrazer-driver-dkms - OpenRazer peripheral drivers (DKMS)
spl-dkms - Solaris Porting Layer kernel modules for Linux
tp-smapi-dkms - ThinkPad hardware/firmware access modules source - dkms version
v4l2loopback-dkms - Source for the v4l2loopback driver (DKMS)
mali-midgard-dkms - Mali kernel driver for midgard hardware in DKMS format.
zfs-dkms - OpenZFS filesystem kernel modules for Linux
broadcom-sta-dkms - dkms source for the Broadcom STA Wireless driver
r8168-dkms - dkms source for the r8168 network driver
nvidia-legacy-340xx-kernel-dkms - NVIDIA binary kernel module DKMS source (340xx legacy version)
nvidia-legacy-390xx-kernel-dkms - NVIDIA binary kernel module DKMS source (390xx legacy version)

 

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

0