protonscr

Updating repository info after Steam installation give 404 error on amd64 distributions

steamclosed reviewed
ValveSoftware/steam-for-linux#117 · opened 2012-12-20 by RussianNeuroMancer · updated 2013-01-09 · 11 comments · github
RRussianNeuroMancer 2012-12-20 github

Latest version of Steam bootstrapper add deb repository into system. On amd64 distributions that give 404 error (for example in Muon on Kubuntu) after package information update. In "apt-get update" that error looks like this:

~$ sudo apt-get update
...
Err http://repo.steampowered.com precise/steam amd64 Packages 404 Not Found
...
W: GPG error: http://repo.steampowered.com precise InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F24AEA9FB05498B7
W: Failed to fetch http://repo.steampowered.com/steam/dists/precise/steam/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

RRussianNeuroMancer 2012-12-20 github

Ok, I found how to add key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B05498B7

but why this doesn't happen automatically? (For example in case of Google Chrome deb's GPG key added automatically.) 404 error is still displayed with added key too (as expected).

Rratmav 2012-12-21 github

i am closing #222 as a duplicate of this bug, because this thread has mentioned that manually installing the key might not be the way to go. seconding what @RussianNeuroMancer said.

Aandyceo 2012-12-23 github

I can confirm this issue.

In addition, there is no instructions about how to manually add Steam repository and install it from repository - I am trying to do so.

Rratmav 2012-12-23 github

@andyceo: if you look at #222, i wrote how to import the key and update apt. Once you do that, the update should install like it would normally. Here's what I did in case it helps:

$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys B05498B7
$ sudo apt-get update

i'd imagine that this will probably be unnecessary to do in the future for fresh installs. also, you should only have to import the key once unless valve changes the key.

Sslouken 2012-12-24 github

Okay, regarding the 404 error, can you check to see if this happens after updating to the latest deb?
http://repo.steampowered.com/steam/archive/precise/steam_latest.deb

If so, can you verify that repo.steampowered.com is NOT listed in /etc/apt/sources.list?
And then can you verify that the contents of /etc/apt/sources.list.d/steam.list is this line:
deb [arch=i386] http://repo.steampowered.com/steam/ precise steam

Thanks!

RRussianNeuroMancer 2012-12-24 github

can you check to see if this happens after updating to the latest deb?

Yes, it's still happens after updating from 1.0.0.17 to 1.0.0.18.

If so, can you verify that repo.steampowered.com is NOT listed in /etc/apt/sources.list?

No, it's in separate /etc/apt/sources.list.d/steam.list.

And then can you verify that the contents of /etc/apt/sources.list.d/steam.list is this line

No, content of /etc/apt/sources.list.d/steam.list is this line:

deb http://repo.steampowered.com/steam/ precise steam

Maybe it will be easier to add amd64 repo with virtual amd64 package that depends on i386 steam package? Look how Skype packaged by Canonical in Canonical Partner Repository.

Sslouken 2012-12-25 github

Okay, I verified that the 1.0.0.18 package has the correct line.
You should be able to do: sudo apt-get purge steam:i386 and then install the package manually from http://repo.steampowered.com/steam/archive/precise/steam_latest.deb and have it work.
Please let me know if this takes care of the issue for you.

RRussianNeuroMancer 2012-12-25 github

After that issue is disappear. Thank you for fix!

Sslouken 2012-12-25 github

Great, you're welcome! :)

RRussianNeuroMancer 2012-12-29 github

Unfortunately, commenting repository in sources list (Software Center > Edit > Software Sources > Other Software or Muon > Settings > Configure Software Sources > Other Software; choice Steam line, click Edit, change Comment, Apply) remove "[arch=i386]" from /etc/apt/sources.list.d/steam.list so in result I have this issue again.

Hopefully, https://github.com/ValveSoftware/steam-for-linux/issues/403 will be resolved soon.

Sslouken 2012-12-29 github

Yes, this will be fixed after the next Steam update.