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