ham5urg | When I debootstrap a new system, many packages are marked as manual installed. AFAIK such a pkg X it is set to manual to not to be removed if no other package depends on X. So X will stay. Is there a way to change this? Any other pkg state I could change to for the first debootstraped packages? | 16:09 |
---|---|---|
fsmithred | ham5urg, I don't think you can get rid of the packages that debootstrap installs. I think they are required. | 17:24 |
gnarface | that's what i thought | 17:29 |
fsmithred | aptitude search ~prequired\ | 17:31 |
fsmithred | without the final backslash! | 17:31 |
fsmithred | aptitude search ~prequired | 17:31 |
fsmithred | will show you a list of required packages | 17:31 |
fsmithred | ok, I checked a coupld debootstrap installs here and it also installs important packages. You can remove those. e.g. apt will let me remove eudev without any other actions, but if I try to remove cron, it wants to install about 20 other things. | 17:40 |
u-amarsh04 | having trouble with a polkitd upgrade on unstable on i386, please excuse the 2 additional lines: | 18:46 |
u-amarsh04 | Failed to open 'polkitd.conf', ignoring: No such file or directory | 18:46 |
u-amarsh04 | dpkg: error processing package polkitd (--install): | 18:46 |
u-amarsh04 | installed polkitd package post-installation script subprocess returned error exit status 1 | 18:46 |
u-amarsh04 | the machine tends to get updated every few days to a week or so apart, and the amd64 machine here had no such upgrade problems, but gets updated several times a day | 18:47 |
rwp | ham5urg, I have not seen debootstrap result in packages marked as manually installed but you can alter that with "apt-mark auto foopackage". | 18:51 |
rwp | ham5urg, You can list packages marked as manually installed with "apt-mark showmanual". | 18:51 |
rwp | ham5urg, A class of packages are registered as "essential" and essential packages are never removed without an explicit code phrase confirming action. | 18:52 |
rwp | u-amarsh04, I do not have polkitd installed but in Unstable problems like that occur semi-frequently. | 18:54 |
rwp | Often if you wait a day it problems will be resolved upstream. | 18:54 |
ham5urg | rwp, yes, today I digged a bit in apt and dpkg package handling and was hoping for something like "pulled_in_by". In the end there are only "manual" and "automatic" marks. | 18:54 |
u-amarsh04 | rwp, I have reported the bug to the Devuan bug tracker, since it is with a Devuan-forked package: polkitd (121+compat0.1-6devuan1) | 18:56 |
rwp | I don't know an easy to tell about dependencies other than "apt-get purge -s foopackage" with -s simulate and then see what it would remove. | 18:56 |
rwp | u-amarsh04, Running Unstable it is good to also have Testing source.list so that when one hits these problems it is easy to return to the previous version still in Testing. https://wiki.debian.org/DebianUnstable#What_are_some_best_practices_for_testing.2Fsid_users.3F | 18:57 |
u-amarsh04 | I have found aptitude to be useful in seeing what will (potentially) be removed or installed and then using control-U to undo it | 18:57 |
rwp | I never became comfortable with aptitude. And aptitude is so very slow that I found it tedious. But if you can get past that then that is good. | 18:58 |
rwp | u-amarsh04, If the install error is only due to the missing conffile, and it is failing in a preinst or postinst script, then here are two more possible workarounds. | 18:59 |
rwp | Use -o DPkg::Options::=--force-confmiss to force installing a missing conffile. | 19:00 |
rwp | Years ago it was argued that removing a local conffile was a local modification and that it must be preserved by policy. (Piffle! That's a terrible result.) | 19:00 |
rwp | And two, If the problem is an upgrade or remove/purge and the script is failing preventing a removal then editing the script to disable it works around those problems. | 19:01 |
rwp | ham5urg, If one looks in the /var/log/apt/history.log file one might find the install/upgrade which pulled in another package. | 19:02 |
u-amarsh04 | rwp I do have testing and stable also listed, there are other problems with the earlier version of the polkitd package, but thanks for your suggestions | 19:04 |
rwp | Good luck! If I have a little time I will try installing it to see if I can reproduce the problem. | 19:08 |
u-amarsh04 | rwp - difference between two systems - problem system had systemd-standalone-sysusers installed | 19:37 |
rwp | That's a new one for me. However I recommend everyone install systemd-standalone-tmpfiles proactively to avoid systemd-tempfiles from getting pulled in. | 19:40 |
u-amarsh04 | package systemd-standalone-sysusers was required by package stunnel | 19:42 |
u-amarsh04 | removing package systemd-standalone-sysusers fixed the problem (all reported in a follow-up to the Devuan bug tracking system) | 19:52 |
rwp | stunnel4 now requires this? OMG! (I have been a previous user of stunnel.) WHY?!! Sigh... | 19:56 |
rwp | I see "systemd | systemd-standalone-sysusers | systemd-sysusers" now. That's new. In Chimaera it is not a dependency. Sigh. | 19:58 |
rwp | I don't see how systemd-standalone-sysusers interacts with polkitd though. polkitd has "adduser | systemd-sysusers" but adduser should be there. | 20:01 |
rwp | Seems like having systemd-standalone-sysusers should be okay. Therefore I wonder at the root cause of the problem. | 20:01 |
u-amarsh04 | polkitd doesn't list systemd-standalone-sysusers but does use the binary /bin/systemd-sysusers if present | 20:02 |
u-amarsh04 | doesn't list systemd-standalone-sysusers as a dependency or suggests or enhanced by | 20:03 |
rwp | Gotcha. polkitd opportunistically uses /bin/systemd-sysusers and if present you are seeing errors from it. That's an unfortunate problem! :-( | 20:09 |
ham5urg | What's the old way of configuring a keyboard? I'm looking at the net and find systemd and redhat ways of configuring. Neither can I use interactive configuring like keyboard-configuration. I need a scriptable way. I installed console-data, do I need more? Which config-files do I need to create? /etc/default/keyboard ? | 21:57 |
rrq | ham5urg: I'm using setxkbmap to toggle between us and se | 22:05 |
ham5urg | That's tough to change the layout regular :) | 22:06 |
rrq | yeah; I need a special patch around sleep-resume screenlock, in case my password includes mapped keys | 22:14 |
fsmithred | ham5urg, dpkg-reconfigure keyboard-configuration | 22:25 |
fsmithred | to script it, look at the config file and have the script edit it directly | 22:25 |
fsmithred | in /etc/default/keyboard | 22:26 |
ham5urg | fsmithred, can I circumvent calling dpkg-reconfigure? | 22:27 |
ham5urg | I created /etc/default/keyboard but it looks like it is not used by the boot process. | 22:30 |
ham5urg | As long as keyboard-configuration is not installed | 22:32 |
ham5urg | Do I have to link a keymap from /usr/share/keymaps/... to somewhere ? | 22:33 |
fsmithred | I don't know about the links | 22:34 |
ham5urg | loadkeys /usr/share/keymaps/i386/.../kmap.gz does the magic temporaly. But which script does invoke it at boot time? And how to configure? | 22:41 |
Centurion_Dan | Has there been much talk about thunderbird upgrades to v102.x.x breaking things? I had to revert to v91 because it broke most of my extensions and a bunch of other integrations... | 22:43 |
ham5urg | https://manpages.ubuntu.com/manpages/bionic/en/man1/setupcon.1.html is using /etc/default/keyboard. | 22:46 |
fsmithred | Centurion_Dan, not many people are using T'bird. 102.3 lost some of my filters. | 22:49 |
fsmithred | I don't think I have any extensions in thunderbird. | 22:49 |
fsmithred | ham5urg, /etc/init.d/console-setup.sh runs setupcon | 22:56 |
fsmithred | uh, it tests for setupcon. Doesn't look like it runs it. | 22:58 |
ham5urg | fsmithred, thanks. | 23:23 |
ham5urg | What I found is that console-setup is dependent on keyboard-configuration. | 23:24 |
fsmithred | are you able to do what you want? | 23:24 |
ham5urg | This dependency is a minor bug in my eyes at this moment. | 23:24 |
ham5urg | keyboard-configuration is interactive which should be optional, at least in my case. | 23:25 |
ham5urg | DEBIAN_FRONTEND=noninteractive apt install console-setup | 23:25 |
ham5urg | did the trick, even when it pulled in keyboard-configuration. | 23:25 |
ham5urg | Nevertheless deb-distributions are hard to script. Have you anytime used nix-os or guix? | 23:58 |
fsmithred | all my scripting has been done in deb-based distros | 23:58 |
ham5urg | There are a number of interactive packages AFAIK. | 23:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!