Uninstalling gcc-go also uninstalls a lot of unrelated packages
Posted: 29. Mar 2023, 21:19
I temporarily installed gcc-go (I'm not interested in golang, I just wanted to try something). When I tried to uninstall gcc-go, many packages (gcc, gcc-gfortran, LMMS and many others) were also marked for uninstall. Those packages are installed in the system long before gcc-go, and they are clearly not depended on it. I used them extensively without gcc-go installed and without any issue since 15.0 released.
The system just thinks gcc-go is required for gcc itself, and since many packages are depended on gcc, they are depended on gcc-go as well (see, e.g., the record for gcc-11.2.0-x86_64-2.txz here; it includes gcc-go as "required", which is not correct). If I didn't install gcc-go then uninstall it, I would never realize the problem. I uninstalled gcc-go with removepkg gcc-go since slapt-get won't let me do it without uninstalling a ton of unrelated packages, but I think this should be fixed as it may confuse some users.
The system just thinks gcc-go is required for gcc itself, and since many packages are depended on gcc, they are depended on gcc-go as well (see, e.g., the record for gcc-11.2.0-x86_64-2.txz here; it includes gcc-go as "required", which is not correct). If I didn't install gcc-go then uninstall it, I would never realize the problem. I uninstalled gcc-go with removepkg gcc-go since slapt-get won't let me do it without uninstalling a ton of unrelated packages, but I think this should be fixed as it may confuse some users.