Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Unable to locate package for ARM processor?
Unable to locate package for ARM processor?
I am trying to install an important package for cross-compiling from PC to ARM processors.
Package is clearly available on the Debian's site, i found it here: https://packages.debian.org/stretch/arm ... v/download
This is a command I am using from terminal:
sudo apt-get install libicu-dev:armhf
But I get response:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libicu-dev:armhf
Why it can't locate package libicu-dev:armhf when I can clearly find it on Debian's site?
I found on google that Gdebi desktop application should be able to help me. I installed it but no luck. Gdebi gave the answer: "Error: Wrong architecture 'armhf' -- Run dpkg --add-architecture to ad it and update afterward". I've run "sudo dpkg --add-architecture armhf" before all this happens and didn't get any errors.
I download the package "libicu-dev_57.1-6+deb9u2_armhf.deb" directly to my hard drive. And I did this command in Terminal:
sudo gdebi libicu-dev_57.1-6+deb9u2_armhf.deb
Output was:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libicu57 (= 57.1-6+deb9u2)
Do I still have any options to try or is this package completely uninstallable?
Package is clearly available on the Debian's site, i found it here: https://packages.debian.org/stretch/arm ... v/download
This is a command I am using from terminal:
sudo apt-get install libicu-dev:armhf
But I get response:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libicu-dev:armhf
Why it can't locate package libicu-dev:armhf when I can clearly find it on Debian's site?
I found on google that Gdebi desktop application should be able to help me. I installed it but no luck. Gdebi gave the answer: "Error: Wrong architecture 'armhf' -- Run dpkg --add-architecture to ad it and update afterward". I've run "sudo dpkg --add-architecture armhf" before all this happens and didn't get any errors.
I download the package "libicu-dev_57.1-6+deb9u2_armhf.deb" directly to my hard drive. And I did this command in Terminal:
sudo gdebi libicu-dev_57.1-6+deb9u2_armhf.deb
Output was:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libicu57 (= 57.1-6+deb9u2)
Do I still have any options to try or is this package completely uninstallable?
Last edited by COROVICD on 2018-07-09 16:40, edited 1 time in total.
Re: Unable to locate package for ARM processor?
You have to enable multiarch support: https://wiki.debian.org/Multiarch/
Re: Unable to locate package for ARM processor?
Can somebody please be more specific? That Multiarch is a something ultra complicated. I just need a small part to compile for ARM processors.
I can't find multiarch package. Is there a simple set of instructions that I need to follow?
I can't find multiarch package. Is there a simple set of instructions that I need to follow?
- GarryRicketson
- Posts: 5644
- Joined: 2015-01-20 22:16
- Location: Durango, Mexico
Re: Unable to locate package for ARM processor?
I notice the wiki points to this, did you read it ? :
https://wiki.debian.org/Multiarch/HOWTO
The above links is about the most simple set of instructions I know of.
https://wiki.debian.org/Multiarch/HOWTO
I don't see in your post that you did run 'apt-get update' after the other things you needed to do.Note that nothing will really change until you do an
apt-get update
to update the available package lists.
all you show is that you ran the --add-architecture .I found on google that Gdebi desktop application should be able to help me. I installed it but no luck. Gdebi gave the answer: "Error: Wrong architecture 'armhf' -- Run dpkg --add-architecture to ad it and update afterward". I've run "sudo dpkg --add-architecture armhf" before all this happens and didn't get any errors.
The above links is about the most simple set of instructions I know of.
"What we expect you have already Done"
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
==========
Old Website
======================
For the Birds
==================
What Does a Parrot Know About PTSD?
Re: Unable to locate package for ARM processor?
Thank for the input. I didn't see instructions bellow.
Maybe its just frustration. I reinstalled Debian not less than 10 times. After reading and watching content about Multiarch it appeared as something really complicated that can create lots of mess if setup wrongly and destroy all the work I've done so far. And I am a rookie who barely understands what he's doing.
Maybe its just frustration. I reinstalled Debian not less than 10 times. After reading and watching content about Multiarch it appeared as something really complicated that can create lots of mess if setup wrongly and destroy all the work I've done so far. And I am a rookie who barely understands what he's doing.
Re: Unable to locate package for ARM processor?
For me it was not all complicated, alttough I needed i386 support to my amd64 Debian.COROVICD wrote:Thank for the input. I didn't see instructions bellow.
Maybe its just frustration. I reinstalled Debian not less than 10 times. After reading and watching content about Multiarch it appeared as something really complicated that can create lots of mess if setup wrongly and destroy all the work I've done so far. And I am a rookie who barely understands what he's doing.
You said you are trying install armhf package, so as root:
Code: Select all
dpkg --add-architecture armhf
Code: Select all
apt update
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 132 times
Re: Unable to locate package for ARM processor?
It almost worked, but plot gets thicker. I did:
sudo apt-get update
than I tried this:
dejan@Debian940:~/Downloads$ sudo gdebi libicu-dev_57.1-6+deb9u2_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: gcc-6-base:armhf libc6:armhf libgcc1:armhf libicu57:armhf libstdc++6:armhf
and it failed because it needs all the above packages? So I did:
sudo apt-get install gcc-6-base:armhf
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
sudo apt-get update
than I tried this:
dejan@Debian940:~/Downloads$ sudo gdebi libicu-dev_57.1-6+deb9u2_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: gcc-6-base:armhf libc6:armhf libgcc1:armhf libicu57:armhf libstdc++6:armhf
and it failed because it needs all the above packages? So I did:
sudo apt-get install gcc-6-base:armhf
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Unable to locate package for ARM processor?
Did you leave the terminal with gdebi open? Only one process can use apt at a time.
Also, gdebi automatically fetches and installs missing dependencies for you, so I don't know why you're making it more complicated than it needs to be.
Also, gdebi automatically fetches and installs missing dependencies for you, so I don't know why you're making it more complicated than it needs to be.
MX Linux packager and developer
Re: Unable to locate package for ARM processor?
COROVICD wrote:It almost worked, but plot gets thicker. I did:
sudo apt-get update
than I tried this:
dejan@Debian940:~/Downloads$ sudo gdebi libicu-dev_57.1-6+deb9u2_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
Requires the installation of the following packages: gcc-6-base:armhf libc6:armhf libgcc1:armhf libicu57:armhf libstdc++6:armhf
and it failed because it needs all the above packages? So I did:
sudo apt-get install gcc-6-base:armhf
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
If you now have enabled multiarch, you don't need the downloaded libicu-dev, just install it with apt or apt-get, and it pulls dependencies right.
Code: Select all
apt install libicu-dev:armhf