Pishopper
Posts: 2
Joined: Tue Nov 27, 2018 7:13 pm

apt-get install problems

Thu Nov 29, 2018 7:23 pm

I'm having problems installing the python3-openssl package with the dreaded "waiting for headers" message. From the many other similar threads I've seen, the answer to solving this seems to be "wait" and the servers will eventually catch up. It's now been over a week and the packages have not yet shown up. I tried switching over to mirrordirector but got the scary warning about the release file not being there and packages aren't trusted

Code: Select all

root@localhost:/etc/apt# apt-get update
Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
Reading package lists... Done
root@localhost:/etc/apt# apt-get install python3-openssl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  python3-cffi-backend python3-cryptography python3-idna python3-pyasn1 python3-setuptools
Suggested packages:
  python-cryptography-doc python3-cryptography-vectors python-openssl-doc python3-openssl-dbg doc-base python-setuptools-doc
The following NEW packages will be installed:
  python3-cffi-backend python3-cryptography python3-idna python3-openssl python3-pyasn1 python3-setuptools
0 upgraded, 6 newly installed, 0 to remove and 88 not upgraded.
Need to get 561 kB of archives.
After this operation, 3,073 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
0% [Waiting for headers]
Browsing to the repo itself, I don't see the packages I need listed there (http://archive.raspberrypi.org/debian/pool/main/p/). Is there a way for me to alert the repo owners that there may be a problem and that they are missing packages?

code_exec
Posts: 260
Joined: Sun Sep 30, 2018 12:25 pm

Re: apt-get install problems

Thu Nov 29, 2018 8:51 pm

Hi.

Have you tried checking your internet connection? Try pinging google.com with the following command:

Code: Select all

ping google.com
Try running sudo apt update if you are able to ping google.com successfully. This updates the package lists on your system to the latest version.
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

epoch1970
Posts: 2408
Joined: Thu May 05, 2016 9:33 am
Location: Paris, France

Re: apt-get install problems

Thu Nov 29, 2018 8:55 pm

The problem appears to be on your side.
I can install python3-openssl and all the other packages listed in your trace.

My system is up to date. Yours seems not: 88 packages not upgraded.
"S'il n'y a pas de solution, c'est qu'il n'y a pas de problème." Les Shadoks, J. Rouxel

DirkS
Posts: 9732
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: apt-get install problems

Thu Nov 29, 2018 9:24 pm

Pishopper wrote:
Thu Nov 29, 2018 7:23 pm
Browsing to the repo itself, I don't see the packages I need listed there (http://archive.raspberrypi.org/debian/pool/main/p/). Is there a way for me to alert the repo owners that there may be a problem and that they are missing packages?
I think these packages are in the Raspbian repo, not the RPF one ('archive' etc is the RPF repo).

Use 'apt policy packagename' to get info on the location of the package

Pishopper
Posts: 2
Joined: Tue Nov 27, 2018 7:13 pm

Re: apt-get install problems

Sat Dec 01, 2018 12:20 am

Thank you for the replies. It is definitely something with this particular host. Other hosts on my network with the same repos in /etc/apt/sources.list and /etc/apt/sources.list.d seem to have no problem with installing the packages I need. When i try to run an apt-get update && apt-get dist-upgrade, I still end up with failing to retrieve headers... Is there something I can do that will completely clear out my apt state beside apt-get clean and apt clean? I've already tried both of those..

code_exec
Posts: 260
Joined: Sun Sep 30, 2018 12:25 pm

Re: apt-get install problems

Tue Dec 04, 2018 10:09 am

Pishopper wrote:
Sat Dec 01, 2018 12:20 am
Thank you for the replies. It is definitely something with this particular host. Other hosts on my network with the same repos in /etc/apt/sources.list and /etc/apt/sources.list.d seem to have no problem with installing the packages I need. When i try to run an apt-get update && apt-get dist-upgrade, I still end up with failing to retrieve headers... Is there something I can do that will completely clear out my apt state beside apt-get clean and apt clean? I've already tried both of those..
By checking your internet connection. This error appears if apt cannot retrieve headers from the server, which can be the result of a bad internet connection.
Ubuntu 18.04 LTS desktop images for the Raspberry Pi 3.

https://github.com/CodeExecution/Ubuntu-ARM64-RPi

Return to “Raspbian”