On 2025-12-28 at 03:32, didier gaumet wrote: > Hello, > > do you have an example of a recommanded package that is not upgraded > too while the package that recommands it do specifify an upgraded > version?
Plenty of them. To pick just one example: in current testing, tellico and tellico-doc are both available at version 4.1.4-2, but when I ran $ apt-get install tellico (or rather, a command line listing multiple packages all already marked as manually installed, with tellico being one of them), tellico was upgraded to that version but tellico-doc was left behind at version 4.1.3-1. I may, however, have mis-identified the problem regardless. As I reviewed more closely for specific examples, I found that one of what I thought was an example is actually not a Recommends; and instead an unversioned dependency. In particular, libvirt-daemon-system Depends: libvirt-daemon-driver-qemu, which Depends: qemu-kvm | qemu-system, without any version specification on the latter - and qemu-system-x86, which is installed because it Provides: qemu-kvm, does not get upgraded. Examining other possible examples has so far shown at least a couple which seem (without having spent as much time digging into them to make sure) as if they may be in the same line, involving only Depends: rather than Recommends:. So I think the question may actually be more in the line of: Is there a way to tell apt-get (or related tools) to upgrade the dependencies of a specified package (both Depends: and Recommends:), even when the dependency declarations of that package (or others it depends on, recursively) do not specify a version requirement? > If the foo package recommands the libbar library without a particular > version, there is not need to upgrade libbar eve if foo is upgraded > to a higher version? In fact, there can be - for example, if there has been a security vulnerability (or other relevant bug) discovered in libbar. Just because foo can still work with the older libbar, that doesn't mean it's a good idea to still keep using the version without a fix for the issue. -- The Wanderer The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw
signature.asc
Description: OpenPGP digital signature

