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

Cannot install .deb on Qubes / Debian VM #5408

Closed
MaxHillebrand opened this issue Apr 14, 2021 · 11 comments
Closed

Cannot install .deb on Qubes / Debian VM #5408

MaxHillebrand opened this issue Apr 14, 2021 · 11 comments

Comments

@MaxHillebrand
Copy link

Description

$ sudo dpkg -i Bisq-64bit-1.6.2.deb 
Selecting previously unselected package bisq.
(Reading database ... 134470 files and directories currently installed.)
Preparing to unpack Bisq-64bit-1.6.2.deb ...
Unpacking bisq (1.6.2) ...
Setting up bisq (1.6.2) ...
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (--install):
 installed bisq package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
 bisq

Version

1.6.2

Steps to reproduce

Download package, install with dpkg or apt.

Device or machine

Qubes 4 operating system, in a Debian 10 virtual machine.

@boring-cyborg
Copy link

boring-cyborg bot commented Apr 14, 2021

Thanks for opening your first issue here!

Be sure to follow the issue template. Your issue will be reviewed by a maintainer and labeled for further action.

@ripcurlx
Copy link
Contributor

We are changing the packaging pipeline in #4242 which will be merged soon, but I'm not sure if it will fix this issue.

@MaxHillebrand
Copy link
Author

Awesome, thanks @ripcurlx, please let me know when I can test a new package and give feedback.

@ripcurlx
Copy link
Contributor

@MaxHillebrand It is not merged into master, but this is the last testing step before it is merged.
Could you give the deb bundle a shot you can find here: https://www.dropbox.com/sh/bos203ga9bq0akp/AAB6j5DPAINCPbCP9vyRB3n-a?dl=0

This is based on the v1.6.2 release compiled with Java 10, latest JavaFX library and bundled with a current Java 15 JRE. So in the best (normal) case it should behave as before, but faster or at least more reliable.

Please make a backup of your data directory before testing the linux binary. I've used it on macOS for quite some time, but I only did some smoke tests on Linux so far.

@ripcurlx
Copy link
Contributor

You'll find the required signature in the directory as well.

@MaxHillebrand
Copy link
Author

MaxHillebrand commented Apr 20, 2021

tested Bisq-64bit-1.6.2.deb af9e48facc0abea93bb35c09978c445e165b553d1716f8e8a829700079374ee3

getting the same error

$ sudo dpkg -i QubesIncoming/disp8789/Bisq-64bit-1.6.2.deb 
Selecting previously unselected package bisq.
(Reading database ... 134470 files and directories currently installed.)
Preparing to unpack .../disp8789/Bisq-64bit-1.6.2.deb ...
Unpacking bisq (1.6.2-1) ...
Setting up bisq (1.6.2-1) ...
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (--install):
 installed bisq package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
 bisq

I'm on a disposable debian 10 VM in Qubes 4, I can reproduce in multiple VMs with different templates.

Might this be some Qubes specific issue?

@ripcurlx
Copy link
Contributor

hmm - I'm not a Linux expert, but did you give it a shot manually creating the desktop directories (https://askubuntu.com/questions/405800/installation-problem-xdg-desktop-menu-no-writable-system-menu-directory-found)?

sudo mkdir /usr/share/desktop-directories/

@ripcurlx
Copy link
Contributor

And running the installer afterwards

@MaxHillebrand
Copy link
Author

~$ sudo mkdir /usr/share/desktop-directories/
~$ sudo dpkg -i QubesIncoming/disp8167/Bisq-64bit-1.6.2.deb 
Selecting previously unselected package bisq.
(Reading database ... 134331 files and directories currently installed.)
Preparing to unpack .../disp8167/Bisq-64bit-1.6.2.deb ...
Unpacking bisq (1.6.2-1) ...
Setting up bisq (1.6.2-1) ...

It seems to have succeeded.

But what's the command to start bisq from cli?

@ripcurlx
Copy link
Contributor

~$ sudo mkdir /usr/share/desktop-directories/
~$ sudo dpkg -i QubesIncoming/disp8167/Bisq-64bit-1.6.2.deb 
Selecting previously unselected package bisq.
(Reading database ... 134331 files and directories currently installed.)
Preparing to unpack .../disp8167/Bisq-64bit-1.6.2.deb ...
Unpacking bisq (1.6.2-1) ...
Setting up bisq (1.6.2-1) ...

It seems to have succeeded.

But what's the command to start bisq from cli?

I think /opt/Bisq/Bisq should work.

@MaxHillebrand
Copy link
Author

/opt/bisq/bin/Bisq did the magic, it works well now, thanks for the help @ripcurlx!

Even recognizes it's running in Qubes.
screenshot_20210420_171753

And https://bisq.wiki/Running_Bisq_on_Qubes actually has a reference to create the desktop-directories.
screenshot_20210420_171928

👏 READ 👏 THE 👏 FUCKING 👏 DOCS 👏 😄

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

No branches or pull requests

2 participants