Skip to content

Debian ARM64 Dependency #84

Closed
Closed

Description

@tinya

ISSUE TYPE:

  • Bug Report

OS / ENVIRONMENT:

  • Operating system: Ubuntu LTS 22.04.3 LTS Guest (VM) running on M2 Mac Sonoma 14.0 Host
  • De or Wm: GNOME
  • XClicker version: 1.4.0

STEPS TO REPRODUCE:

tinya@ubuntu:~$ sudo apt-get install ~/Downloads/xclicker_1.4.0_aarch64.deb 
[sudo] password for tinya: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'xclicker:aarch64' instead of '/home/tinya/Downloads/xclicker_1.4.0_aarch64.deb'
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:
 xclicker:aarch64 : Depends: libx11-6:aarch64 but it is not installable
                    Depends: libxi6:aarch64 but it is not installable
E: Unable to correct problems, you have held broken packages.

EXPECTED BEHAVIOUR:

Successful installation of .deb file.

ACTUAL BEHAVIOUR:

Installation attempt will throw unmet dependency errors.

Additional information (optional):

Not a Linux expert by any means but this appears to stem from Debian architecture nomenclature: https://wiki.debian.org/SupportedArchitectures
https://wiki.debian.org/Arm64Port#Nomenclature_and_defines

Architecture specified in the control file:

Architecture: %ARCH%

Architecture: aarch64

To get this to install correctly, I unpackaged the .deb and control archive, edited the architecture to arm64, and repackaged the files:

tinya@ubuntu:~/Downloads$ cat control | grep Arch
Architecture: arm64
tinya@ubuntu:~/Downloads$ tar --ignore-failed-read -cvJf control.tar.xz control
tinya@ubuntu:~/Downloads$ ar rcs xclicker_1.4.0_arm64.deb debian-binary control.tar.xz data.tar.xz 

Activity

  1. robiot commented on Sep 28, 2023

    @robiot
    Owner

    So the problem is that debian doesnt recognize aarch64 and arm64 as the same thing?. Should we just change aarch64 to arm64?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions