failed to install libffi-dev package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libffi (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi there,
I'm trying to install libffi-dev and receiving this error [1]:
libffi-dev : Depends: libffi6 (= 3.2.1-4) but 3.2.1-6 is to be installed
However, my system already had the libff6=3.2.1-6 [2,3].
I also tried updating and installing this package, however did not work [4].
I would appreciate your feedback on this.
Thanks a lot,
Info about my system:
$ uname -a
Linux pooja-XPS-13-9360 4.13.0-46-generic #51-Ubuntu SMP Tue Jun 12 12:36:29 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[1]
*******
$ sudo apt-get install libffi-dev
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:
libffi-dev : Depends: libffi6 (= 3.2.1-4) but 3.2.1-6 is to be installed
E: Unable to correct problems, you have held broken packages.
[2]
*******
$ sudo apt-get install libffi6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi6 is already the newest version (3.2.1-6).
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
[3]
*******
$ apt-cache policy libffi-dev
libffi-dev:
Installed: (none)
Candidate: 3.2.1-4
Version table:
3.2.1-4 500
500 http://
[4]
*******
$ sudo apt-get update && sudo apt-get install libffi-dev
Hit:1 https:/
Hit:2 http://
Hit:3 https:/
Ign:4 http://
Hit:5 http://
Hit:6 http://
Ign:7 http://
Err:8 http://
404 Not Found [IP: 91.189.95.85 80]
Err:9 http://
404 Not Found [IP: 91.189.95.85 80]
Hit:10 http://
Ign:11 http://
Ign:12 http://
Ign:13 http://
Ign:14 http://
Ign:15 http://
Err:16 http://
Cannot initiate the connection to archive.
Err:17 http://
Cannot initiate the connection to archive.
Ign:18 https:/
Ign:19 https:/
Err:20 http://
Cannot initiate the connection to archive.
Err:21 http://
Cannot initiate the connection to archive.
Err:22 http://
Cannot initiate the connection to archive.
Err:23 https:/
Cannot initiate the connection to deb.etcher.io:443 (2606:4700:
Err:24 https:/
Cannot initiate the connection to dl.yarnpkg.com:443 (2606:4700:
Hit:25 http://
Hit:26 http://
Ign:27 https:/
Get:28 https:/
Hit:29 https:/
Reading package lists... Done
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-
W: Target Packages (main/binary-
W: Target Translations (main/i18n/
W: Target Translations (main/i18n/
W: Target DEP-11 (main/dep11/
W: Target DEP-11 (main/dep11/
W: Target DEP-11-icons (main/dep11/
N: Skipping acquire of configured file 'main/binary-
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https:/
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https:/
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: Target Packages (main/binary-
W: Target Packages (main/binary-
W: Target Translations (main/i18n/
W: Target Translations (main/i18n/
W: Target DEP-11 (main/dep11/
W: Target DEP-11 (main/dep11/
W: Target DEP-11-icons (main/dep11/
Changed in libffi (Ubuntu): | |
status: | New → Incomplete |
This isn't a bug on Launchpad itself (i.e. the launchpad.net website). Moving to Ubuntu libffi, although I rather suspect this should actually be a support request considering the very large volume of errors from apt-get update. If I were you I would sort those out first, probably by upgrading to at least bionic rather than having a weird completely unsupported mix of vivid, xenial, and artful on your system.