Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
how to get archey working on Debian?
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

how to get archey working on Debian?

trexostrexos Member
edited April 2014 in General

Hi,

I am trying to get archey working on my debian 6.0.7. I installed it this way:
$ sudo apt-get install lsb-release scrot $ wget http://github.com/downloads/djmelik/archey/archey-0.2.8.deb $ sudo dpkg -i archey-0.2.8.deb

But I get this error:

[email protected]:~# archey df: no file systems processed Traceback (most recent call last): File "/usr/bin/archey", line 304, in <module> func() File "/usr/bin/archey", line 285, in disk_display total = p1.splitlines()[-1] IndexError: list index out of range

Does anyone know how to resolve this issue?

OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

Comments

  • Signatures are to identify who I am. I'm me. Who the hell are you?

  • didn't work for me:
    [email protected]:~# archey df: no file systems processed Traceback (most recent call last): File "/usr/bin/archey", line 304, in <module> func() File "/usr/bin/archey", line 285, in disk_display total = p1.splitlines()[-1] IndexError: list index out of range

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • @trexos said:
    IndexError: list index out of range`

    Try installing latest version of CoreUtils.

    I only work for me, and myself.

  • @Floris said:
    Try installing latest version of CoreUtils.

    Already newest version :(

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • @trexos Did you install the latest CoreUtils like the fettesps.com site recommended?

    Signatures are to identify who I am. I'm me. Who the hell are you?

  • @rajprakash said:
    trexos Did you install the latest CoreUtils like the fettesps.com site recommended?

    ya :(

    [email protected]:~# apt-get install coreutils Reading package lists... Done Building dependency tree Reading state information... Done coreutils is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • Tell us what "dpkg -l | grep coreutils" returns.

    Signatures are to identify who I am. I'm me. Who the hell are you?

  • [email protected]:~# dpkg -l | grep coreutils ii coreutils 8.5-1 GNU core utilities

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • There must be another dependency that is too old. Any reason you're still running Debian Squeeze instead of Wheezy?

    Signatures are to identify who I am. I'm me. Who the hell are you?

  • @rajprakash said:
    There must be another dependency that is too old. Any reason you're still running Debian Squeeze instead of Wheezy?

    I will try it with wheezy later :)

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • Debian 7.4 32 bit doesn't work as well :(
    [email protected]:~# archey df: no file systems processed Traceback (most recent call last): File "/usr/bin/archey", line 304, in <module> func() File "/usr/bin/archey", line 285, in disk_display total = p1.splitlines()[-1] IndexError: list index out of range

    I already tried "apt-get install coreutils" and this wget http://ftp.us.debian.org/debian/pool/main/c/coreutils/coreutils_8.5-1_i386.deb sudo dpkg -i coreutils_8.5-1_i386.deb

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • show us df -h

    Signatures are to identify who I am. I'm me. Who the hell are you?

  • trexostrexos Member
    edited April 2014

    @rajprakash said:
    show us df -h


    Filesystem Size Used Avail Use% Mounted on /dev/simfs 5.0G 755M 4.3G 15% / none 256M 4.0K 256M 1% /dev none 52M 980K 51M 2% /run none 5.0M 0 5.0M 0% /run/lock none 205M 0 205M 0% /run/shm none 100M 0 100M 0% /run/user

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • oops I meant df -Tlh

    Signatures are to identify who I am. I'm me. Who the hell are you?

  • @rajprakash said:
    oops I meant df -Tlh

    sure :)

    Filesystem Type Size Used Avail Use% Mounted on /dev/simfs simfs 5.0G 755M 4.3G 15% / none devtmpfs 256M 4.0K 256M 1% /dev none tmpfs 52M 980K 51M 2% /run none tmpfs 5.0M 0 5.0M 0% /run/lock none tmpfs 205M 0 205M 0% /run/shm none tmpfs 100M 0 100M 0% /run/user

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

  • rajprakashrajprakash Member
    edited April 2014

    I'm not 100% sure, but I think what's happening is that archey doesn't know what to do with filesystem types simfs tempfs and devtempfs.

    If you look at the p1 string generated in the Disk class of the script at the following link, it's looking for ext2, ext4, ext3, reiserfs, etc as an output of df - Tlh. It doesn't know what to do if there are the common virtualized fs types such as simfs, tempfs, etc.

    https://github.com/djmelik/archey/blob/master/archey

    Signatures are to identify who I am. I'm me. Who the hell are you?

  • @rajprakash said:
    I'm not 100% sure, but I think what's happening is that archey doesn't know what to do with filesystem types simfs tempfs and devtempfs.

    If you look at the p1 string generated in the Disk class of the script at the following link, it's looking for ext2, ext4, ext3, reiserfs, etc as an output of df - Tlh. It doesn't know what to do if there are the common virtualized fs types such as simfs, tempfs, etc.

    https://github.com/djmelik/archey/blob/master/archey

    Ok I see, so I wont use it as most of my vps are openvz. Thank you very much for your help:)

    OnePoundWebHosting.co.uk | UK XEN VPS from £2 | See their special offers starting from 12£/year here

Sign In or Register to comment.