NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

dennismi's avatar
dennismi
Follower
Aug 10, 2012

Installing aptitude on an Ultra 2

Hi

I've recently got an ReadyNas Ultra 2 and so far it's working great...

I've enabled SSH access and am trying to install aptitude but it has an unmet dependency: libapt-pkg-libc6.3-6-3.11

I'm using the latest RAIDiator 4.2.21 ... and it's still stock (pretty much installed PLEX mediaserver via img file)

According to the source.list it's using the etch repo from debian, i'm not sure whether or not to change that stable to see if that helps...

Output of apt-get install aptitude
nas:~# apt-get install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
aptitude: Depends: libapt-pkg-libc6.3-6-3.11
E: Broken packages


Any ideas how to get aptitude installed?

Regards
Dennis a readynas noob :)

4 Replies

Replies have been turned off for this discussion
  • Apptitude can be done farely easily on x86.

    Matty has given an excellent guide and explanation in his post here. viewtopic.php?p=365223#p365223

    MattyShack wrote:
    See if this helps to clear and reset installed deb packages, then downgrade apt.

    Matt

    ##########################################
    ### Update Sources.list ###
    mv /etc/apt/sources.list /etc/apt/sources.list.bak
    rm -rf /etc/apt/sources.list
    ##########################################
    sudo sh -c "cat >> /etc/apt/sources.list" <<EOF
    deb http://www.readynas.com/packages 4.2.21/
    deb http://www.readynas.com/packages 4.2.22/
    deb http://archive.debian.org/debian etch main

    EOF

    ##########################################
    gpg --keyserver pgpkeys.mit.edu --recv-key E9C74FEEA2098A6E && gpg -a --export E9C74FEEA2098A6E | sudo apt-key add -
    gpg --keyserver pgpkeys.mit.edu --recv-key 54422A4B98AB5139 && gpg -a --export 54422A4B98AB5139 | sudo apt-key add -
    gpg --keyserver pgpkeys.mit.edu --recv-key AED4B06F473041FA && gpg -a --export AED4B06F473041FA | sudo apt-key add -

    # Setup Root Directory Storage Area
    mkdir /root/src
    mkdir /root/system
    cp /etc/apt/sources.list* /root/system

    ### Refresh Packages from the APT repository ~ may help remove BADSIG messages ###
    # Clear the APT Repositories
    sudo killall apt apt-get aptitude
    sudo -s -H
    apt-get clean
    rm -rf /var/lib/apt/lists/*
    chmod 755 /var/lib/apt/lists
    mkdir /var/lib/apt/lists/partial
    chmod 755 /var/lib/apt/lists/partial
    rm -rf /var/cache/apt/archives
    mkdir -p /var/cache/apt/archives/partial
    apt-get clean

    # Replace File Locks
    rm -rf /var/lib/dpkg/lock
    sudo touch /var/lib/dpkg/lock
    sudo chmod 640 /var/lib/dpkg/lock
    rm -rf /var/lock/aptitude
    sudo touch /var/lock/aptitude
    sudo chmod 640 /var/lock/aptitude
    rm -rf /var/lib/apt/lists/lock
    sudo touch /var/lib/apt/lists/lock
    sudo chmod 640 /var/lib/apt/lists/lock
    rm -rf /var/cache/apt/archives/lock
    sudo touch /var/cache/apt/archives/lock
    sudo chmod 640 /var/cache/apt/archives/lock

    # Fresh download of Repository Packages
    apt-get update && apt-get upgrade

    # Say 'Y'es to any recommended Fixes. It is OK if either apt-get or dpkg will be upgraded/downgraded
    # But, make sure neither apt-get nor dpkg will be removed. If so the aBORT changes.
    apt-get -f install
    apt-get update

    # packages needed after a clean install
    apt-get install nano curl


    ## Note: You may need to downgrade apt-get to apt_0.6.46.4-0.1+etch1_i386.deb for the correct versions of deb files.
    # Raidiator 4.2.21 upgrades apt-get to apt_0.7.20.2+lenny2_i386.deb. This may cause conflicts.

    # Display apt-get Version
    apt-get -v

    # Force apt-get and dpkg Downgrade
    apt-get --reinstall install apt=0.6.46.4-0.1+etch1 dpkg=1.13.26 dpkg-dev=1.13.26

    # I use aptitude most of the time. It does a better job at resolving conflicts.
    apt-get install aptitude

    #######################################################################################


    Works for me, and Aptitude is installed and working fine for me.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More