=== gurupras- is now known as guruprasad | ||
ahasenack | juliank: hi, wondering here if apt ever had the concept of "dynamic" dependencies, or if this was ever thought of | 12:57 |
---|---|---|
ahasenack | for example, I'd like a package to depend on `linux-tools-$(uname -r)` | 12:57 |
ahasenack | so it would match the running kernel, instead of pulling in the latest linux-tools (which would be the case if I depended on linux-tools-generic) | 12:57 |
ahasenack | because the latest linux-tools-generic would then also pull in the latest kernel, and I don't want to have to reboot | 12:58 |
ahasenack | or can you see some other way to solve this? | 12:58 |
rbasak | I'd appreciate a review of my proposed revert of a regression apparmor SRU in bug 2072811 please. https://paste.ubuntu.com/p/s2rNHz4rWd/ is the diff against the target of the revert. Note the "really" and rm_conffile entries. | 14:54 |
-ubottu:#ubuntu-devel- Bug 2072811 in apparmor (Ubuntu Noble) "Apparmor: New update broke flatpak with `apparmor='DENIED'`" [Critical, Triaged] https://launchpad.net/bugs/2072811 | 14:54 | |
=== cplfidgvnekaibts is now known as papmqjazclroccek | ||
=== papmqjazclroccek is now known as georgiag | ||
juliank | ahasenack: That's way more dynamic than I thought | 15:17 |
juliank | ahasenack: But you should just depend on linux-tools | 15:18 |
ahasenack | for sure I wouldn't expect exactly a shell expansion in there | 15:18 |
ahasenack | but perhaps a variable | 15:18 |
juliank | This will not be super helpful and install linux-tools-aws for you | 15:18 |
ahasenack | linux-tools is provided by tons of packages | 15:18 |
juliank | If you don't have one installed | 15:18 |
ahasenack | yeah | 15:18 |
ahasenack | the general theme seems to be depending on the running kernel, not the available one(s) | 15:19 |
juliank | We can make it resolve kernel packages specially | 15:19 |
juliank | Or we can consider Enhances when looking at the providers | 15:20 |
juliank | But linux-tools-$flavour doesn't have Enhances: linux-image-$flavour yetz | 15:20 |
ahasenack | even if I'm on the kernel of the same flavor, the other thing that a dependency on, say, linux-tools-generic, would do, is update the kernel | 15:21 |
juliank | Also linux-generic why does it have Recommends: linux-tools-<version>-generic; it should have a Recommends on the matching flavour package | 15:21 |
ahasenack | i.e., again it would not install the right package for my running kernel | 15:21 |
juliank | ahasenack: Yes but that's what I want | 15:21 |
ahasenack | I don't want to have to reboot to be able to do "import perf" in python | 15:22 |
juliank | I do not want to make it depend on the current kernel | 15:22 |
juliank | I do not want your dependencies to become broken just because you reboot into a different kernel | 15:22 |
ahasenack | sure | 15:22 |
ahasenack | the dependency would be dynamic | 15:23 |
ahasenack | but of course I have not thought it through | 15:23 |
ahasenack | I'm facing this problem now, and wondering how to address it | 15:23 |
=== dbungert1 is now known as dbungert |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!