can't sudo apt-get update

267 views
Skip to first unread message

Donnie Kim

unread,
Mar 15, 2021, 11:25:20 AM3/15/21
to Salt-users
hello,

I am encountering a problem of updating  saltstack package with the following error:

404  Not Found [IP: 13.225.50.18 443]

Now, the below is what i have under /etc/apt/sources.list.d
deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] https://repo.saltproject.io/py3/ubuntu/20.04/arch=amd64/latest focal main

The above package is exactly the same copy that I found in salt installation instructions (https://repo.saltstack.com/#ubuntu).

Any ideas?

Phipps, Thomas

unread,
Mar 15, 2021, 11:41:09 AM3/15/21
to salt-...@googlegroups.com
I don't know where you got that arch=amd64 but that should just be amd64 without the arch= 

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/7c9bfcba-976e-4a53-a564-a65a682026c1n%40googlegroups.com.

Donnie Kim

unread,
Mar 16, 2021, 12:54:43 PM3/16/21
to salt-...@googlegroups.com
Hi Phipps,

I did notice the typo there and fixed it, yet I encountered a different problem this time:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://repo.saltproject.io/py3/ubuntu/20.04/amd64/latest focal InRelease' doesn't support architecture 'i386'

Is this because I have Ubuntu 18.04?

Best,
Donnie

You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/6Glb8XtcNAM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/salt-users/CAPaX09hoS_xGNmcCqK75LUdS3uLDZUEAUO-VBYYaF%3D3v79yVOw%40mail.gmail.com.

Phipps, Thomas

unread,
Mar 16, 2021, 1:13:27 PM3/16/21
to salt-...@googlegroups.com
Donnie,

That isn't an error that actually stops anything it is more a warning message. it just means the repo doesn't support i386 arch. which it doesn't. 

If you would rather not see that error you can update the string in the repo line to include [arch=amd64] between the deb and the repo URL. if you have the [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg] there just make that [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg,arch=amd64]

Also, if you have 18.04 you shouldn't be using the 20.04 repo. there is a 18.04 repo. If you don't know what version of ubuntu you are on check /etc/lsb-release 

Reply all
Reply to author
Forward
0 new messages