Add/remove software

Hey there, I installed Synaptic, however it is not fully functional due to Wayland being active. Am I missing something?

Synaptic cannot install applications in PureOS, because wayland does not allow graphical applications being run as root.

You would need to switch to xserver for synaptic to work;
https://tracker.pureos.net/w/pureos/tips/start_gnome_on_xserver/

1 Like

Well I was only trying to use it because I am encountering errors trying to install Bisq… maybe you help me with what I am doing wrong? I am only getting back into linux after years of not using it…

stephen@WalkWitJah:~$ sudo apt install ā€˜/home/stephen/Downloads/Bisq-64bit-1.3.7.deb’
[sudo] password for stephen:
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ā€˜bisq’ instead of ā€˜/home/stephen/Downloads/Bisq-64bit-1.3.7.deb’
bisq is already the newest version (1.3.7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up bisq (1.3.7) …
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–configure):
installed bisq package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)

Instead:

Please try:
$ cd /home/stephen/Downloads/
$ sudo dpkg --install Bisq-64bit-1.3.7.deb

hmmm… lol sorry

stephen@WalkWitJah:~$ cd /home/stephen/downloads/
bash: cd: /home/stephen/downloads/: No such file or directory
stephen@WalkWitJah:~$ dir
Desktop Documents Downloads Music Pictures Public Templates Videos
stephen@WalkWitJah:~$ cd…
cd…: command not found
stephen@WalkWitJah:~$ cd downloads
bash: cd: downloads: No such file or directory
stephen@WalkWitJah:~$ cd downloads
bash: cd: downloads: No such file or directory
stephen@WalkWitJah:~$ cd /downloads
bash: cd: /downloads: No such file or directory
stephen@WalkWitJah:~$ cd /downloads/
bash: cd: /downloads/: No such file or directory
stephen@WalkWitJah:~$ cd /home/stephen/downloads/
bash: cd: /home/stephen/downloads/: No such file or directory

Correct would be:
$ cd /home/stephen/Downloads/ … big D.

ok wow sorry!

now I get this

stephen@WalkWitJah:~$ cd /home/stephen/Downloads/
stephen@WalkWitJah:~/Downloads$ sudo dpkg --install Bisq-64bit-1.3.7.deb
(Reading database … 206522 files and directories currently installed.)
Preparing to unpack Bisq-64bit-1.3.7.deb …
Removing shortcut
xdg-desktop-menu: No writable system menu directory found.
dpkg: warning: old bisq package pre-removal script subprocess returned error exit status 3
dpkg: trying script from the new package instead …
dpkg: … it looks like that went OK
Unpacking bisq (1.3.7) over (1.3.7) …
Setting up bisq (1.3.7) …
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
stephen@WalkWitJah:~/Downloads$

Sorry, but I’m not familiar with Bisq (perhaps PureOS doesn’t like it :thinking:, cannot test on it now). You need to follow this instruction (Hint for Debian users), if helps.

I keep seeing error exit status 3, also says no writable menu directory found. Any idea what or why these errors?

I also noticed when I tried to uninstall synaptic I also get an error and it mentions bisq, as well as 1 not fully installed or removed, is there a way to correct this?

stephen@WalkWitJah:~$ cd /home/stephen/Downloads/
stephen@WalkWitJah:~/Downloads$ sudo dpkg --install Bisq-64bit-1.3.7.deb
(Reading database … 206522 files and directories currently installed.)
Preparing to unpack Bisq-64bit-1.3.7.deb …
Removing shortcut
xdg-desktop-menu: No writable system menu directory found.
dpkg: warning: old bisq package pre-removal script subprocess returned error exit status 3
dpkg: trying script from the new package instead …
dpkg: … it looks like that went OK
Unpacking bisq (1.3.7) over (1.3.7) …
Setting up bisq (1.3.7) …
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
stephen@WalkWitJah:~/Downloads$

I’m on Debian 10 Wayland and this worked for me:

$ sudo dpkg -i Bisq-64bit-1.3.7.deb
Selecting previously unselected package bisq.
(Reading database … XXXXX files and directories currently installed.)
Preparing to unpack Bisq-64bit-1.3.7.deb …
Unpacking bisq (1.3.7) …
Setting up bisq (1.3.7) …
Adding shortcut to the menu

Perhaps you should remove everything:
$ sudo apt purge bisq

download it again from my link above and reinstall it again.

It still gives me the same errors… Is there another way to clear it?

stephen@WalkWitJah:~$ sudo apt purge bisq
[sudo] password for stephen:
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
bisq*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 359 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 206808 files and directories currently installed.)
Removing bisq (1.3.7) …
Removing shortcut
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–remove):
installed bisq package pre-removal script subprocess returned error exit status 3
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)
stephen@WalkWitJah:~$

1 Like

Please download .deb file again from my link above and go back to Wayland (if not already there).

same error, it even shows this error about bisq when i tried reinstalling synaptic… I think it being half installed is causing issues and the purge command isnt fixing it?

stephen@WalkWitJah:~/Downloads$ sudo dpkg -i Bisq-64bit-1.3.7.deb
[sudo] password for stephen:
(Reading database … 206809 files and directories currently installed.)
Preparing to unpack Bisq-64bit-1.3.7.deb …
Removing shortcut
xdg-desktop-menu: No writable system menu directory found.
dpkg: warning: old bisq package pre-removal script subprocess returned error exit status 3
dpkg: trying script from the new package instead …
dpkg: … it looks like that went OK
Unpacking bisq (1.3.7) over (1.3.7) …
Setting up bisq (1.3.7) …
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

tried this also

stephen@WalkWitJah:~/Downloads$ sudo dpkg -P bisq
(Reading database … 206808 files and directories currently installed.)
Removing bisq (1.3.7) …
Removing shortcut
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–purge):
installed bisq package pre-removal script subprocess returned error exit status 3
Errors were encountered while processing:
bisq

Please purge synaptic.

$ sudo apt-get clean && sudo apt-get autoremove
$ sudo apt update && sudo apt upgrade
$ sudo apt-get -f install
$ sudo dpkg --configure -a

Link to above proposal is here.

every command comes back with the same bisq error exit 3

:~/Downloads$ sudo apt-get clean && sudo apt-get autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bisq (1.3.7) …
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–configure):
installed bisq package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~/Downloads$ sudo apt purge synaptic
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libept1.5.0 libgtk2-perl libpango-perl
Use ā€˜sudo apt autoremove’ to remove them.
The following packages will be REMOVED:
synaptic*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 7,998 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 206808 files and directories currently installed.)
Removing synaptic (0.84.6) …
Setting up bisq (1.3.7) …
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–configure):
installed bisq package post-installation script subprocess returned error exit status 3
Processing triggers for desktop-file-utils (0.23-4) …
Processing triggers for mime-support (3.62) …
Processing triggers for hicolor-icon-theme (0.17-2) …
Processing triggers for man-db (2.8.5-2) …
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)
stephen@WalkWitJah:~/Downloads$ sudo apt update && sudo apt upgrade
Hit:1 repo amber InRelease
Hit:2 https://repo.pureos.net/pureos amber-security InRelease
Hit:3 https://repo.pureos.net/pureos amber-updates InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
libept1.5.0 libgtk2-perl libpango-perl
Use ā€˜sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up bisq (1.3.7) …
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–configure):
installed bisq package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~/Downloads$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libept1.5.0 libgtk2-perl libpango-perl
Use ā€˜sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up bisq (1.3.7) …
Adding shortcut to the menu
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–configure):
installed bisq package post-installation script subprocess returned error exit status 3
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~/Downloads$ sudo dpkg --configure -a
:~/Downloads$ sudo apt purge bisq
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libept1.5.0 libgtk2-perl libpango-perl
Use ā€˜sudo apt autoremove’ to remove them.
The following packages will be REMOVED:
bisq*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 359 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 206521 files and directories currently installed.)
Removing bisq (1.3.7) …
Removing shortcut
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package bisq (–remove):
installed bisq package pre-removal script subprocess returned error exit status 3
Errors were encountered while processing:
bisq
E: Sub-process /usr/bin/dpkg returned an error code (1)
:~/Downloads$

Perhaps creating this directory helps:

$ sudo mkdir /usr/share/desktop-directories/

Link to ā€œCreate the directory /usr/share/desktop-directories as rootā€.

1 Like

i can confirm that your proposed solution does work under X …

1 Like

Above workaround is confirmed from https://github.com/bisq-network/bisq/issues/848 itself, but I didn’t test much Bisq on Wayland (if any issues with it). I still think @WalkWitJAh should proceed with:

$ sudo mkdir /usr/share/desktop-directories/
$ sudo dpkg -i Bisq*.deb