MQTT Raspbian error ‘Nicht gen?gend Hauptspeicher verf?gbar’

a little workaround: the message is wrong, it should mean, “can’t extract file, because i’m too stupid to see a gzipp format and use the proper  command”

here’s the full message:

sudo cpan install Net::MQTT:Constants
Loading internal null logger. Install Log::Log4perl for logging messages
Reading '/root/.cpan/Metadata'
 Database was generated on Mon, 13 Feb 2017 02:17:02 GMT
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/root/.cpan/sources/authors/01mailrc.txt.gz'
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/root/.cpan/sources/modules/02packages.details.txt.gz'
 Database was generated on Tue, 14 Feb 2017 12:17:02 GMT
............................................................................DONE
Fetching with LWP:
http://www.cpan.org/modules/03modlist.data.gz
Reading '/root/.cpan/sources/modules/03modlist.data.gz'
DONE
Writing /root/.cpan/Metadata
Running install for module 'Net::MQTT::Constants'
Checksum for /root/.cpan/sources/authors/id/B/BE/BEANZ/Net-MQTT-1.163170.tar.gz ok
Uncompressed /root/.cpan/sources/authors/id/B/BE/BEANZ/Net-MQTT-1.163170.tar.gz successfully
Using Tar:/bin/tar xf "Net-MQTT-1.163170.tar":
Couldn't untar Net-MQTT-1.163170.tar: 'Nicht gen?gend Hauptspeicher verf?gbar' <--wrong Error!
'YAML' not installed, will not store persistent state
 BEANZ/Net-MQTT-1.163170.tar.gz
 Had problems unarchiving. Please build manually
  • i switched to root via
     sudo -s
  • went to
    /root/.cpan/sources/authors/id/B/BE/BEANZ/
  • did a
    tar xzf Net-MQTT-1.163170.tar.gz
  • then again forcing cpan again:
    cpan install Net::MQTT:Constants

worked! s0n1c3!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s