NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
jiska78
Jul 27, 2016Tutor
Problems installing Python #27233558
Can someone please translate this error in to English?
My knowledge of Linux is limited, at best. I am just following Google suggestions.
Thanks
root@NAS01:/var/log/readynasd# apt-get install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
python is already the newest version.
python set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python-minimal : Depends: python2.7-minimal (>= 2.7.3-1~) but it is not going to be installed
python2.7 : Depends: python2.7-minimal (= 2.7.3-6+deb7u3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@NAS01:/var/log/readynasd# 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:
python2.7-minimal
Suggested packages:
binfmt-support
The following NEW packages will be installed:
python2.7-minimal
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
7 not fully installed or removed.
Need to get 0 B/1,759 kB of archives.
After this operation, 5,510 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Could not open file descriptor -1
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 20728 files and directories currently installed.)
Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.3-6+deb7u3_amd64.deb) ...
new installation of python2.7-minimal; /usr/lib/python2.7/site-packages is a directory
which is expected a symlink to /usr/local/lib/python2.7/dist-packages.
please find the package shipping files in /usr/lib/python2.7/site-packages and
file a bug report to ship these in /usr/lib/python2.7/dist-packages instead
aborting installation of python2.7-minimal
dpkg: error processing /var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u3_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/python2.7-minimal_2.7.3-6+deb7u3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@NAS01:/var/log/readynasd#
14 Replies
Replies have been turned off for this discussion
Related Content
NETGEAR Academy

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