Forgot to RTFM and now getting errors in whonix during update?

42 views
Skip to first unread message

Stumpy

unread,
Mar 13, 2020, 6:05:31 PM3/13/20
to Qubes users
I had tried to install bisq on my whonix ws template and for "some
reason" (which i later found out when i did read the whonix docs) it
wasnt working. I now have the issue that when i try to update i get the
following:

user@host:~$ sudo apt update && sudo apt upgrade
Hit:1 https://packages.riot.im/debian buster InRelease


Hit:2 tor+https://deb.debian.org/debian-security buster/updates
InRelease

Hit:3 https://deb.qubes-os.org/r4.0/vm buster InRelease

Hit:4 https://updates.signal.org/desktop/apt xenial InRelease

Hit:5 tor+https://deb.whonix.org buster InRelease

Hit:6 tor+https://deb.debian.org/debian buster 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
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.2.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)


Its not clear to me how i can clean up things and resolve this error?

Stumpy

unread,
Mar 13, 2020, 6:12:00 PM3/13/20
to qubes...@googlegroups.com
Oh, and a similar but separate issue is on my debian template, i cant
figure if i messed something up or not but when i try to install things
i am getting an qubes-core-agent-passwordless-root error:

user@debian-10:~/QubesIncoming/disp6616$ sudo apt update && sudo apt
upgrade && sudo apt install lutris
Get:1
http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./
InRelease [1,504 B]
Hit:2 https://deb.qubes-os.org/r4.0/vm buster InRelease

Hit:3 https://deb.debian.org/debian buster InRelease

Get:4
http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./
Packages [823 B]
Hit:5 https://deb.debian.org/debian-security buster/updates InRelease
Fetched 2,327 B in 3s (873 B/s)
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
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 30.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.qubes-os.org/r4.0/vm buster/main amd64
qubes-core-agent-passwordless-root amd64 4.0.51-1+deb10u1 [30.3 kB]
Fetched 30.3 kB in 2s (15.8 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
cabextract curl fluid-soundfont-gm fluid-soundfont-gs
gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 lib32gcc1 libc6-i386
libcurl4 libmspack0 mesa-utils p7zip python3-evdev
python3-yaml
Suggested packages:
fluidsynth timidity p7zip-full python-evdev-doc
The following packages will be REMOVED:
qubes-core-agent-passwordless-root
The following NEW packages will be installed:
cabextract curl fluid-soundfont-gm fluid-soundfont-gs
gir1.2-gdesktopenums-3.0 gir1.2-gnomedesktop-3.0 lib32gcc1 libc6-i386
libcurl4 libmspack0 lutris mesa-utils p7zip python3-evdev
python3-yaml
0 upgraded, 15 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 128 MB of archives.
After this operation, 174 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1
http://download.opensuse.org/repositories/home:/strycore/Debian_9.0 ./
lutris 0.5.4 [1,778 kB]
Get:2 https://deb.debian.org/debian buster/main amd64 libmspack0 amd64
0.10.1-1 [49.9 kB]
Get:3 https://deb.debian.org/debian buster/main amd64 cabextract amd64
1.9-1 [35.0 kB]
Get:4 https://deb.debian.org/debian-security buster/updates/main amd64
libcurl4 amd64 7.64.0-4+deb10u1 [331 kB]
Get:5 https://deb.debian.org/debian-security buster/updates/main amd64
curl amd64 7.64.0-4+deb10u1 [264 kB]

Get:6 https://deb.debian.org/debian buster/main amd64 fluid-soundfont-gm
all 3.1-5.1 [120 MB]

Get:7 https://deb.debian.org/debian buster/main amd64 fluid-soundfont-gs
all 3.1-5.1 [2,474 kB]

Get:8 https://deb.debian.org/debian buster/main amd64
gir1.2-gdesktopenums-3.0 amd64 3.28.1-1 [8,700 B]

Get:9 https://deb.debian.org/debian buster/main amd64
gir1.2-gnomedesktop-3.0 amd64 3.30.2.1-2 [29.7 kB]

Get:10 https://deb.debian.org/debian buster/main amd64 libc6-i386 amd64
2.28-10 [2,872 kB]

Get:11 https://deb.debian.org/debian buster/main amd64 lib32gcc1 amd64
1:8.3.0-6 [47.9 kB]

Get:12 https://deb.debian.org/debian buster/main amd64 python3-yaml
amd64 3.13-2 [121 kB]

Get:13 https://deb.debian.org/debian buster/main amd64 p7zip amd64
16.02+dfsg-6 [376 kB]

Get:14 https://deb.debian.org/debian buster/main amd64 mesa-utils amd64
8.4.0-1+b1 [34.9 kB]

Get:15 https://deb.debian.org/debian buster/main amd64 python3-evdev
amd64 1.1.2+dfsg-1+b10 [34.9 kB]

Fetched 128 MB in 8min 30s (251 kB/s)


(Reading database ... 149744 files and directories currently installed.)
Removing qubes-core-agent-passwordless-root (4.0.51-1+deb10u1) ...
Removing user user from group sudo
gpasswd: user 'user' is not a member of 'sudo'
dpkg: error processing package qubes-core-agent-passwordless-root
(--remove):
installed qubes-core-agent-passwordless-root package post-removal
script subprocess returned error exit status 3
Errors were encountered while processing:
qubes-core-agent-passwordless-root

Stumpy

unread,
Mar 15, 2020, 1:29:06 PM3/15/20
to qubes...@googlegroups.com
uhm... thoughts? (Please)

dono...@unseen.is

unread,
Mar 15, 2020, 3:00:56 PM3/15/20
to stu...@posteo.net, qubes-users
I have a similar issue with whonix 15 templates now as well but have done nothing to the templates.
> --
> You received this message because you are subscribed to the Google Groups
> "qubes-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email
> to qubes-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qubes-users/c8e30f00-8b7c-d958-68b3-b5edcc1e9bac%40posteo.net.

Patrick Schleizer

unread,
Mar 16, 2020, 8:34:51 AM3/16/20
to qubes...@googlegroups.com
Issue:

>>> Setting up bisq (1.2.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)


Totally different issue:

>> Removing qubes-core-agent-passwordless-root (4.0.51-1+deb10u1) ...
>> Removing user user from group sudo
>> gpasswd: user 'user' is not a member of 'sudo'
>> dpkg: error processing package qubes-core-agent-passwordless-root
>> (--remove):
>>   installed qubes-core-agent-passwordless-root package post-removal
>> script subprocess returned error exit status 3
>> Errors were encountered while processing:
>>   qubes-core-agent-passwordless-root
>> E: Sub-process /usr/bin/dpkg returned an error code (1)


Please don't mix a totally different issue into the same mailing list
thread.

Patrick Schleizer

unread,
Mar 16, 2020, 8:45:30 AM3/16/20
to qubes...@googlegroups.com
Note:

Bisq package is at that time neither available from packages.debian.org
nor deb.whonix.org. It's a third party package.

Same would happen in Debian. Therefore this isn't a Whonix related issue
either.

Whonix only happens to provide instructions on how to install Bisq
despite some issues which are neither caused by Whonix nor Qubes.

Stumpy:
> I had tried to install bisq on my whonix ws template and for "some
> reason" (which i later found out when i did read the whonix docs) it
> wasnt working.


Please follow the documentation.

> Setting up bisq (1.2.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)


As per documentation.

https://www.whonix.org/wiki/Bisq#xdg-desktop-menu_bug_workaround

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

Cheers,
Patrick

Stumpy

unread,
Mar 16, 2020, 3:53:59 PM3/16/20
to qubes...@googlegroups.com
my apologies.
Reply all
Reply to author
Forward
0 new messages