> On 16. Mar 2020, at 21:17, Stumpy <[email protected]> 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)
If you remove qubes-core-agent-passwordless-root you can’t do sudo anymore without quite a bit more configuration. Therefore, as soon as apt-get removes that package the post-install-scripts might fail. You should be able to get around that by starting a root user terminal in the effected qube by executing „qvm-run -u root <qube-name> xterm“ in a dom0 terminal. In the resulting terminal window do „apt-get install qubes-core-agent-passwordless-root“ to fix your problem (or apt-get remove ... if you actually DO want to remove the package). Regards, Frank -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/30264-1584441539-286408%40sneakemail.com.
