On 2020-03-18 11:30, Stumpy wrote:
On 2020-03-17 11:38, unman wrote:
On Mon, Mar 16, 2020 at 04:16:57PM -0400, Stumpy wrote:
Hi, my previous post was perhaps inappropriate in that i mixed posts so i am
repostin gjust about this one issue.

I am now getting the following when i try to update or install anything (in
this case lutris)

user@gaming:~$ sudo apt-get install lutris
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 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/128 MB of archives.
After this operation, 174 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(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
E: Sub-process /usr/bin/dpkg returned an error code (1)


As a result it seems i cant update and i know i cant install things (and the
error itself looks, troubling?)

Thanks in advance

This is a known issue, fixed in updated templates.
The problem (and solution) is clearly stated -

Removing user user from group sudo
gpasswd: user 'user' is not a member of 'sudo'

If you *do* want to remove that package, then (if necessary) create the
group 'sudo' , add 'user' to it, and then remove the package.
sudo su -
(addgroup sudo)
usermod -a -G sudo user
apt remove qubes-core-agent-passwordless-root


The problem/solution is a bit fuzzy to me, sorry.

Though based on your saying it was fixed in the updated templates i tried to just start over with:

[frank@dom0 ~]$ sudo qubes-dom0-update --action=reinstall qubes-template-debian-10

then did a:

  sudo apt update && sudo apt upgrade

which went well but then when i tried to install some packages i am back where i started with the error like:

user@debian-10:~$ sudo apt-get install mediainfo
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
   libmediainfo0v5 libmms0 libtinyxml2-6a libzen0v5
Suggested packages:
   mediainfo-gui
The following packages will be REMOVED:
   qubes-core-agent-passwordless-root
The following NEW packages will be installed:
   libmediainfo0v5 libmms0 libtinyxml2-6a libzen0v5 mediainfo
0 upgraded, 5 newly installed, 1 to remove and 6 not upgraded.
1 not fully installed or removed.
Need to get 2,246 kB of archives.
After this operation, 7,578 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.debian.org/debian buster/main amd64 libmms0 amd64 0.6.4-3 [34.6 kB] Get:2 https://deb.debian.org/debian buster/main amd64 libtinyxml2-6a amd64 7.0.0+dfsg-1 [29.3 kB] Get:3 https://deb.debian.org/debian buster/main amd64 libzen0v5 amd64 0.4.37-1 [102 kB] Get:4 https://deb.debian.org/debian buster/main amd64 libmediainfo0v5 amd64 18.12-2 [2,003 kB] Get:5 https://deb.debian.org/debian buster/main amd64 mediainfo amd64 18.12-2 [77.1 kB]
Fetched 2,246 kB in 12s (194 kB/s)
(Reading database ... 109007 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
E: Sub-process /usr/bin/dpkg returned an error code (1)


I do not want to remove qubes-corepasswordless-root, i am guessing that is the known issue that was reffered to but the solution is less than clear to me as reinstalling then updateing/upgrading the template did not work.

apologies


Thought about trying

sudo apt update && sudo apt dist-upgrade

seemed to work without a hitch, but then tried to install an app again and got the same thing.

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/45f9f99b-47bd-92b8-0a0d-2f3e3383a929%40posteo.net.

Reply via email to