Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation fails with dpkg error on fresh Ubuntu 24.04 #223

Closed
Blinkuu opened this issue Jul 19, 2024 · 4 comments
Closed

Installation fails with dpkg error on fresh Ubuntu 24.04 #223

Blinkuu opened this issue Jul 19, 2024 · 4 comments

Comments

@Blinkuu
Copy link

Blinkuu commented Jul 19, 2024

I recently installed Ubuntu 24.04 on a 2021 MacBook Pro running an M1 Pro chip. I'm running this setup on UTM and followed all instructions.

The installation fails with Sub-process /usr/bin/dpkg returned an error code (1) error

lukasz@ubuntuvm:~$ wget -qO- https://omakub.org/install | bash
________                  __        ___.
\_____  \   _____ _____  |  | ____ _\_ |__
 /   |   \ /     \__   \ |  |/ /  |  \ __ \
/    |    \  Y Y  \/ __ \|    <|  |  / \_\ \
\_______  /__|_|  (____  /__|_ \____/|___  /
        \/      \/     \/     \/         \/

=> Omakub is for fresh Ubuntu 24.04 installations only!

Begin installation (or abort with ctrl+c)...
[sudo] password for lukasz: 
Cloning stable Omakub...
Cloning into '/home/lukasz/.local/share/omakub'...
remote: Enumerating objects: 2385, done.
remote: Counting objects: 100% (1269/1269), done.
remote: Compressing objects: 100% (526/526), done.
remote: Total 2385 (delta 916), reused 878 (delta 730), pack-reused 1116
Receiving objects: 100% (2385/2385), 7.47 MiB | 847.00 KiB/s, done.
Resolving deltas: 100% (1403/1403), done.
Installation starting...
Get ready to make a few choices...
E: Sub-process /usr/bin/dpkg returned an error code (1)
@Blinkuu
Copy link
Author

Blinkuu commented Jul 19, 2024

It seems to be an error with the gum package.

lukasz@ubuntuvm:~/.local/share/omakub$ bash ./install.sh
Get ready to make a few choices...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'gum:amd64' instead of './gum.deb'
The following NEW packages will be installed:
  gum:amd64
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/4,525 kB of archives.
After this operation, 27.5 MB of additional disk space will be used.
Get:1 /tmp/gum.deb gum amd64 0.14.1 [4,525 kB]
dpkg: error processing archive /tmp/gum.deb (--unpack):
 package architecture (amd64) does not match system (arm64)
Errors were encountered while processing:
 /tmp/gum.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

@bestagi
Copy link

bestagi commented Jul 19, 2024

Omakub do not support arm64 chip. It's till in a development phase.

see this pull request

@IbrahimTanyalcin
Copy link

IbrahimTanyalcin commented Jul 23, 2024

It is because mac m1's are arm64. I wanted to try it on my raspi and did this PR.
It shoud work. Check for omakub_report.log on the root dir to see what failed. But all crucial things (extentions, themes, code, neovim, alacricity etc.) should work.

@dhh
Copy link
Member

dhh commented Jul 25, 2024

Yeah, we're not compatible with ARM chips just yet. The PR linked tracks progress on that.

@dhh dhh closed this as completed Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants