Homebrew / brew

🍺 The missing package manager for macOS (or Linux)
https://brew.sh
BSD 2-Clause "Simplified" License
40.77k stars 9.57k forks source link

Neo4J gets uninstalled and then comes back installed after computer was asleep #4905

Closed Stargator closed 5 years ago

Stargator commented 6 years ago

To help us debug your issue please explain:

Later as proof that neo4j was removed:

09:57 $ brew leaves
bash-completion@2
bash-git-prompt
curl
dart-lang/dart/dart
dart-lang/dart/dart@1
git
gnupg
go
gradle
ideviceinstaller
ios-deploy
maven
neo4j
nginx
node@8
openssl@1.1
putty
ruby
scala@2.11
yarn
10:36 $ brew uninstall -f neo4j && brew cleanup -s && brew prune
Uninstalling neo4j... (37.8KB)
10:37 $ brew cleanup -s
Removing: /Users/johnmcmahon/Library/Caches/Homebrew/curl--7.61.1.high_sierra.bottle.tar.gz... (972.0KB)
==> This operation has freed approximately 972.0KB of disk space.
10:37 $ brew update
Already up-to-date.
10:38 $ brew list
adns            dart@1          gnupg           ios-deploy      libksba         libyaml         node@8          pcre2           scala@2.11
bash            encfs           gnutls          libassuan       libplist        libzip          npth            pinentry        sqlite
bash-completion@2   gdbm            go          libffi          libtasn1        maven           openssl         putty           usbmuxd
bash-git-prompt     gettext         gradle          libgcrypt       libunistring        nettle          openssl@1.1     python@2        yarn
boost           git         icu4c           libgpg-error        libusb          nginx           p11-kit         readline
dart            gmp         ideviceinstaller    libimobiledevice    libxml2         node            pcre            ruby
11:21 $ brew list
adns            dart@1          gnupg           ios-deploy      libksba         libyaml         node@8          pcre2           scala@2.11
bash            encfs           gnutls          libassuan       libplist        libzip          npth            pinentry        sqlite
bash-completion@2   gdbm            go          libffi          libtasn1        maven           openssl         putty           usbmuxd
bash-git-prompt     gettext         gradle          libgcrypt       libunistring        nettle          openssl@1.1     python@2        yarn
boost           git         icu4c           libgpg-error        libusb          nginx           p11-kit         readline
dart            gmp         ideviceinstaller    libimobiledevice    libxml2         node            pcre            ruby
12:31 $ brew list
adns            dart@1          gnupg           ios-deploy      libksba         libyaml         node            pcre            ruby
bash            encfs           gnutls          libassuan       libplist        libzip          node@8          pcre2           scala@2.11
bash-completion@2   gdbm            go          libffi          libtasn1        maven           npth            pinentry        sqlite
bash-git-prompt     gettext         gradle          libgcrypt       libunistring        neo4j           openssl         putty           usbmuxd
boost           git         icu4c           libgpg-error        libusb          nettle          openssl@1.1     python@2        yarn
dart            gmp         ideviceinstaller    libimobiledevice    libxml2         nginx           p11-kit         readline

Warning: Your Xcode (9.2) is outdated. Please update to Xcode 9.4 (or delete it). Xcode can be updated from the App Store.



- Step-by-step reproduction instructions (by running `brew` commands)
  1. `brew uninstall neo4j && brew cleanup -s`
  1.  Put the computer to sleep. Leave the computer and come back after an hour or two.
  1. `brew list` (Observe that neo4j is back)
Stargator commented 5 years ago

I wanted to ensure I got all the information before having this issue open.

MikeMcQuaid commented 5 years ago
  • I uninstalled neo4j, but after the computer would be asleep for a period of time (30 minutes to an hour), neo4j would be listed as installed. It should be noted: that the version of neo4j remains the same version that was uninstalled (3.3.4), despite that a newer version is available.

Homebrew never runs without you asking it to. Another service or script must be running Homebrew. Figuring that out isn't something we can help you with, sorry.

Stargator commented 5 years ago

@MikeMcQuaid No service/script should be using Homebrew, but thank you.

Stargator commented 5 years ago

FYI, I don't know what changed in the last 18 hours or so, but this has been resolved:

brew uninstall -f neo4j && brew cleanup -s && brew prune && brew update && brew outdated
Updated 3 taps (homebrew/cask-versions, homebrew/core and homebrew/cask).
==> Updated Formulae
node ✔                       b2-tools                     docker-compose               euler-py                     goolabs                      monero                       skaffold                     ydcv
ansible-cmdb                 bde                          docker-squash                eye-d3                       howdoi                       mongo-orchestration          stormpath-cli                ykman
arcade-learning-environment  blueutil                     docutils                     fobis                        iproute2mac                  ocrmypdf                     urweb                        yle-dl
atdtool                      consul                       duo_unix                     ford                         jfrog-cli-go                 percol                       watchman
awslogs                      credstash                    eralchemy                    gitless                      livestreamer                 pius                         watson
azure-cli                    dnstwist                     erlang@17                    golang-migrate               mdv                          sceptre                      wireshark
node (10.11.0) < 10.12.0

What's missing is before Updated Formulae", there would be thisUninstalling neo4j... (37.8KB)`