https://bugs.freedesktop.org/show_bug.cgi?id=110968
Bug ID: 110968 Summary: Allow ubuntu users to install on other ubuntu versions Product: DRI Version: unspecified Hardware: Other OS: All Status: NEW Severity: blocker Priority: medium Component: DRM/AMDgpu-pro Assignee: dri-devel@lists.freedesktop.org Reporter: ashark@linuxcomp.ru
19.20-812932 release for Ubuntu
In amdgpu-core package there is a preinst script which checks a distribution version. If it is not Ubuntu, it allows installation with warning. But if it detects it is another version of Ubuntu, it declines installation.
Why not just let users to install and just warn them that they are using unsupported version? Anyway, users may modify a package with my script, that I attached to this bug report: https://bugs.freedesktop.org/show_bug.cgi?id=110795
Also installation denial of this single package causes a big trouble for those who tried to use installer script. You can see in that bug report that another user was in situation with a lot of broken packages. I also was in such situation and did not know how to recover from that state. Later I have prepared a script to remove everything from amdgpu-pro (also attached there).
But really, if you still want to stop ubuntu users, then why do not edit installer, so it goes to install only amdgpu-core first (without its dependencies), and only after that it goes to install all other packages that are returned by build_package_list? Or just make distribution check in installer script rather than in package scriptlet.