[opensuse-support] LLVM-question

Hi, while uppdating an older TW installation I noticed that libLLVM Versions 7-11 are installed.... (LLVM is a compiler infrastructure designed for compile-time, link-time, runtime, and idle-time optimization of programs from arbitrary programming languages) Is there a reason why older versions are installed? How can I find out which older versions are obsolete? Thanks Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Moin, On Mon, 09 Nov 2020, 17:03:55 +0100, Axel Braun wrote:
it would be easiest to try to remove the packages using "rpm -e --test". If some other package still requires it, the command would complain about it. If they are no longer required, the newer versions miss the right Obsoletes: in their .spec file.
Thanks Axel
HTH, cheers. l8er manfred

Hello Manfred, Am Montag, 9. November 2020, 17:46:01 CET schrieb Manfred Hollstein:
Yes, this would point to hard requirements. I was more thinking about soft requirements. Maybe there is a reason that no obsoletes tag was set Thanks Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Am Montag, 9. November 2020, 20:46:50 CET schrieb Axel Braun:
The reason might be because the package manager can't know whether the user has already migrated their things off the old version. For example, Tumbleweed recently got Postgres 13. To actually use that though, a user has to start a manual migration. If they don't, the old database will continue using the old Postgres 12 binary. If zypper had just removed the old pg12 packages, that would break many people's systems. The same would apply to LLVM I guess. regards

Moin, On Mon, 09 Nov 2020, 17:03:55 +0100, Axel Braun wrote:
it would be easiest to try to remove the packages using "rpm -e --test". If some other package still requires it, the command would complain about it. If they are no longer required, the newer versions miss the right Obsoletes: in their .spec file.
Thanks Axel
HTH, cheers. l8er manfred

Hello Manfred, Am Montag, 9. November 2020, 17:46:01 CET schrieb Manfred Hollstein:
Yes, this would point to hard requirements. I was more thinking about soft requirements. Maybe there is a reason that no obsoletes tag was set Thanks Axel -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org

Am Montag, 9. November 2020, 20:46:50 CET schrieb Axel Braun:
The reason might be because the package manager can't know whether the user has already migrated their things off the old version. For example, Tumbleweed recently got Postgres 13. To actually use that though, a user has to start a manual migration. If they don't, the old database will continue using the old Postgres 12 binary. If zypper had just removed the old pg12 packages, that would break many people's systems. The same would apply to LLVM I guess. regards
participants (3)
-
Axel Braun
-
Manfred Hollstein
-
Maximilian Trummer