× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Installing aptitude on an Ultra 2

dennismi
Follower

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 🙂
Message 1 of 5
hluo87
Aspirant

Re: Installing aptitude on an Ultra 2

facing the same problem
Message 2 of 5
ShadXo
Aspirant

Re: Installing aptitude on an Ultra 2

Yeah please update on this.
Message 3 of 5
stephenc01
Aspirant

Re: Installing aptitude on an Ultra 2

me to , on ultra4
Message 4 of 5
InTheShires
Tutor

Re: Installing aptitude on an Ultra 2

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.
Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 3917 views
  • 0 kudos
  • 5 in conversation
Announcements