FreeBSD 10.0-RC5 AMD64 pkg upgrade fail by gcc/gcc46

CeDeROM cederom at
Sat Jan 11 12:09:44 UTC 2014

On Sat, Jan 11, 2014 at 12:21 PM, Boris Samorodov <bsam at> wrote:
> It's not a solution but a workaround which helped me. Run the following
> command to find out which installed packages need gcc46 (note it's a
> one line command):
> -----
> % for o in `pkg info -aoq`; do \[ \! -z `pkg query %dn-%dv -o $o | grep
> gcc46` \] && echo $o; done
> -----

% sh
$ for o in `pkg info -aoq`; do \[ \! -z `pkg query %dn-%dv -o $o |
grep gcc46` \] && echo $o; done

no results :-(

> In my case opera and one more (may be virtualbox) packages used gcc46.
> Just remove them, then remove gcc46 and upgrade packages.

I did something different - I have removed both gcc and gcc46, then
installed gcc46 to see what depends on it - result list empty - so it
seems nothing on the port list depends on the lang/gcc46, the problem
might be somewhere else..?

Now when GCC is installed I cannot install GCC46. pkg clean does not
help. Where did that GCC46 get from? :-)

Thank you! :-)


More information about the freebsd-ports mailing list