question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

sudo apt-get install Failure 404 File Fetch Error

See original GitHub issue

Installation is failing through sudo apt-get install

~# sudo apt-get install mininet
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  blt dkms fonts-liberation graphviz libamd2.2.0 libblas3gf libcdt4 libcgraph5 libgd2-noxpm libgfortran3 libglade2-0 libgraph4 libgvc5
  libgvpr1 liblapack3gf libpathplan4 libumfpack5.4.0 libutempter0 libxss1 libyaml-0-2 openvswitch-common openvswitch-controller
  openvswitch-datapath-dkms openvswitch-pki openvswitch-switch python-cairo python-dateutil python-dev python-glade2 python-gtk2
  python-imaging python-matplotlib python-matplotlib-data python-networkx python-numpy python-pkg-resources python-pygraphviz
  python-pyparsing python-scipy python-support python-tk python-tz python-yaml python2.7-dev tcl8.5 tk8.5 ttf-liberation ttf-lyx
  xbitmaps xterm
Suggested packages:
  blt-demo graphviz-doc libgd-tools ethtool python-gtk2-doc python-imaging-doc python-imaging-dbg dvipng ipython librsvg2-common
  python-configobj python-excelerator python-matplotlib-doc python-qt3 python-qt4 python-traits python-wxgtk2.8 python-numpy-doc
  python-numpy-dbg python-nose gfortran python-distribute python-distribute-doc tix python-tk-dbg tclreadline xfonts-cyrillic
The following NEW packages will be installed:
  blt dkms fonts-liberation graphviz libamd2.2.0 libblas3gf libcdt4 libcgraph5 libgd2-noxpm libgfortran3 libglade2-0 libgraph4 libgvc5
  libgvpr1 liblapack3gf libpathplan4 libumfpack5.4.0 libutempter0 libxss1 libyaml-0-2 mininet openvswitch-common openvswitch-controller
  openvswitch-datapath-dkms openvswitch-pki openvswitch-switch python-cairo python-dateutil python-dev python-glade2 python-gtk2
  python-imaging python-matplotlib python-matplotlib-data python-networkx python-numpy python-pkg-resources python-pygraphviz
  python-pyparsing python-scipy python-support python-tk python-tz python-yaml python2.7-dev tcl8.5 tk8.5 ttf-liberation ttf-lyx
  xbitmaps xterm
0 upgraded, 51 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,201 kB/62.4 MB of archives.
After this operation, 147 MB of additional disk space will be used.
Do you want to continue [Y/n]? 
Err http://us.archive.ubuntu.com/ubuntu/ precise-updates/main libcdt4 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.91.24 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libcdt4 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libcgraph5 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libgraph4 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libpathplan4 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libgvc5 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main libgvpr1 amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Err http://security.ubuntu.com/ubuntu/ precise-security/main graphviz amd64 2.26.3-10ubuntu1.1
  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/libcdt4_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/libcgraph5_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/libgraph4_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/libpathplan4_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/libgvc5_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/libgvpr1_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/graphviz/graphviz_2.26.3-10ubuntu1.1_amd64.deb  404  Not Found [IP: 91.189.88.149 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I’m not sure if some of the files have been misplaced on the server or dependencies have changed.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
yar00001commented, Nov 8, 2016

It’s solved after doing a sudo dhclient eth1

0reactions
aman-subscriptionscommented, Mar 24, 2019

@AsmitaChavan that is only if your system is not able to resolve the host. Try solution described here which will resolve if the issue is only because you can’t reach ubuntu server: https://askubuntu.com/questions/660480/unable-to-locate-package-libjpeg-dev

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix Ubuntu/Debian apt-get 404 Not Found Repository ...
There are two solutions to get your apt commands working again. First: upgrade the Ubuntu release. Second: update the sources url to the...
Read more >
How to fix apt 404 Not Found error on Debian/Ubuntu
Step 1: Find the outdated or broken repository URLs · Step 2: Find the updated repository URLs · Step 3: Backup your sources...
Read more >
Getting 404 not found errors when doing `sudo apt-get ...
First run sudo apt-get -y upgrade to get apt-get repointed correctly. ... without getting the "404 Not Found" error. ... From this page:....
Read more >
How to fix "404 Not Found" error with "apt-get update" on ...
Here is a quick way to fix " 404 Not Found " errors on old Ubuntu by switching to old-releases repositories. First, replace...
Read more >
How to fix Failed to fetch...404 Not Found when apt-get update
i get this error when trying to update with sudo apt - get update :E: Failed to fetch ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found