Skip to main content
Tweeted twitter.com/super_user/status/1056561445092159488
added 6 characters in body
Source Link
oarfish
  • 826
  • 3
  • 14
  • 24

I want to update all my outdated ports, but as libgcc-devel takes upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?

The documentation states that this works with uninstall, but does not mention upgrade.

$ sudo port uninstall inactive and not <portname>

I want to update all my outdated ports, but as libgcc-devel upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?

The documentation states that this works with uninstall, but does not mention upgrade.

$ sudo port uninstall inactive and not <portname>

I want to update all my outdated ports, but as libgcc-devel takes upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?

The documentation states that this works with uninstall, but does not mention upgrade.

$ sudo port uninstall inactive and not <portname>
added 151 characters in body
Source Link
oarfish
  • 826
  • 3
  • 14
  • 24

I want to update all my outdated ports, but as libgcc-devel upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?

The documentation states that this works with uninstall, but does not mention upgrade.

$ sudo port uninstall inactive and not <portname>

I want to update all my outdated ports, but as libgcc-devel upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?

I want to update all my outdated ports, but as libgcc-devel upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?

The documentation states that this works with uninstall, but does not mention upgrade.

$ sudo port uninstall inactive and not <portname>
Source Link
oarfish
  • 826
  • 3
  • 14
  • 24

How can I exclude a port from macports upgrade outdated?

I want to update all my outdated ports, but as libgcc-devel upwards of 3 hours to build, I want to exclude it. The tip I read on the internet is applying logical operators. So I run

$ sudo port upgrade outdated and not libgcc-devel
--->  Computing dependencies for libgcc-devel
--->  Building libgcc-devel
...

To my frustration, it silently ignores that part of the command. I tried with *gcc* as well, to no avail. What is the correct syntax for this?