[Solved] [Update issue] libffi install issue

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
kanyakumarirock
Posts: 16
Joined: 2023-11-27 12:54
Has thanked: 4 times

[Solved] [Update issue] libffi install issue

#1 Post by kanyakumarirock »

Dear Team

Thanks for reading my problem. I have googled the problem and tried to find out solutions at various platforms. But, no concrete answer I could find that would resolve the issue and remove my confusion.

I am trying to install a fotware using spack on my Linux Debian cluster, which gave me error :

Code: Select all

 ModuleNotFoundError: No module named '_ctypes' 
Internet fix suggested installing
libffi-dev
While trying to do so I am encounetring following issue:

Code: Select all

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libffi-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 157 kB of archives.
After this operation, 314 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  libffi-dev
Install these packages without verification? [y/N] y
Err http://deb.debian.org/debian/ jessie/main libffi-dev amd64 3.1-2+deb8u1
  404  Not Found [IP: 146.75.74.132 80]
Err http://security.debian.org/debian-security/ jessie/updates/main libffi-dev amd64 3.1-2+deb8u1
  404  Not Found [IP: 151.101.2.132 80]
E: Failed to fetch http://security.debian.org/debian-security/pool/updates/main/libf/libffi/libffi-dev_3.1-2+deb8u1_amd64.deb  404  Not Found [IP: 151.101.2.132 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I am not sure how can I overcome the above problem?

My Linux cluster distribution is : Debian 8 (Jessie).

Please advise.

Thanks.
Last edited by kanyakumarirock on 2024-10-16 11:57, edited 3 times in total.

lindi
Debian Developer
Debian Developer
Posts: 571
Joined: 2022-07-12 14:10
Has thanked: 2 times
Been thanked: 113 times

Re: [Update issue] libffi install issue

#2 Post by lindi »

Debian 8 reached end of life in 2018.

kanyakumarirock
Posts: 16
Joined: 2023-11-27 12:54
Has thanked: 4 times

Re: [Update issue] libffi install issue

#3 Post by kanyakumarirock »

Thanks for your message.

But, we have many softwares installed on this machine. so, sudden update may disrupt the whole distribution balance. Could it be possible to suggest some alternative way to tackle this keeping the distribution version intact please?

thanks

Aki
Global Moderator
Global Moderator
Posts: 3950
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: [Update issue] libffi install issue

#4 Post by Aki »

kanyakumarirock wrote: 2024-03-20 13:58 Could it be possible to suggest some alternative way to tackle this keeping the distribution version intact please?
Debian 8 is nicknamed "jessie": You can try configuring /etc/apt/sources.list including:

Code: Select all

deb http://archive.debian.org/debian/ jessie main contrib non-free
As an example:

Code: Select all

$ rmadison --url archive libffi-dev
 libffi-dev | 3.0.7-1         | debian/lenny           | alpha, amd64, arm, armel, hppa, i386, ia64, mips, mipsel, powerpc, s390, sparc
 libffi-dev | 3.0.9-3         | debian/squeeze         | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc
 libffi-dev | 3.0.10-3        | debian/wheezy          | amd64, armel, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc
 libffi-dev | 3.0.10-3+b1     | debian/wheezy          | armhf, s390x
 libffi-dev | 3.0.10-3+deb7u2 | debian/wheezy-security | amd64, armel, armhf, i386
 libffi-dev | 3.1-2+b2        | debian/jessie-kfreebsd | kfreebsd-amd64, kfreebsd-i386
 libffi-dev | 3.1-2+deb8u1    | debian/jessie          | amd64, arm64, armel, armhf, i386, mips, mipsel, powerpc, ppc64el, s390x
 libffi-dev | 3.1-2+deb8u1    | debian/jessie-security | amd64, armel, armhf, i386
 libffi-dev | 3.2.1-6         | debian/stretch         | amd64, arm64, armel, armhf, i386, mips, mips64el, mipsel, ppc64el, s390x
Hope this helps. Please let me know.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Aki
Global Moderator
Global Moderator
Posts: 3950
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: [Update issue] libffi install issue

#5 Post by Aki »

Hello @kanyakumarirock,
Did you sort it out ?
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

kanyakumarirock
Posts: 16
Joined: 2023-11-27 12:54
Has thanked: 4 times

Re: [Solved] [Update issue] libffi install issue

#6 Post by kanyakumarirock »

Hi

Sorry for such delay in responding. After a while, I again started working on this issue.

Now, my sources.list file looks like :
deb http://archive.debian.org/debian/ jessie main contrib non-free
deb-src http://archive.debian.org/debian/ jessie main contrib non-free

deb http://security.debian.org/debian-security jessie/updates main
deb-src http://security.debian.org/debian-security jessie/updates main

deb http://archive.debian.org/debian/ jessie-backports main
deb-src http://archive.debian.org/debian/ jessie-backports main

# apt-get -t jessie-backports install "package"
deb [ arch=amd64 ] http://www.chem.ucl.ac.uk/repo/ jessie main
Still, when I tryo to do
sudo apt-get install libffi-dev
, following error is obtained:
Err http://security.debian.org/debian-security/ jessie/updates/main libffi-dev amd64 3.1-2+deb8u1
404 Not Found [IP: 151.101.130.132 80]
E: Failed to fetch http://security.debian.org/debian-secur ... _amd64.deb 404 Not Found [IP: 151.101.130.132 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Suggest please.

Thanks.

User avatar
sunrat
Site admin
Site admin
Posts: 7365
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 133 times
Been thanked: 649 times

Re: [Solved] [Update issue] libffi install issue

#7 Post by sunrat »

There is no security support for Jessie. That repo no longer exists. You really should upgrade your Debian, especially if connected to the internet.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

kanyakumarirock
Posts: 16
Joined: 2023-11-27 12:54
Has thanked: 4 times

Re: [Solved] [Update issue] libffi install issue

#8 Post by kanyakumarirock »

Yes, we will upgrade at some point. Can there be other alternative solution as of now to tackle the issue?

kanyakumarirock
Posts: 16
Joined: 2023-11-27 12:54
Has thanked: 4 times

Re: [Update issue] libffi install issue

#9 Post by kanyakumarirock »

This issue is not solved yet.

kanyakumarirock
Posts: 16
Joined: 2023-11-27 12:54
Has thanked: 4 times

Re: [Update issue] libffi install issue

#10 Post by kanyakumarirock »

I got it solved from another web resource people's platform. The response was quick and supportive.

Post Reply