Can't remove gcc 7

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Post Reply
Stupot
Sagely Hen
Posts: 1749
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Can't remove gcc 7

Post by Stupot » Tue Aug 20, 2019 19:50

Code: Select all

╠  @@ Installation complete.
╠  @@ On the system there are packages that are not available anymore in the online repositories.
╠  @@ Even if they are usually harmless, it is suggested (after proper verification) to remove them.
╠  @@ These are the packages that should be MANUALLY removed:
╠  ## [sabayonlinux.org] sys-devel/base-gcc-7.3.0-r3 [21.5MB]
╠  @@ Nothing to remove.
╠  @@ No configuration files to update.
sabayon /home/stupot # equo remove sys-devel/base-gcc-7.3.0-r3
☢ 
☢   Ouch!, the following system packages were pulled in:
☢     # sys-devel/base-gcc-7.3.0-r3
☢ 
I removed this a while ago on my desktop, which is using Sabayonlinux.org and limbo repos, but my laptop, which is only using sabayonlinux.org seems to be stuck on this.

Fitzcarraldo
Sagely Hen
Posts: 8200
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Can't remove gcc 7

Post by Fitzcarraldo » Wed Aug 21, 2019 2:17

I am seeing the same thing in a recent KDE Daily ISO installation in a VM, so it's not unique to your installation.

Stupot
Sagely Hen
Posts: 1749
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Can't remove gcc 7

Post by Stupot » Wed Aug 21, 2019 16:33

Seems really odd that on my desktop, where I have limbo, I could remove it without any issue.

andreios
Simple Hen
Posts: 88
Joined: Fri May 30, 2014 17:17

Re: Can't remove gcc 7

Post by andreios » Fri Aug 23, 2019 15:07

Same here.

svantoviit
Old Dear Hen
Posts: 750
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: Can't remove gcc 7

Post by svantoviit » Sat Aug 24, 2019 11:47

Funny thing. Just removed it with emerge:

Code: Select all

# emerge -C sys-devel/base-gcc-7.3.0-r3
# equo rescue spmsync

Fitzcarraldo
Sagely Hen
Posts: 8200
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom
Contact:

Re: Can't remove gcc 7

Post by Fitzcarraldo » Sat Aug 24, 2019 23:59

svantoviit wrote:
Sat Aug 24, 2019 11:47
Funny thing. Just removed it with emerge:

Code: Select all

# emerge -C sys-devel/base-gcc-7.3.0-r3
# equo rescue spmsync
The '-C' (--unmerge) option in Portage does not check dependencies, which could be why it worked. Have you tried with the following command, which does check for dependencies, to see if it would still be removed?:

Code: Select all

emerge --ask --depclean =sys-devel/base-gcc-7.3.0-r3

Stupot
Sagely Hen
Posts: 1749
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Can't remove gcc 7

Post by Stupot » Sun Aug 25, 2019 16:30

Mine seems to imply that everything would be ok.

Code: Select all

sabayon /home/stupot # emerge --ask --verbose --depclean =sys-devel/base-gcc-7.3.0-r3
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.4

Calculating dependencies... done!
  sys-devel/base-gcc-7.3.0-r3 pulled in by:
    sys-devel/gcc-7.3.0-r3 requires ~sys-devel/base-gcc-7.3.0[graphite], ~sys-devel/base-gcc-7.3.0[objc++], ~sys-devel/base-gcc-7.3.0[multilib], ~sys-devel/base-gcc-7.3.0[hardened], ~sys-devel/base-gcc-7.3.0, ~sys-devel/base-gcc-7.3.0[openmp], ~sys-devel/base-gcc-7.3.0[nls], ~sys-devel/base-gcc-7.3.0[cxx], ~sys-devel/base-gcc-7.3.0[objc], ~sys-devel/base-gcc-7.3.0[fortran], ~sys-devel/base-gcc-7.3.0[nptl], ~sys-devel/base-gcc-7.3.0[objc-gc]

>>> No packages selected for removal by depclean
Packages installed:   1597
Packages in world:    1191
Packages in system:   43
Required packages:    1597
Number removed:       0
The only dependecy I can see is gcc itself. Which it's a bit odd that gcc isn't picked up by entropy. Furthermore, entropy and portage seem a bit out of sync.

Code: Select all

      @@ Package: sys-devel/base-gcc-8.2.0-r6 branch: 5, [sabayonlinux.org] 
╠          Available:     version: 8.2.0-r6 ~ tag: NoTag ~ revision: 0
╠          Installed:     version: 8.2.0-r6 ~ tag: NoTag ~ revision: 0
╠          Slot:          8.2.0
╠          Homepage:      https://gcc.gnu.org/ 
╠          Description:   The GNU Compiler Collection 
╠          License:       FDL-1.3+ GPL-3+ LGPL-3+ gcc-runtime-library-exception-3.1 libgcc libstdc++
╠      @@ Package: sys-devel/gcc-8.2.0-r6 branch: 5, [sabayonlinux.org] 
╠          Available:     version: 8.2.0-r6 ~ tag: NoTag ~ revision: 0
╠          Installed:     version: 8.2.0-r6 ~ tag: NoTag ~ revision: 0
╠          Slot:          8.2.0
╠          Homepage:      https://gcc.gnu.org/ 
╠          Description:   The GNU Compiler Collection 
╠          License:       FDL-1.3+ GPL-3+ LGPL-3+ gcc-runtime-library-exception-3.1 libgcc libstdc++

Code: Select all

*  sys-devel/base-gcc
      Latest version installed: 8.2.0-r6
      Homepage:      https://gcc.gnu.org/
      Description:   The GNU Compiler Collection
      License:       GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+

*  sys-devel/gcc
      Latest version available: 8.3.0-r1
      Latest version installed: 7.3.0-r3
      Size of files: 62,216 KiB
      Homepage:      https://gcc.gnu.org/
      Description:   The GNU Compiler Collection
      License:       GPL-3+ LGPL-3+ || ( GPL-3+ libgcc libstdc++ gcc-runtime-library-exception-3.1 ) FDL-1.3+

So I used portage to first remove gcc 7, then base-gcc 7 and all seems just fine.

svantoviit
Old Dear Hen
Posts: 750
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: Can't remove gcc 7

Post by svantoviit » Sun Aug 25, 2019 22:23

Fitzcarraldo wrote:
Sat Aug 24, 2019 23:59
The '-C' (--unmerge) option in Portage does not check dependencies, which could be why it worked. Have you tried with the following command, which does check for dependencies, to see if it would still be removed?
Checked with Entropy, it seems to depend on itself only.

Post Reply