1

When I run sudo apt install bc (as well as other packages) I get:

$ sudo apt install bc
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bc

This is a new clean install of 16.04, xenial server

vidarlo
  • 22,691
  • 3
    Did you do sudo apt update yet at all? – Thomas Ward Dec 14 '17 at 16:42
  • Yes. It takes over 10 minutes to finish and does not update the system – tony duhamel Dec 14 '17 at 16:52
  • 1
    it's not supposed to update the system, it's supposed to get information about packages that're available for installation and refreshes the repository cache information. – Thomas Ward Dec 14 '17 at 16:54
  • 1
    First run sudo apt updatethen run sudo apt install bc – sudodus Dec 14 '17 at 16:55
  • After 10 minutes I get this: y:/$ sudo apt update [sudo] password for Ign:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Ign:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease Ign:3 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease Err:4 http://us.archive.ubuntu.com/ubuntu xenial Release 404 Not Found [IP: 91.189.91.26 80] Err:5 http://us.archive.ubuntu.com/ubuntu xenial-updates Release 404 Not Found [IP: 91.189.91.26 80] Err:6 http://us.archive.ubuntu.com/ubuntu xenial-backports Release 404 Not Found [IP: 91.189.91.26 80] – tony duhamel Dec 14 '17 at 16:56
  • After running sudo apt update followed by sudo apt install bc I get the same result: "Unable to locate package bc" – tony duhamel Dec 14 '17 at 17:01
  • Is your internet connection working at all? Or maybe there is a temporary error with your internet connection? – sudodus Dec 14 '17 at 17:02
  • Internet connect is fine – tony duhamel Dec 14 '17 at 17:03
  • According to the output there is a problem to get information from the Ubuntu archives. Maybe the connection will work after half an hour -- try again ... – sudodus Dec 14 '17 at 17:06
  • This has been an ongoing problem. The internet connection is fine – tony duhamel Dec 14 '17 at 17:11
  • The problem might be at the other end, the Ubuntu archive end, of the connection. I live in Europe and use other Ubuntu archives (and they work now). – sudodus Dec 14 '17 at 17:13

0 Answers0