Running omv-extras omv-aptclean ... hangs

  • running omv-extras omv-aptclean ...


    hangs forever at:


    Code
    Get: 25 http://deb.debian.org/debian buster/main armhf Contents (deb) [36.5 MB]


    :( what should I do?

    thx

  • 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:



    at main armhf it hangs forever ...

    • Official Post

    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?

    omv 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.13 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • 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?

    • Official Post

    so should I try with a different SD Card?

    Yes. Your card is slow and old. The HC2 shouldn't be having these problems.

    omv 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.13 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I doubt it's the SDcard - tried with 3 different cards now; result is always the same:

    hangs with ... /main armhf Contents at 92% ....


    • Official Post

    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.

    omv 7.4.9-2 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.14 | compose 7.2.13 | k8s 7.3.1-1 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.0.9


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    This is my sources.list on HC2


    Code
    18: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:


    Code
    deb 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 ...

    • Official Post

    deb http://ftp2.de.debian.org/debian buster/updates main contrib non-free

    This one (last one) should be unchanged


    Code
    deb http://security.debian.org/ buster/updates main contrib non-free

    complete list:

    Code
    deb 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://security.debian.org/ buster/updates main contrib non-free

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!