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

  • 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

    Air Conditioners are a lot like PC's... They work great until you open Windows.


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

  • 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 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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?

  • 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 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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% ....


  • 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 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

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

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