Add packages on Pogoplug Pro

Discussion in 'HOWTO-Related Questions' started by jelabarre59, Apr 30, 2014.

  1. jelabarre59

    jelabarre59 New Member

    I was able to install the newer Debian build for my Pogoplug Pro as per the instructions here, but now I can't add any new packages. I had been able to add NTP and the X11-utils, but now I can't get any more packages to install (have been trying to install etherwake, xterm, screen).

    As an example, if I try to install just "etherwake":
    =================================

    [email protected]:/etc/network# apt-get install etherwake

    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    wakeonlan
    The following NEW packages will be installed:
    etherwake wakeonlan
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 20.7 kB of archives.
    After this operation, 135 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://ftp.us.debian.org/debian/ squeeze/main etherwake armel 1.09-3 [9,302 B]
    Get:2 http://ftp.us.debian.org/debian/ squeeze/main wakeonlan all 0.41-10 [11.4 kB]
    Fetched 20.7 kB in 0s (86.2 kB/s)
    dpkg: unrecoverable fatal error, aborting:
    fork failed: Cannot allocate memory
    E: Sub-process /usr/bin/dpkg returned an error code (2)

    ==================================

    This is a fresh install, it was active for perhaps 30 min before it failed.
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Follow as :

    Br//
    Srijan
     
  3. jelabarre59

    jelabarre59 New Member

    I hadn't even considered the "-f" switch, since I've usually used that for package configuration errors. Unfortunately, those cleanup steps didn't fix anything.

    # apt-get -f install
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    # apt-get autoremove
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    # apt-get update
    (ran normally)

    # apt-get upgrade
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    # apt-get install etherwake
    (same "fork failed...." error as before)
     
  4. srijan

    srijan New Member HowtoForge Supporter

    Hi


    1 Go into the /var/lib/dpkg directory
    2 Make a backup of the "status" file
    3 Open the status file as root and find the package that causes the error. In this case, its "PACKAGE: inkscape".
    4 Delete all the text until the next PACKAGE: declaration in the file.

    Br//
    Srijan

    Br//
    Srijan
     
  5. jelabarre59

    jelabarre59 New Member

    There is no "inkscape" package in the status file, and none of the other packages I was trying to install have "Package:" entries either
     
  6. srijan

    srijan New Member HowtoForge Supporter

    Which debian you are using right now?
     
  7. jelabarre59

    jelabarre59 New Member

  8. srijan

    srijan New Member HowtoForge Supporter

    Please update your status file after proper bakup as in attachment

    Br//
    Srijan
     

    Attached Files:

  9. jelabarre59

    jelabarre59 New Member

    I copied in your file into place (/var/lib/dpkg/status), then first tried the install for etherwake. I got a large number of uninstallable dependencies. So I tried apt-get -f install:

    [email protected]:/etc/apt/apt.conf.d# apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
    fontconfig-config openssh-blacklist
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    ...
    Suggested packages:
    ...
    Recommended packages:
    ...
    The following NEW packages will be installed:
    ...
    0 upgraded, 106 newly installed, 0 to remove and 2 not upgraded.
    Need to get 0 B/45.2 MB of archives.
    After this operation, 129 MB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    E: Could not perform immediate configuration on 'libc6'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

    =======================================================

    Also tried installing some individual packages:
    -----------------------------------------------

    [email protected]:/etc/apt/apt.conf.d# dpkg -i /var/cache/apt/archives/dpkg_1.15.8.13_armel.deb
    dpkg: unrecoverable fatal error, aborting:
    fork failed: Cannot allocate memory

    [email protected]:/etc/apt/apt.conf.d# dpkg -i /var/cache/apt/archives/libc6_2.11.3-4_armel.deb
    dpkg: unrecoverable fatal error, aborting:
    fork failed: Cannot allocate memory
     

Share This Page