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.
Uninstalling gcc-go also uninstalls a lot of unrelated packages
Uninstalling gcc-go also uninstalls a lot of unrelated packages
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ![Wink ;-)](./images/smilies/icon_e_wink.gif)
![Wink ;-)](./images/smilies/icon_e_wink.gif)
Re: Uninstalling gcc-go also uninstalls a lot of unrelated packages
Always, packages removed using sudo spkg -d package_name or removepkg
Re: Uninstalling gcc-go also uninstalls a lot of unrelated packages
That's what I did, but I still don't understand why gcc itself (which is the base GCC with just the C compiler) has gcc-go as "required". It doesn't make any sense.
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ![Wink ;-)](./images/smilies/icon_e_wink.gif)
![Wink ;-)](./images/smilies/icon_e_wink.gif)
Re: Uninstalling gcc-go also uninstalls a lot of unrelated packages
Yeah, the dependency was there because something in the gcc package actually depends on gcc-go. It's the /usr/libexec/gcc/x86_64-slackware-linux/11.2.0/test2json file. But gcc-go is not really needed for anything else in the gcc package. I've now removed the dependency. Thanks for noticing!
Re: Uninstalling gcc-go also uninstalls a lot of unrelated packages
The repository mirror I am using was updated today and indeed, uninstalling gcc-go (with slapt-get or Gslapt) just uninstalls gcc-go now - and nothing else. Thank you George!
A pleasant detail in this forum: several people pick a picture of their pet as their avatar. Who am I to do otherwise? ![Wink ;-)](./images/smilies/icon_e_wink.gif)
![Wink ;-)](./images/smilies/icon_e_wink.gif)