Jump to content

apt update/install error


just
Go to solution Solved by dark_pyrro,

Recommended Posts

Hi all

Can anyone help me with this error I am getting with the key croc when trying to install Packages I can not get any packages to install.

This is the error I am getting

root@croc:~# apt-get update
Ign http://httpredir.debian.org jessie InRelease
Ign http://httpredir.debian.org jessie Release.gpg
Hit http://archive.debian.org jessie-backports InRelease
Ign http://httpredir.debian.org jessie Release
Ign http://httpredir.debian.org jessie/main Sources/DiffIndex
Ign http://archive.debian.org jessie-backports InRelease
Ign http://archive.debian.org jessie-backports/main Sources/DiffIndex
Ign http://httpredir.debian.org jessie/contrib Sources/DiffIndex
Ign http://archive.debian.org jessie-backports/main armhf Packages/DiffIndex
Ign http://httpredir.debian.org jessie/non-free Sources/DiffIndex
Ign http://httpredir.debian.org jessie/main armhf Packages/DiffIndex
Hit http://archive.debian.org jessie-backports/main Translation-en
Ign http://httpredir.debian.org jessie/contrib armhf Packages/DiffIndex
Ign http://httpredir.debian.org jessie/non-free armhf Packages/DiffIndex
Hit http://archive.debian.org jessie-backports/main Sources         
Hit http://archive.debian.org jessie-backports/main armhf Packages       
Ign http://archive.debian.org jessie-backports/main Translation-en_US    
Ign http://httpredir.debian.org jessie/contrib Translation-en_US                                                                                
Ign http://httpredir.debian.org jessie/contrib Translation-en                                                                                   
Ign http://httpredir.debian.org jessie/main Translation-en_US                                                                                   
Ign http://httpredir.debian.org jessie/main Translation-en                                                                                      
Ign http://httpredir.debian.org jessie/non-free Translation-en_US                                                                               
Ign http://httpredir.debian.org jessie/non-free Translation-en                                                                                  
Err http://httpredir.debian.org jessie/main Sources                                                                                             
  404  Not Found [IP: 199.232.162.132 80]
Err http://httpredir.debian.org jessie/contrib Sources                                                                                          
  404  Not Found [IP: 199.232.162.132 80]
Err http://httpredir.debian.org jessie/non-free Sources                                                                                         
  404  Not Found [IP: 199.232.162.132 80]
Err http://httpredir.debian.org jessie/main armhf Packages                                                                                      
  404  Not Found [IP: 199.232.162.132 80]
Err http://httpredir.debian.org jessie/contrib armhf Packages                                                                                   
  404  Not Found [IP: 199.232.162.132 80]
Err http://httpredir.debian.org jessie/non-free armhf Packages                                                                                  
  404  Not Found [IP: 199.232.162.132 80]
W: GPG error: http://archive.debian.org jessie-backports InRelease: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673
W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/source/Sources  404  Not Found [IP: 199.232.162.132 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/contrib/source/Sources  404  Not Found [IP: 199.232.162.132 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/non-free/source/Sources  404  Not Found [IP: 199.232.162.132 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/main/binary-armhf/Packages  404  Not Found [IP: 199.232.162.132 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/contrib/binary-armhf/Packages  404  Not Found [IP: 199.232.162.132 80]

W: Failed to fetch http://httpredir.debian.org/debian/dists/jessie/non-free/binary-armhf/Packages  404  Not Found [IP: 199.232.162.132 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

 

root@croc:~# apt-get install sshpass
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  sshpass
0 upgraded, 1 newly installed, 0 to remove and 16 not upgraded.
Need to get 10.4 kB of archives.
After this operation, 50.2 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  sshpass
Install these packages without verification? [y/N] y
Err http://httpredir.debian.org/debian/ jessie/main sshpass armhf 1.05-1
  404  Not Found [IP: 199.232.162.132 80]
E: Failed to fetch http://httpredir.debian.org/debian/pool/main/s/sshpass/sshpass_1.05-1_armhf.deb  404  Not Found [IP: 199.232.162.132 80]

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

 

Link to comment
Share on other sites

  • Solution

Try:

apt -oAcquire::AllowInsecureRepositories=true install sshpass

Also, try to add keys and/or add a more recent keyring

You can try to edit the apt sources ( /etc/apt/sources.list ) as well and add something like:

deb [trusted=yes] http://archive.debian.org/debian/ jessie-backports main
deb [trusted=yes] http://archive.debian.org/debian/ jessie main contrib non-free

 

The Croc is running Debian Jessie, so it's not that strange getting such messages/errors

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...