# apt.kitware.com arm32 cmake package dependency error

**URL:** https://discourse.cmake.org/t/apt-kitware-com-arm32-cmake-package-dependency-error/4522
**Category:** Site Feedback
**Created:** [November 22, 2021, 10:16am UTC](https://discourse.cmake.org/t/apt-kitware-com-arm32-cmake-package-dependency-error/4522 "2021-11-22T10:16:23Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Guy](https://discourse.cmake.org/user_avatar/discourse.cmake.org/guy/32/1977_2.png) [@Guy](https://discourse.cmake.org/u/Guy)
#### Post date: [November 22, 2021, 10:16am UTC](https://discourse.cmake.org/t/apt-kitware-com-arm32-cmake-package-dependency-error/4522/1 "2021-11-22T10:16:23Z")

</div>

Hello,  
First, sorry for posting here by default, feel free to redirect me if this is not the optimal place.

I’ve been enjoying using .deb cmake packages from [https://apt.kitware.com](https://apt.kitware.com) for a while to get up to date versions of cmake.

For a couple of months I have encountered what seems to be a dependency error in the arm32 cmake package. Here is how I reproduce it :  
On fresh install of ubuntu 20.04.03 32 bits on a raspberry pi 4 I do the following :

```auto
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor - | sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' | sudo tee /etc/apt/sources.list.d/kitware.list
sudo apt update
sudo apt install cmake

```

And the final result is :

```auto
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:
 
The following packages have unmet dependencies:
cmake : Depends: cmake-data (= 3.20.5-0kitware1ubuntu20.04.1) but 3.22.0-0kitware1ubuntu20.04.1 is to be installed
         Recommends: gcc but it is not going to be installed
         Recommends: make
 
E: Unable to correct problems, you have held broken packages

```

Note that this doesn’t happen on a 64 bits arm setup.

The workaround for me is to stick to the last version that this problem was not affecting :

```auto
sudo apt install cmake=3.20.5-0kitware1ubuntu20.04.1 cmake-data=3.20.5-0kitware1ubuntu20.04.1

```

Thanks for your attention.

---

<div class="post-metadata">

### Author: ![brad.king](https://discourse.cmake.org/user_avatar/discourse.cmake.org/brad.king/32/11_2.png) [@brad.king](https://discourse.cmake.org/u/brad.king)
#### Post date: [November 22, 2021, 3:07pm UTC](https://discourse.cmake.org/t/apt-kitware-com-arm32-cmake-package-dependency-error/4522/2 "2021-11-22T15:07:14Z")

</div>

Cc: @kyle.edwards

---

<div class="post-metadata">

### Author: ![kyle.edwards](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/k/65b543/32.png) [@kyle.edwards](https://discourse.cmake.org/u/kyle.edwards)
#### Post date: [November 22, 2021, 6:06pm UTC](https://discourse.cmake.org/t/apt-kitware-com-arm32-cmake-package-dependency-error/4522/3 "2021-11-22T18:06:39Z")

</div>

See [https://gitlab.kitware.com/cmake/cmake/-/issues/22683#note\_1076888](https://gitlab.kitware.com/cmake/cmake/-/issues/22683#note_1076888) for an explanation.

---

<div class="post-metadata">

### Author: ![Guy](https://discourse.cmake.org/user_avatar/discourse.cmake.org/guy/32/1977_2.png) [@Guy](https://discourse.cmake.org/u/Guy)
#### Post date: [November 23, 2021, 9:42am UTC](https://discourse.cmake.org/t/apt-kitware-com-arm32-cmake-package-dependency-error/4522/4 "2021-11-23T09:42:09Z")

</div>

Thanks for the information @kyle.edwards  
Can you provide a link to the mailing list where you reported the problem to OBS ?  
I could maybe report users are affected, hoping to increase the odds of this issue being better prioritized.
