Linux ARM deb packages have the wrong architecture #19

Open
opened 2026-01-29 16:27:27 +00:00 by claunia · 0 comments
Owner

Originally created by @markusr on GitHub (Dec 21, 2017).

I want to create a deb package for ARM processor. (Raspbian - Raspberry PI)

$ dotnet deb -f netcoreapp2.0 -r linux-arm -c Release

after copying to the target and trying to install, I get the following error

pi@raspberrypi:~ $ sudo dpkg -i GPIOExample.1.0.0.linux-arm.deb                                                                                                      
dpkg: error processing archive GPIOExample.1.0.0.linux-arm.deb (--install):                                                                                          
 package architecture (amd64) does not match system (armhf)                                                                                                          
Errors were encountered while processing:                                                                                                                            
 GPIOExample.1.0.0.linux-arm.deb   

It seems that the package architecture is not set correctly.

Originally created by @markusr on GitHub (Dec 21, 2017). I want to create a deb package for ARM processor. (Raspbian - Raspberry PI) ``` $ dotnet deb -f netcoreapp2.0 -r linux-arm -c Release ``` after copying to the target and trying to install, I get the following error ``` pi@raspberrypi:~ $ sudo dpkg -i GPIOExample.1.0.0.linux-arm.deb dpkg: error processing archive GPIOExample.1.0.0.linux-arm.deb (--install): package architecture (amd64) does not match system (armhf) Errors were encountered while processing: GPIOExample.1.0.0.linux-arm.deb ``` It seems that the package architecture is not set correctly.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/dotnet-packaging#19