libera/#devuan-dev/ Friday, 2021-01-01

parazydHappy new year <301:25
Xenguy_Hoppy New Year 8 -D01:26
masonLeePen: Random thought crossed my mind. Installation depends on relationships as specified by the repository, even if they're embedded in the packages themselves. It's the repodata that specifies what will be installed. What if we were to shim the Devuan overlays data into repository metadata and leave the Debian packages intact? I haven't thought through the ramifications but the idea popped into my03:39
masonhead.03:39
masons/overlay/override/03:39
masonbbiab anyway03:39
LeePenmason: Interesting idea.11:14
LeePenI think changing the metadata in the Pacakges files might work. I have a feeling that once a package is installed, apt/dpkg uses the dependencies from the embedded control file.11:16
parazydmason, LeePen: What are you trying to achieve with modifying metadata?12:17
masonparazyd: We're looking for a way to have Devuan override packages automatically installed along with their base Debian packages.16:06
masonparazyd: The restriction is that we obviously can't change the Debian packages, but maybe this would be enough. Be interesting to understand the implications. Would an "apt --purge auto-remove" then strip the override packages?16:07
parazydFor example?16:07
parazydI don't understand it still16:07
masonLeePen: I wonder if a package can mark itself as manual on installation somehow.16:08
masonparazyd: LeePen put up a couple examples in yesterday's meeting. I'll find the links.16:08
masonparazyd: https://git.devuan.org/LeePen/debian-config-override https://hindley.org.uk/~mark/debian16:09
fsmithredparazyd, one example is pulseaudio, which needs one line in the config file either commented or uncommented for you to get sound16:10
masonLeePen: If marking as manual works (or if there's a better idea) then the question might become, what happens on upgrade? Whose dependencies are used? I'd assume those from the repository, but it's worth a cogitate.16:10
parazydYou can write apt hooks16:11
fsmithredso rather than fork pulseaudio, we can make a dpkg-divert package to substitude the config file16:11
parazydIt is possible, yes16:12
parazydThis: https://debathena.mit.edu/config-package-dev/16:13
masonparazyd: The interesting question is how to give them to a user who wants a package but doesn't know they need a Devuan override.16:14
parazydMaybe create apt hooks and inform them16:14
masonparazyd: Create apt hooks where?16:15
masonparazyd: This is for Debian packages we don't want to fork.16:15
parazydOn the system, with some config package (perhaps devuan-baseconf)16:15
parazydhttps://www.cyberciti.biz/faq/debian-ubuntu-linux-hook-a-script-command-to-apt-get-upgrade-command/16:16
fsmithredshit, we finally got rid of devuan-baseconf16:16
parazydfsmithred: Doesn't matter, could be anything really16:16
parazydThen with this said hook you can check if $package is installed and inform the user accordingly.16:16
masonparazyd: Hm. Is this a hook like what apt-listchanges uses?16:17
parazydI'm not sure what apt-listchanges uses16:17
parazydBut you can set this up however you want (see link above)16:17
masonYeah, reading that now.16:18
parazydWhatever you do, don't change existing package metadata as it breaks reproducibility and reproducible builds.16:18
parazydLike, changing the control file of the .deb or something.16:18
masonHm, the hook would need to modify the request in-flight if we do it that way, to be maximally effective.16:19
parazydWhat?16:19
masonHm, the hook would need to modify the request in-flight if we do it that way, to be maximally effective.16:19
masonBut yeah, we don't want to change the actual Debian package.16:19
masonHence the notion of changing repository metadata.16:19
parazydAnything that you do in these contexts should never be silent16:20
parazydAs it makes debugging difficult16:20
masonA pre- or post-command action that just prints a few package names to screen along with a note that they're needed will probably be ignored by most folks, and it'd probably have to sanely interact with graphical package managers - not sure what those do.16:21
masonI think changing dependencies in the respository is the cleanest idea so far, but this is I want it hashed out in public.16:21
parazydWhat repository?16:22
masonDevuan's /merged repository, in this case.16:24
parazydChanging the Packages.gz files?16:25
parazydAnd package metadata in them?16:25
parazydScary16:25
masonYes.16:25
parazydDoesn't sound like a good idea at all16:25
masonSure it does.16:26
parazydWhy?16:26
masonAnyway, you should come to the meetings. We were struggling to find a clean solution yesterday.16:26
masonThis one occurred to me well after the meeting ended.16:26
parazydWe can speak about this here as well.16:26
masonWhy is it a good idea? Because without it, users will be installing known-broken systems. We're seeking a way to prevent this automatically.16:27
parazydThen fork the entire package.16:27
masonExcellent. That *is* the better idea. Which packages are you adopting?16:27
parazydModifying repository metadata without any reference is crazy and makes repositories nondeterministic.16:28
masonAs you saw in the meeting notes, that's just what I suggested we might have to do. I'm glad we're on the same page.16:28
parazydmason: I'll adopt any package necessary. I'll go as far as writing software to keep track with changes automatically.16:28
masonNah, it's quite a reasonable idea. But it wants testing.16:28
parazydJust give me a list.16:28
masonCome to the meetings and voice your opinion. I think we need to plan on forking packages.16:29
parazydI can voice my opinion here as well16:29
parazydAs I am16:29
parazydAt least it's more public, if anything.16:29
masonWe publish the meeting notes. They're quite public.16:30
parazydNot my point16:30
parazydfsmithred: Did you already do any config-package-dev override packages?16:31
fsmithredthere's cryptsetup-modified-functions that diverts /lib/cryptsetup/cryptdisk-functions16:32
fsmithredfor beowulf16:32
parazydFrom antix?16:32
fsmithredyeah, I forked it16:32
parazydAnd did you look how this gets installed in antix?16:33
fsmithredno, I didn't16:33
masonHow does Antix do it?16:34
parazydWe can ask them16:34
fsmithredyeah, I always assumed it required a manual install16:35
LeePenparazyd: Yes my POC package  https://git.devuan.org/LeePen/debian-config-override uses config-package-dev17:45
fsmithredI couldn't get the screen reader to work on the desktop or lightdm screen. I upgraded to chimaera, and it just works.21:55
golinuxThat's good news.  Have to talked to Gregory?22:02
fsmithredno22:03

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!