Can't correct broken dependencies on WD MyBook Live?
Hi there,
I've got a WD MyBook Live on which I want to compile no-ip DUC client. However, it seems unable to complete some dependencies during installation of compilation tools for a reason I have yet to understand, as my experience with Linux is mostly GUI-based. I would like it to feature an automated client for periodically updating its external IP, and a way to open ports using UPnP in the router, as supported (I don't know the package name yet).
Here is the terminal output:
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
apt-utils: Depends: libapt-pkg4.10
libept1: Depends: libapt-pkg4.10
E: Unmet dependencies. Try using -f.
Then, following instructions:
# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt aptitude
Suggested packages:
dpkg-dev apt-doc python-apt debtags
Recommended packages:
aptitude-doc-en aptitude-doc apt-xapian-index libparse-debianchangelog-perl
The following packages will be REMOVED:
libept0
The following packages will be upgraded:
apt aptitude
2 upgraded, 0 newly installed, 1 to remove and 243 not upgraded.
2 not fully installed or removed.
Need to get 0B/6081kB of archives.
After this operation, 2597kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
apt-extracttemplates: error while loading shared libraries: libapt-pkg.so.4.10: cannot open shared object file: No such file or directory
debconf: apt-extracttemplates failed: Bad file descriptor
(Reading database ...
dpkg: warning: files list file for package `ramlog' missing, assuming package has no files currently installed.
dpkg: warning: files list file for package `libparted0' missing, assuming package has no files currently installed.
(Reading database ... 19468 files and directories currently installed.)
Preparing to replace aptitude 0.4.11.11-1~lenny1 (using .../aptitude_0.6.3-3.2+squeeze1_powerpc.deb) ...
Unpacking replacement aptitude ...
dpkg: error processing /var/cache/apt/archives/aptitude_0.6.3-3.2+squeeze1_powerpc.deb (--unpack):
trying to overwrite '/etc/logrotate.d/aptitude', which is also in package wd-nas 02.50.00-119234
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/aptitude_0.6.3-3.2+squeeze1_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
MyBookLive:~#
I am not exactly sure why this fails.
Ideas?
Reply to: