NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Sandshark
Apr 11, 2023Sensei
How I got apt update and install to work (with Debian Jessie retired)
OK, so I started off creating my own local Debian repository. Not recommended -- it's a lot of work. But with a lot of Googling and experimenting, I finally got apt to work using an online source. ...
raskarkapak
May 03, 2023Initiate
Hello there !
i had the same problem, being in need of setting up a docker container with php 5.3 + apache 2 + mysql connectors.
i finally found a usable URL to download the sources (Index of /debian-archive/debian/dists/ (kernel.org)) and i did add this url to my sources.list file using my dockerfile after a lot of trial and error :
RUN echo "deb [trusted=yes] http://archive.kernel.org/debian-archive/debian/ jessie main" >> /etc/apt/sources.list
it works great and i am now able to build and use this container.
However, i now have to build another container, using php 5.4 this time. i did a lot of research and found that this version of php should be in the ubuntu 12.10 distro, Quantal Quetzal.
I finally found an archive website (Index of /ubuntu/dists), but it doesn't seem to work and i don't know why...
This time i used this line in my dockerfile :
RUN echo "deb [trusted=yes] http://old-releases.ubuntu.com/ubuntu/dists quantal main" >> /etc/apt/sources.list
Does anyone have an idea of why this one doesn't work ?
RUN apt-get update && apt-get install -y
---
=> => # Get:1 http://old-releases.ubuntu.com quantal Release.gpg [933B]
=> => # Get:2 http://old-releases.ubuntu.com quantal Release [49.6kB]
=> => # Ign http://old-releases.ubuntu.com quantal Release
=> => # Get:3 http://old-releases.ubuntu.com quantal/main amd64 Packages [1469 kB]
=> => # Get:4 http://old-releases.ubuntu.com quantal/main amd64 Packages [1469 kB]
=> => # Get:5 http://old-releases.ubuntu.com quantal/main amd64 Packages [1469 kB]
[..........]
=> => # Get:28 http://old-releases.ubuntu.com quantal/main amd64 Packages [1469 kB]
[..........]
=> => # Get:72 http://old-releases.ubuntu.com quantal/main amd64 Packages [1469 kB]
[..........]
Unfortunately, this does not ever stop so i don't have any error to show you guys...
i let it run for over 20 minutes and it was at Get:180 or something, so i stopped it.
Any idea or reliable URL to put in my sources.list ?
Thanks
raskarkapak
May 03, 2023Initiate
my bad, network issues. i was in wifi, got back to good old wire and it works using the jessie distro...
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!