Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

sudo apt install fails with Failed to fetch http://security.ubuntu.com/... 404 Not Found [IP: ...

Solved! Go to Solution.

See e.g. the latest build:

sudo apt install graphviz texlive-xetex texlive-fonts-recommended
                        fonts-freefont-otf latexmk lmodern
...
Err:34 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 ruby2.5 amd64 2.5.1-1ubuntu1.5
404  Not Found [IP: 52.168.50.79 80]
http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libruby2.5 amd64 2.5.1-1ubuntu1.5
404  Not Found [IP: 52.168.50.79 80]
...
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/r/ruby2.5/ruby2.5_2.5.1-1ubuntu1.5_amd64.deb  404  Not Found [IP: 52.168.50.79 80]
Fetched 140 MB in 5s (25.9 MB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/r/ruby2.5/libruby2.5_2.5.1-1ubuntu1.5_amd64.deb  404  Not Found [IP: 52.168.50.79 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

My workflow: test.yml

1 Reply
Solution
Pilot Lvl 2
Message 2 of 2

Re: sudo apt install fails with Failed to fetch http://security.ubuntu.com/... 404 Not Found [IP: .

Try `sudo apt update` before installing.