hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:07 pm

hi, I have a raspberry Pi4 running the recommended Raspbian downloaded from the website. When I run update, I am getting a notification that says 'buster InRelease' doesn't support architecture 'i386'

here is the output for the update command...

Code: Select all

[email protected]:~ $ sudo apt update
Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]      
Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [277 kB]
Get:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Get:5 http://archive.raspberrypi.org/debian buster/main i386 Packages [166 kB] 
Fetched 13.5 MB in 22s (606 kB/s)                                                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
83 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'contrib/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'non-free/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'rpi/binary-i386/Packages' as repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' doesn't support architecture 'i386'
[email protected]:~ $ 

I saw some hits on 'askubuntu.com/questions' they suggest to change my sources.list, adding '[arch=amd64]' to each line with the error.

https://askubuntu.com/questions/1029198 ... ry#1029865

e.g....

Code: Select all

deb [arch=amd64] https://download.virtualbox.org/virtualbox/debian bionic contrib

but the issue they are trying to fix is not the same as my situation, similar but not exactly the same.

this is what my sources.list looks like at moment...

Code: Select all

[email protected]:/ $ cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
[email protected]:/ $ 


[email protected]:/ $ cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ buster main
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ buster main
[email protected]:/ $ 

I don't want to make any changes that might break my setup, I have used Linux for a while now but I'm no expert. any advice would be appreciated.

User avatar
rpdom
Posts: 16782
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:17 pm

hughparker1 wrote:
Sun Feb 23, 2020 5:07 pm
I have a raspberry Pi4 running the recommended Raspbian downloaded from the website. When I run update, I am getting a notification that says 'buster InRelease' doesn't support architecture 'i386'
That is correct. The Pi is an ARM based device, not an x86 system.
hughparker1 wrote:
Sun Feb 23, 2020 5:07 pm
I saw some hits on 'askubuntu.com/questions' they suggest to change my sources.list, adding '[arch=amd64]' to each line with the error.
They are wrong. The Pi is still an ARM based system. It is not an "amd64" (AKA x86-64) system.
I don't want to make any changes that might break my setup
It sounds like you've already done that. What changes did you make to your sources.list files and what software were you trying to install?

Which instructions were you originally following?
Unreadable squiggle

User avatar
B.Goode
Posts: 9871
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:24 pm

Who or what was responsible for the inappropriate

Code: Select all

Get:5 http://archive.raspberrypi.org/debian buster/main i386 Packages [166 kB] 
Do you have any other entries in /etc/apt/sources.list.d/


hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:39 pm

rpdom wrote:
Sun Feb 23, 2020 5:17 pm
hughparker1 wrote:
Sun Feb 23, 2020 5:07 pm
I have a raspberry Pi4 running the recommended Raspbian downloaded from the website. When I run update, I am getting a notification that says 'buster InRelease' doesn't support architecture 'i386'
That is correct. The Pi is an ARM based device, not an x86 system.
hughparker1 wrote:
Sun Feb 23, 2020 5:07 pm
I saw some hits on 'askubuntu.com/questions' they suggest to change my sources.list, adding '[arch=amd64]' to each line with the error.
They are wrong. The Pi is still an ARM based system. It is not an "amd64" (AKA x86-64) system.
I don't want to make any changes that might break my setup
It sounds like you've already done that. What changes did you make to your sources.list files and what software were you trying to install?

Which instructions were you originally following?
I haven't touched my sources list, it is as originally installed. I just wanted to get some advice / guidance.

EDIT:

[/quote]
It sounds like you've already done that. What changes did you make to your sources.list files and what software were you trying to install?

Which instructions were you originally following?
[/quote]

i wasn't installing any software, I wasn't following any instructions... I was just running update
Last edited by hughparker1 on Sun Feb 23, 2020 5:44 pm, edited 2 times in total.

hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:41 pm

B.Goode wrote:
Sun Feb 23, 2020 5:24 pm
Who or what was responsible for the inappropriate

Code: Select all

Get:5 http://archive.raspberrypi.org/debian buster/main i386 Packages [166 kB] 
Do you have any other entries in /etc/apt/sources.list.d/

No other entries, I just copy'n'paste the only entry that was there.

EDIT:

Who or what was responsible for the inappropriate

Code: Select all

Get:5 http://archive.raspberrypi.org/debian buster/main i386 Packages [166 kB] 
i haven't made any changes in sources.list since installation.
Last edited by hughparker1 on Sun Feb 23, 2020 5:49 pm, edited 1 time in total.

User avatar
B.Goode
Posts: 9871
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:42 pm

hughparker1 wrote:
Sun Feb 23, 2020 5:39 pm
rpdom wrote:
Sun Feb 23, 2020 5:17 pm
hughparker1 wrote:
Sun Feb 23, 2020 5:07 pm
I have a raspberry Pi4 running the recommended Raspbian downloaded from the website. When I run update, I am getting a notification that says 'buster InRelease' doesn't support architecture 'i386'
That is correct. The Pi is an ARM based device, not an x86 system.
hughparker1 wrote:
Sun Feb 23, 2020 5:07 pm
I saw some hits on 'askubuntu.com/questions' they suggest to change my sources.list, adding '[arch=amd64]' to each line with the error.
They are wrong. The Pi is still an ARM based system. It is not an "amd64" (AKA x86-64) system.
I don't want to make any changes that might break my setup
It sounds like you've already done that. What changes did you make to your sources.list files and what software were you trying to install?

Which instructions were you originally following?
I haven't touched my sources list, it is as originally installed. I just wanted to get some advice / guidance.

In that case there might be a suspicion that something outside your control has broken.

In which case doing nothing other than retrying later will be the best approach...

hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 5:54 pm

jojopi wrote:
Sun Feb 23, 2020 5:30 pm
Try:

Code: Select all

sudo dpkg --remove-architecture i386

thanks for suggestion. can you advise what this command will change in my system? just curious.

User avatar
jojopi
Posts: 3193
Joined: Tue Oct 11, 2011 8:38 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 6:22 pm

The corresponding --add-architecture i386 tells the package management system that you want to be able to install foreign i386 packages alongside native armhf packages, using Debian/Raspbian Multiarch. When I do that, I get very similar errors to those in the first post, and when I remove the architecture again, they go away.

In any case, the command is safe. If you run it on an unbroken Raspbian system it says dpkg: warning: cannot remove non-foreign architecture 'i386'. If you run it on a working Multiarch system it says dpkg: error: cannot remove architecture 'i386' currently in use by the database. If you run it on a native i386 system it says dpkg: warning: cannot remove non-foreign architecture 'i386'. It will not uninstall any packages, and you can always revert it with --add-architecture.

Do you really not remember doing anything that mentioned i386 in the past?

User avatar
rpdom
Posts: 16782
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 7:07 pm

Try

Code: Select all

dpkg --print-architecture
On a clean Pi running Raspbian that should show only "armhf". If it doesn't and you really haven't installed anything using a non-standard method, then your Pi has likely been compromised as others have already said.
Unreadable squiggle

User avatar
jojopi
Posts: 3193
Joined: Tue Oct 11, 2011 8:38 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 7:19 pm

rpdom wrote:
Sun Feb 23, 2020 7:07 pm
dpkg --print-architecture
That just prints the native architecture. You would need --print-foreign-architectures to see if i386 had been added.

hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Sun Feb 23, 2020 8:28 pm

jojopi wrote:
Sun Feb 23, 2020 6:22 pm
The corresponding --add-architecture i386 tells the package management system that you want to be able to install foreign i386 packages alongside native armhf packages, using Debian/Raspbian Multiarch. When I do that, I get very similar errors to those in the first post, and when I remove the architecture again, they go away.

In any case, the command is safe. If you run it on an unbroken Raspbian system it says dpkg: warning: cannot remove non-foreign architecture 'i386'. If you run it on a working Multiarch system it says dpkg: error: cannot remove architecture 'i386' currently in use by the database. If you run it on a native i386 system it says dpkg: warning: cannot remove non-foreign architecture 'i386'. It will not uninstall any packages, and you can always revert it with --add-architecture.

Do you really not remember doing anything that mentioned i386 in the past?

thanks @jojopi for your explanation.

I don't remember doing anything that mentioned i386 in the past. I always take notes of any config changes and and I have found nothing that might have caused any problems, here is an extract of my previous notes relating to any changes I made in the past, in case there was something that cause this issue....

.......................................... begin log ............................................
02/01/2020

https://www.raspberrypi.org/documentati ... teeprom.md

Code: Select all

[email protected]:~ $ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~ $ 

Code: Select all

[email protected]:~ $ sudo apt install rpi-eeprom
Reading package lists... Done
Building dependency tree       
Reading state information... Done
rpi-eeprom is already the newest version (2.4-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[email protected]:~ $ 

Code: Select all

[email protected]:~ $ sudo rpi-eeprom-update
BOOTLOADER: up-to-date
CURRENT: Tue 10 Sep 2019 10:41:50 AM UTC (1568112110)
 LATEST: Tue 10 Sep 2019 10:41:50 AM UTC (1568112110)
VL805: up-to-date
CURRENT: 000137ab
 LATEST: 000137ab
[email protected]:~ $ 
[email protected]

Code: Select all

[email protected]:~ $ vcgencmd bootloader_config
BOOT_UART=0
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=0
[email protected]:~ $ 

Code: Select all

[email protected]:~ $ vcgencmd bootloader_version
Sep 10 2019 10:41:50
version f626c772b15ba1b7e0532a8d50a761b3ccbdf3bb (release)
timestamp 1568112110
[email protected]:~ $ 
....................
02/01/2020

Setting the screen saver/screen blanking...

https://www.raspberrypi.org/documentati ... ensaver.md

On the Console # this doesn't apply to me

If you are using the Raspberry Pi solely on the console (no desktop GUI), you need to set the console blanking. The current setting, in seconds, can be displayed using

Code: Select all

$ cat /sys/module/kernel/parameters/consoleblank
Here, consoleblank is a kernel parameter. In order to be permanently set, it needs to be defined on the kernel command line.

Code: Select all

$ sudo nano /boot/cmdline.txt
Add consoleblank=0 to turn screen blanking off completely, or edit it to set the number of seconds of inactivity before the console will blank. Note the kernel command line must be a single line of text.

On the Raspberry Pi Desktop # I will follow these instructions

By default, the Raspberry Pi Desktop does not have any easy-to-use screensaver software installed, although the screensaver is enabled. Firstly, you should install the X Windows screensaver application.

Code: Select all

$ sudo apt install xscreensaver
This may take a few minutes.

Once this has been installed, you can find the screensaver application under the Preferences option on the main desktop menu. This provides many options for setting up the screensaver, or disabling it completely.

reboot and screen saver now works!

.................................. end of log ................................

the above is the only change I have made since installing Raspbian
jojopi wrote:
Sun Feb 23, 2020 6:22 pm
Try:
Code: Select all

sudo dpkg --remove-architecture i386

I ran the command and then 'update' and it completed with no notification messages. great result! here is the output...

Code: Select all

[email protected]:/ $ sudo dpkg --remove-architecture i386
[email protected]:/ $ 

Code: Select all

[email protected]:/ $ sudo apt update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13.0 MB]
Fetched 13.0 MB in 17s (785 kB/s)                                                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
87 packages can be upgraded. Run 'apt list --upgradable' to see them.
[email protected]:/ $ 

I'm glad it worked out OK. Thanks again for your help, much appreciated.

User avatar
rpdom
Posts: 16782
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Mon Feb 24, 2020 5:50 am

It is still worrying that this happened in the first place. If you did not add the i386 architecture, who did and how?

Do you connect to the internet through a router or directly?
Did you change the default "pi" password from "raspberry" to something else immediately?
Unreadable squiggle

hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Mon Feb 24, 2020 7:14 am

rpdom wrote:
Mon Feb 24, 2020 5:50 am
It is still worrying that this happened in the first place. If you did not add the i386 architecture, who did and how?

Do you connect to the internet through a router or directly?
Did you change the default "pi" password from "raspberry" to something else immediately?

I connect to internet via wireless router.

I haven't changed password from default.

I did notice that when I run update command I am not prompted for a password.

I thought this was unusual as I am always prompted for a password on other Linux distributions.

fruitoftheloom
Posts: 22686
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Mon Feb 24, 2020 9:17 am

hughparker1 wrote:
Mon Feb 24, 2020 7:14 am
rpdom wrote:
Mon Feb 24, 2020 5:50 am
It is still worrying that this happened in the first place. If you did not add the i386 architecture, who did and how?

Do you connect to the internet through a router or directly?
Did you change the default "pi" password from "raspberry" to something else immediately?

I connect to internet via wireless router.

I haven't changed password from default.

I did notice that when I run update command I am not prompted for a password.

I thought this was unusual as I am always prompted for a password on other Linux distributions.

sudo give you elevated privileges, it is extremely common in Linux:

https://linux.die.net/man/8/sudo

https://www.raspberrypi.org/documentati ... pdating.md
Rather than negativity think outside the box !

Asus ChromeBox 3 Celeron is my other computer.

User avatar
joan
Posts: 14848
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Mon Feb 24, 2020 9:23 am

If you didn't add the 386 architecture it follows someone else did. Given that you don't know what else they did the only safe thing to do is to start from scratch with a fresh image. Perhaps this time set a new password before connecting to the internet.

hughparker1
Posts: 14
Joined: Mon Jun 06, 2016 1:06 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Mon Feb 24, 2020 10:13 am

joan wrote:
Mon Feb 24, 2020 9:23 am
If you didn't add the 386 architecture it follows someone else did. Given that you don't know what else they did the only safe thing to do is to start from scratch with a fresh image. Perhaps this time set a new password before connecting to the internet.

I think you are right, I will start from scratch and create new password.

Thanks to everyone for quick responses to my issue, much appreciated.

plugwash
Forum Moderator
Forum Moderator
Posts: 3582
Joined: Wed Dec 28, 2011 11:45 pm

Re: Raspbian update: getting notification 'buster InRelease' doesn't support architecture 'i386'

Thu Mar 05, 2020 3:41 pm

joan wrote:
Mon Feb 24, 2020 9:23 am
If you didn't add the 386 architecture it follows someone else did.
Someone or something.

There are lots of software installation scripts out there intended for debian/ubuntu amd64 systems that will add i386 as a foreign architecture.

Return to “Troubleshooting”