Running omv-extras omv-aptclean ... hangs
-
- OMV 5.x
- peram
-
-
I just pinged it and it seemed fine. Are you sure you have internet access?
Hit cntrl c to stop it and get you back to a prompt
ping -c 5 aol.com
That will ping aol.com and give you the results
-
executed omv-aptclean from web interface ..
yes I am having internet acces ... from the command line I get:
root@NAS1:~# ping -c 5 aol.com
PING aol.com (74.6.136.150) 56(84) bytes of data.
64 bytes from w2.src.vip.bf1.yahoo.com (74.6.136.150): icmp_seq=1 ttl=52 time=136 ms
64 bytes from w2.src.vip.bf1.yahoo.com (74.6.136.150): icmp_seq=2 ttl=52 time=173 ms
64 bytes from w2.src.vip.bf1.yahoo.com (74.6.136.150): icmp_seq=3 ttl=52 time=142 ms
64 bytes from w2.src.vip.bf1.yahoo.com (74.6.136.150): icmp_seq=4 ttl=52 time=151 ms
^C
--- aol.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 8ms
rtt min/avg/max/mdev = 135.606/150.422/172.924/14.064 ms
executing omv-aptclean from there I get:root@NAS1:~# omv-aptclean
1. Cleaning apt cache files...
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
-
-
apt-get update shows:
Code
Display MoreGet:20 https://download.docker.com/linux/debian buster/stable armhf Contents (deb) [2506 B] Get:21 https://openmediavault.github.io/packages usul/main armhf Packages [6237 B] Get:22 https://openmediavault-plugin-developers.github.io/packages/debian usul/main armhf Packages [8009 B] Get:23 https://openmediavault-plugin-developers.github.io/packages/debian usul-extras/main armhf Packages [597 B] Get:24 https://mirrors.dotsrc.org/armbian-apt buster/main armhf Packages [831 kB] Get:25 https://mirrors.dotsrc.org/armbian-apt buster/main armhf Contents (deb) [22.5 MB] Get:26 https://mirrors.dotsrc.org/armbian-apt buster/buster-utils armhf Packages [7475 B] Get:27 https://mirrors.dotsrc.org/armbian-apt buster/buster-utils armhf Contents (deb) [8999 B] Get:28 https://mirrors.dotsrc.org/armbian-apt buster/buster-desktop armhf Packages [28.2 kB] Get:29 https://mirrors.dotsrc.org/armbian-apt buster/buster-desktop armhf Contents (deb) [96.8 kB] Get:16 http://deb.debian.org/debian buster/main armhf Contents (deb) [36.5 MB]
at main armhf it hangs forever ...
-
Not much omv-extras can do to fix this. It is either a really slow repo, slow internet connection, and/or slow SD card. Is the SD card old? What class is it? What board is this?
-
thx ryecoaaron for looking into it ...
it is
- a 25 Mbit Internet Connection
- a 16 GB Samsung EVO microSD UHS-I U1, Class 10, roundabout 2-3 years old
- an Odroid HC2 board
so should I try with a different SD Card?
-
-
so should I try with a different SD Card?
Yes. Your card is slow and old. The HC2 shouldn't be having these problems.
-
I doubt it's the SDcard - tried with 3 different cards now; result is always the same:
hangs with ... /main armhf Contents at 92% ....
Code
Display More... Get:34 https://openmediavault-plugin-developers.github.io/packages/debian usul-extras/main armhf Packages [597 B] Get:35 https://mirrors.dotsrc.org/armbian-apt buster/main armhf Packages [831 kB] Get:36 https://mirrors.dotsrc.org/armbian-apt buster/main armhf Contents (deb) [22.5 MB] Get:37 https://mirrors.dotsrc.org/armbian-apt buster/buster-utils armhf Packages [7475 B] Get:38 https://mirrors.dotsrc.org/armbian-apt buster/buster-utils armhf Contents (deb) [8999 B] Get:39 https://mirrors.dotsrc.org/armbian-apt buster/buster-desktop armhf Packages [28.2 kB] Get:40 https://mirrors.dotsrc.org/armbian-apt buster/buster-desktop armhf Contents (deb) [96.8 kB] Get:25 http://deb.debian.org/debian buster/main armhf Contents (deb) [36.5 MB] Get:25 http://deb.debian.org/debian buster/main armhf Contents (deb) [36.5 MB] Get:25 http://deb.debian.org/debian buster/main armhf Contents (deb) [36.5 MB] 95% [25 Contents-armhf 33.6 MB/36.5 MB 92%] ...
-
I doubt it's the SDcard
Then it is one of the other things I mentioned in post #5. None of my armbian machines are having an issue and they are hitting the deb.debian.org/debian repo that seems to be giving you problems. You could looking up alternative debian repos and changing your system to use a different repo in /etc/apt/sources.list.
-
-
This is my sources.list on HC2
Code18:58:26 root@odroid:~# cat /etc/apt/sources.list deb http://httpredir.debian.org/debian buster main contrib non-free # deb-src http://httpredir.debian.org/debian buster main contrib non-free deb http://httpredir.debian.org/debian buster-updates main contrib non-free # deb-src http://httpredir.debian.org/debian buster-updates main contrib non-free deb http://security.debian.org/ buster/updates main contrib non-free # deb-src http://security.debian.org/ buster/updates main contrib non-free
However, it seems that httpredir.xxx is discontinued and is redirecting to deb.xxx
https://wiki.debian.org/DebianGeoMirror
Both work for me. Update takes about 3 min.
-
thx macom ...
httpredir.xxx did not help cause as you said it redirects to deb.xxx;
changing sources.list to the german mirror solved it:
Codedeb http://ftp2.de.debian.org/debian buster main contrib non-free deb http://ftp2.de.debian.org/debian buster-updates main contrib non-free deb http://ftp2.de.debian.org/debian buster/updates main contrib non-free
getting some other errors now like
CRON-APT ACTION: 0-update
CRON-APT LINE: /usr/bin/apt-get update -o quiet=2
E: The repository 'http://ftp2.de.debian.org/debian buster/updates Release' does not have a Release file.
but at least I am able to update ... -
deb http://ftp2.de.debian.org/debian buster/updates main contrib non-free
This one (last one) should be unchanged
complete list:
-
-
thx macom ... works perfect ...
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!