Hi,
I've been trying to install python-dev (which I apparently need for installing paramiko, which itself is needed for duplicity) using the following command:
but I get the following error:
ZitatAlles anzeigenSome 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:
python-dev : Depends: libpython-dev (= 2.7.13-2) but it is not going to be installed
Depends: python2.7-dev (>= 2.7.13-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried the following solution detailed in here about adding the 'precise-updates' repository:
echo "deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted" | sudo tee -a /etc/apt/sources.list.d/precise-updates.list
sudo apt-get update
sudo apt-get install python2.7-dev
but I then got the following error:
ZitatAlles anzeigenErr:21 http://us.archive.ubuntu.com/ubuntu precise-updates armhf Contents (deb)
404 Not Found [IP: 91.189.91.23 80]
Ign:20 http://us.archive.ubuntu.com/ubuntu precise-updates/main armhf Packages
Fetched 55.7 kB in 10s (5,508 B/s)
Reading package lists... Done
W: GPG error: http://us.archive.ubuntu.com/ubuntu precise-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5
W: The repository 'http://us.archive.ubuntu.com/ubuntu precise-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://us.archive.ubuntu.com/u…se-updates/Contents-armhf 404 Not Found [IP: 91.189.91.23 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.