Sudo apt-get update -y returned exit code 100

hi there,
as part of our build installation we are running sudo apt-get update -y.
apparently the command returns with a status code 100.

i found this thread on google:
ht*p://askubuntu.com/questions/566724/sudo-apt-get-update-gives-404-not-found-in-ubuntu-14-10-and-probelm-installing

it looks like this is an issue that is caused by some kind of end of life for the Ubuntu version that CircleCI uses by default (12.04).
the only way i managed to workaround this issue was by turning the experiment project setting:
Ubuntu 14.04 Trusty container
Select this option to run builds in our Ubuntu 14.04 (Trusty) container.This container is currently in beta.Our default container is Ubuntu 12.04 (Precise).
Please note that you need to trigger a build by pushing commits to GitHub (instead of rebuilding) to apply the new setting.

below is the build log:

(sorry for modifying the links, the editor would not let me create a post with more than 2 links :frowning: )

sudo apt-get update -y
Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise Release.gpg

Get:1 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates Release.gpg [198 B]

Get:2 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports Release.gpg [198 B]

Get:3 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports Release.gpg [933 B]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com trusty Release.gpg

Get:4 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-updates Release.gpg [933 B]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise Release

Get:5 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates Release [55.4 kB]

Get:6 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports Release [55.5 kB]

Get:7 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports Release [64.9 kB]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com trusty Release

Ign ht*p://circle-apt.s3.amazonaws.com precise Release.gpg

Hit ht*p://downloads-distro.mongodb.org dist Release.gpg

Get:8 ht*p://debian.neo4j.org stable/ Release.gpg [819 B]

Get:9 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-updates Release [64.9 kB]

Get:10 ht*p://security.ubuntu.com precise-security Release.gpg [198 B]

Hit ht*p://downloads-distro.mongodb.org dist Release

Hit ht*p://debian.neo4j.org stable/ Release

Hit ht*p://circle-apt.s3.amazonaws.com precise Release

Ign ht*p://circle-apt.s3.amazonaws.com precise/main amd64 Packages/DiffIndex

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/main amd64 Packages

Get:11 ht*p://security.ubuntu.com precise-security Release [55.5 kB]

Ign ht*p://circle-apt.s3.amazonaws.com precise/main TranslationIndex

Get:12 ht*p://toolbelt.heroku.com ./ Release.gpg [473 B]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/restricted amd64 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/universe amd64 Packages

Get:13 ht*p://toolbelt.heroku.com ./ Release [1,609 B]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/multiverse amd64 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/main i386 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/restricted i386 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/universe i386 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/multiverse i386 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/main TranslationIndex

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/multiverse TranslationIndex

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/restricted TranslationIndex

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/universe TranslationIndex

Get:14 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/main amd64 Packages [979 kB]

Hit ht*p://circle-apt.s3.amazonaws.com precise/main amd64 Packages

Ign ht*p://apt.typesafe.com unicorn Release.gpg

Ign ht*p://circle-apt.s3.amazonaws.com precise/main Translation-en_US

Ign ht*p://circle-apt.s3.amazonaws.com precise/main Translation-en

Hit ht*p://packages.couchbase.com lucid Release.gpg

Get:15 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/restricted amd64 Packages [16.2 kB]

Get:16 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/universe amd64 Packages [272 kB]

Get:17 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/multiverse amd64 Packages [16.9 kB]

Get:18 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/main i386 Packages [1,039 kB]

Hit ht*p://debian.datastax.com stable Release.gpg

Hit ht*p://packages.couchbase.com oneiric Release.gpg

Get:19 ht*p://ppa.launchpad.net precise Release.gpg [316 B]

Get:20 ht*p://apt.postgresql.org precise-pgdg Release.gpg [819 B]

Hit ht*p://downloads-distro.mongodb.org dist/10gen amd64 Packages

Hit ht*p://downloads-distro.mongodb.org dist/10gen i386 Packages

Hit ht*p://debian.neo4j.org stable/ Packages

Ign ht*p://downloads-distro.mongodb.org dist/10gen TranslationIndex

Ign ht*p://debian.neo4j.org stable/ Translation-en_US

Ign ht*p://debian.neo4j.org stable/ Translation-en

Ign ht*p://apt.typesafe.com unicorn Release

Ign ht*p://downloads-distro.mongodb.org dist/10gen Translation-en_US

Ign ht*p://downloads-distro.mongodb.org dist/10gen Translation-en

Hit ht*p://ppa.launchpad.net precise Release.gpg

Get:21 ht*p://security.ubuntu.com precise-security/main amd64 Packages [592 kB]

Hit ht*p://debian.datastax.com stable Release

Get:22 ht*p://apt.postgresql.org precise-pgdg Release [36.5 kB]

Ign ht*p://apt.typesafe.com unicorn/main amd64 Packages/DiffIndex

Get:23 ht*p://toolbelt.heroku.com ./ Packages [710 B]

Get:24 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/restricted i386 Packages [16.1 kB]

Get:25 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/universe i386 Packages [282 kB]

Hit ht*p://packages.couchbase.com lucid Release

Hit ht*p://ppa.launchpad.net precise Release.gpg

Ign ht*p://apt.typesafe.com unicorn/main i386 Packages/DiffIndex

Hit ht*p://packages.couchbase.com oneiric Release

Get:26 ht*p://security.ubuntu.com precise-security/restricted amd64 Packages [11.6 kB]

Get:27 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/multiverse i386 Packages [17.1 kB]

Get:28 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/main TranslationIndex [208 B]

Get:29 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/multiverse TranslationIndex [202 B]

Get:30 ht*p://security.ubuntu.com precise-security/universe amd64 Packages [129 kB]

Get:31 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/restricted TranslationIndex [202 B]

Get:32 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/universe TranslationIndex [205 B]

Get:33 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/main amd64 Packages [6,477 B]

Get:34 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/universe amd64 Packages [45.8 kB]

Get:35 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/main i386 Packages [6,478 B]

Hit ht*p://ppa.launchpad.net precise Release.gpg

Get:36 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/universe i386 Packages [45.6 kB]

Get:37 ht*p://security.ubuntu.com precise-security/multiverse amd64 Packages [3,155 B]

Get:38 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/main TranslationIndex [202 B]

Get:39 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/universe TranslationIndex [205 B]

Get:40 ht*p://security.ubuntu.com precise-security/main i386 Packages [650 kB]

Get:41 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/main amd64 Packages [9,787 B]

Ign ht*p://apt.typesafe.com unicorn/main TranslationIndex

Hit ht*p://debian.datastax.com stable/main amd64 Packages

Get:42 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/universe amd64 Packages [40.0 kB]

Get:43 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/main i386 Packages [9,814 B]

Get:44 ht*p://security.ubuntu.com precise-security/restricted i386 Packages [11.6 kB]

Hit ht*p://ppa.launchpad.net precise Release.gpg

Get:45 ht*p://security.ubuntu.com precise-security/universe i386 Packages [137 kB]

Get:46 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/universe i386 Packages [39.9 kB]

Get:47 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/main TranslationIndex [202 B]

Get:48 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/universe TranslationIndex [205 B]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/main Translation-en

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/multiverse Translation-en

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/restricted Translation-en

Hit ht*p://us-east-1.ec2.archive.ubuntu.com precise/universe Translation-en

Hit ht*p://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com trusty/main i386 Packages

Hit ht*p://us-east-1.ec2.archive.ubuntu.com trusty/main TranslationIndex

Get:49 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages [713 kB]

Get:50 ht*p://security.ubuntu.com precise-security/multiverse i386 Packages [3,334 B]

Hit ht*p://packages.couchbase.com lucid/lucid/main amd64 Packages

Get:51 ht*p://apt.postgresql.org precise-pgdg/main amd64 Packages [63.5 kB]

Get:52 ht*p://security.ubuntu.com precise-security/main TranslationIndex [208 B]

Hit ht*p://debian.datastax.com stable/main i386 Packages

Hit ht*ps://apt.dockerproject.org ubuntu-precise Release.gpg

Get:53 ht*p://security.ubuntu.com precise-security/multiverse TranslationIndex [199 B]

Hit ht*ps://apt.dockerproject.org ubuntu-precise Release

Get:54 ht*p://security.ubuntu.com precise-security/restricted TranslationIndex [202 B]

Get:55 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-updates/main i386 Packages [691 kB]

Get:56 ht*p://security.ubuntu.com precise-security/universe TranslationIndex [205 B]

Hit ht*ps://apt.dockerproject.org ubuntu-precise/main amd64 Packages

Get:57 ht*p://ppa.launchpad.net precise Release [12.9 kB]

Get:58 ht*p://security.ubuntu.com precise-security/main Translation-en [250 kB]

Ign ht*p://debian.datastax.com stable/main TranslationIndex

Get:59 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-updates/main TranslationIndex [208 B]

Get:60 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/main Translation-en [412 kB]

Get:61 ht*ps://apt.dockerproject.org ubuntu-precise/main TranslationIndex

Ign ht*ps://apt.dockerproject.org ubuntu-precise/main TranslationIndex

Hit ht*p://ppa.launchpad.net precise Release

Get:62 ht*p://security.ubuntu.com precise-security/multiverse Translation-en [1,698 B]

Get:63 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/multiverse Translation-en [9,806 B]

Hit ht*p://packages.couchbase.com lucid/lucid/main i386 Packages

Ign ht*p://packages.couchbase.com lucid/lucid/main TranslationIndex

Get:64 ht*p://security.ubuntu.com precise-security/restricted Translation-en [2,976 B]

Hit ht*p://packages.couchbase.com oneiric/oneiric/main amd64 Packages

Hit ht*p://packages.couchbase.com oneiric/oneiric/main i386 Packages

Get:65 ht*p://apt.postgresql.org precise-pgdg/main i386 Packages [63.4 kB]

Ign ht*p://packages.couchbase.com oneiric/oneiric/main TranslationIndex

Get:66 ht*p://security.ubuntu.com precise-security/universe Translation-en [82.4 kB]

Get:67 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/restricted Translation-en [3,869 B]

Get:68 ht*p://us-east-1.ec2.archive.ubuntu.com precise-updates/universe Translation-en [163 kB]

Get:69 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/main Translation-en [5,737 B]

Get:70 ht*p://us-east-1.ec2.archive.ubuntu.com precise-backports/universe Translation-en [35.6 kB]

Get:71 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/main Translation-en [5,843 B]

Get:72 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-backports/universe Translation-en [34.7 kB]

Hit ht*p://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en

Get:73 ht*p://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en [360 kB]

Hit ht*p://ppa.launchpad.net precise Release

Ign ht*p://toolbelt.heroku.com ./ Translation-en_US

Ign ht*p://toolbelt.heroku.com ./ Translation-en

Ign ht*p://apt.postgresql.org precise-pgdg/main TranslationIndex

Hit ht*p://ppa.launchpad.net precise Release

Ign ht*p://packages.couchbase.com lucid/lucid/main Translation-en_US

Ign ht*p://packages.couchbase.com lucid/lucid/main Translation-en

Ign ht*p://packages.couchbase.com oneiric/oneiric/main Translation-en_US

Hit ht*p://ppa.launchpad.net precise Release

Ign ht*p://packages.couchbase.com oneiric/oneiric/main Translation-en

Get:74 ht*p://ppa.launchpad.net precise/main Sources [9,685 B]

Ign ht*ps://apt.dockerproject.org ubuntu-precise/main Translation-en_US

Ign ht*ps://apt.dockerproject.org ubuntu-precise/main Translation-en

Get:75 ht*p://ppa.launchpad.net precise/main amd64 Packages [10.5 kB]

Get:76 ht*p://ppa.launchpad.net precise/main i386 Packages [8,047 B]

Get:77 ht*p://ppa.launchpad.net precise/main TranslationIndex [202 B]

Hit ht*p://ppa.launchpad.net precise/main Sources

Ign ht*p://debian.datastax.com stable/main Translation-en_US

Hit ht*p://ppa.launchpad.net precise/main amd64 Packages

Ign ht*p://debian.datastax.com stable/main Translation-en

Ign ht*p://apt.postgresql.org precise-pgdg/main Translation-en_US

Hit ht*p://ppa.launchpad.net precise/main i386 Packages

Ign ht*p://apt.postgresql.org precise-pgdg/main Translation-en

Hit ht*p://ppa.launchpad.net precise/main TranslationIndex

Err ht*p://apt.typesafe.com unicorn/main amd64 Packages
404 Not Found

Hit ht*p://ppa.launchpad.net precise/main Sources

Err ht*p://apt.typesafe.com unicorn/main i386 Packages
404 Not Found

Hit ht*p://ppa.launchpad.net precise/main amd64 Packages

Ign ht*p://apt.typesafe.com unicorn/main Translation-en_US

Hit ht*p://ppa.launchpad.net precise/main i386 Packages

Ign ht*p://apt.typesafe.com unicorn/main Translation-en

Hit ht*p://ppa.launchpad.net precise/main TranslationIndex

Hit ht*p://ppa.launchpad.net precise/main Sources

Hit ht*p://ppa.launchpad.net precise/main amd64 Packages

Hit ht*p://ppa.launchpad.net precise/main i386 Packages

Hit ht*p://ppa.launchpad.net precise/main TranslationIndex

Hit ht*p://ppa.launchpad.net precise/main Sources

Hit ht*p://ppa.launchpad.net precise/main amd64 Packages

Hit ht*p://ppa.launchpad.net precise/main i386 Packages

Hit ht*p://ppa.launchpad.net precise/main TranslationIndex

Get:78 ht*p://ppa.launchpad.net precise/main Translation-en [1,159 B]

Hit ht*p://ppa.launchpad.net precise/main Translation-en

Hit ht*p://ppa.launchpad.net precise/main Translation-en

Hit ht*p://ppa.launchpad.net precise/main Translation-en

Hit ht*p://ppa.launchpad.net precise/main Translation-en

Fetched 7,663 kB in 4s (1,650 kB/s)
W: Failed to fetch ht*p://apt.typesafe.com/dists/unicorn/main/binary-amd64/Packages 404 Not Found

W: Failed to fetch ht*p://apt.typesafe.com/dists/unicorn/main/binary-i386/Packages 404 Not Found

sudo apt-get update -y returned exit code 100

E: Some index files failed to download. They have been ignored, or old ones used instead. Action failed: sudo apt-get update -y

Hi,

Ubuntu 12.04 LTS, which is our default container distro, has an EOL of April 2017. So that isn’t the reason this is failing. It looks like there’s a problem with a specific repo that is causing the command to fail.

Looking into this now, thank you for pointing it out.

Hi @oratthumzap,

The issue has been fixed on our end. The default Ubuntu 12.04 containers can be updated just fine now.

For anyone interested in the issue, it looks like TypeSafe has been rebranded to a new company name. When they killed their old domain name, they also killed any repos that were tied to it.

thanks @FelicianoTech!
i can confirm that the issue is now fixed.

1 Like

Hi there!

Getting same issue for sudo apt-get update.

Confirmed @chapai , using Ubuntu 12.04, receiving the following error during apt-get

W: GPG error: https://apt.dockerproject.org ubuntu-precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D

@j-hernandez, Exactly

Appears to be resolved now

Thanks for reporting this issue. It should be resolved now. Please let us know if you continue to see this error message.

@tom work’s now. Thanks!

still having this error (started yday morning):

W: GPG error: http://www.apache.org 34x InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 749D6EEC0353B12C
W: GPG error: https://apt.dockerproject.org ubuntu-trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F76221572C52609D

and I’m also unable to install packages of which I’m fairly certain it should work …

E: Unable to locate package  libleveldb-dev
E: Unable to locate package  libcurl4-openssl-dev
E: Unable to locate package  libargtable2-dev
E: Unable to locate package  libgoogle-perftools-dev

https://circleci.com/gh/CounterpartyXCP/counterparty-lib/1142

libcurl4-openssl-dev for example is in http://packages.ubuntu.com/trusty/libcurl4-openssl-dev

$ cat /etc/apt/sources.list
deb http://security.ubuntu.com/ubuntu trusty-security main

$ sudo apt-get -y --allow-unauthenticated update
Hit http://security.ubuntu.com trusty-security/main amd64
1 Like

I’m having actually a similar error as for now (it was working up untill yesterday):

100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to  debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]Err http://debian.neo4j.org stable/ Translation-en
Something wicked happened resolving 'debian.neo4j.org:http' (-5 - No address associated with hostname)

100% [Working]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]100% [Connecting to debian.neo4j.org]Err http://debian.neo4j.org stable/ Packages
Something wicked happened resolving 'debian.neo4j.org:http' (-5 - No address associated with hostname)

Fetched 9,065 kB in 3min 6s (48.5 kB/s)
W: GPG error: https://apt.dockerproject.org ubuntu-precise Release: The following signatures couldn't be  verified because the public key is not available: NO_PUBKEY F76221572C52609D
W: Failed to fetch http://debian.neo4j.org/repo/stable/Release.gpg  Something wicked happened resolving 'debian.neo4j.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://debian.neo4j.org/repo/stable/en_US  Something wicked happened resolving 'debian.neo4j.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://debian.neo4j.org/repo/stable/en  Something wicked happened resolving 'debian.neo4j.org:http' (-5 - No address associated with hostname)

W: Failed to fetch http://debian.neo4j.org/repo/stable/Packages  Something wicked happened resolving 'debian.neo4j.org:http' (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.

sudo apt-get update returned exit code 100

Action failed: sudo apt-get update

The related build can be found here (need to be authorized) https://circleci.com/gh/wamland-team/wamland-identity/61

Same for me…
W: Failed to fetch http://debian.neo4j.org/repo/stable/Packages Something wicked happened resolving ‘debian.neo4j.org:http’ (-5 - No address associated with hostname)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Ok I can confirm that it is now working. @ryaz can you confirm that everything works for you?

Yes, it does work now. Thanks!

Started getting this error on Ubuntu 14.04 (Trusty)
Tried to run on Ubuntu 12.04 (Precise) but it did’n help.

sudo apt-get update
.
.
.

W: Failed to fetch https://packagecloud.io/basho/riak/ubuntu/dists/trusty/main/source/Sources HttpError401

W: Failed to fetch https://packagecloud.io/basho/riak/ubuntu/dists/trusty/main/binary-amd64/Packages HttpError401

E: Some index files failed to download. They have been ignored, or old ones used instead.

sudo apt-get update returned exit code 100

Action failed: sudo apt-get update

Can anyone look at it?

5 Likes

Same issue here, exit code 100.

5 Likes

Exact same thing here.

Ditto

sudo apt-get update --fix-missing

Thanks for reporting this - the issue as reported on 2017-10-18 has now been resolved.

(Closing since this was a resurrection of a very old thread.)