brew update fails at PHP7.4 step - homebrew

Looking for help with a failing brew upgrade.
I'm running macOS Monterey version 12.4 on a MacStudio system. I've been running homebrew applications (notably php7.4) for a good while now. I noticed that it reported that 30 packages could be updated, so I ran:
brew update
brew upgrade
The upgrade step failed with (excerpts from log shown here):
Warning: php#7.4 has been deprecated because it is a versioned formula!
Warning: Building httpd from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading https://dlcdn.apache.org/httpd/httpd-2.4.54.tar.bz2
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/0630b06c782baa4fd4809e1322ebb1439d78dfa0cde375669da966f5da5718cd--httpd-2.4.54.tar.bz2
==> Installing php#7.4 dependency: httpd
==> ./configure --enable-layout=Slackware-FHS --prefix=/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54 --sbindir=/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54/bin --mandir=/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54/share/man --sysconfdir=/Volumes/Satechi.SSD.M2/homebrew/etc/httpd --datadir=/Volum
==> make
==> make install
Error: An exception occurred within a child process:
Utils::Inreplace::Error: inreplace failed
/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54/lib/httpd/build/config_vars.mk:
expected replacement of #<Pathname:/Volumes/Satechi.SSD.M2/homebrew/Cellar/pcre2/10.40> with #<Pathname:/Volumes/Satechi.SSD.M2/homebrew/opt/pcre2>
The things I notice here that might be related to the problem, are the fact a specific version of PHP (7.4) was installed (I must keep this version)... and a vague mention of my unusual path.
Since it may be related: before I installed brew, ran these commands in an effort to minimize the use of the precious .5TB primary drive:
mkdir /Volumes/Satechi.SSD.M2/homebrew/
ln -fs /Volumes/Satechi.SSD.M2/homebrew/ /opt/homebrew
ln -fs /Volumes/Satechi.SSD.M2/homebrew /homebrew # (I no longer remember why I created this link - except that it was to solve some forgotten problem)
So my brew home is technically not in the same filesystem as opt, but the default path to brew's folders (/opt/homebrew/*) continues to work. This is what I want, and it's been working for a few months. Not sure this is related to the problem but I thought I'd point it out in case.
The full output of brew upgrade is:
dennis#macstudio:/opt/homebrew 07/05 07:49:56
> brew update
Already up-to-date.
dennis#macstudio:/opt/homebrew 07/05 07:50:02
> brew upgrade
==> Upgrading 30 outdated packages:
libtiff 4.3.0 -> 4.4.0
ffmpeg 5.0.1 -> 5.0.1_3
nettle 3.7.3 -> 3.8
freetype 2.12.0 -> 2.12.1
openjpeg 2.4.0 -> 2.5.0
speex 1.2.0 -> 1.2.1
harfbuzz 4.2.1 -> 4.3.0
glib 2.72.1 -> 2.72.2
libxcb 1.14_2 -> 1.15
aom 3.3.0 -> 3.4.0
srt 1.4.4 -> 1.5.0
unixodbc 2.3.9_1 -> 2.3.11
ninja 1.10.2_1 -> 1.11.0
meson 0.62.1 -> 0.63.0
curl 7.83.0 -> 7.84.0
php#7.4 7.4.29 -> 7.4.30
krb5 1.19.3 -> 1.20
libvpx 1.11.0 -> 1.12.0
freetds 1.3.10 -> 1.3.12
dav1d 0.9.2 -> 1.0.0
libpq 14.2 -> 14.4
oniguruma 6.9.7.1 -> 6.9.8
x264 r3060 -> r3095
unbound 1.15.0 -> 1.16.0
libzip 1.8.0_1 -> 1.9.2
openldap 2.6.1 -> 2.6.2
libass 0.15.2 -> 0.16.0
libx11 1.7.5 -> 1.8.1
python#3.9 3.9.12 -> 3.9.13_1
gnutls 3.7.4 -> 3.7.6
Warning: Building openldap from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff
==> Downloading https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.6.2.tgz
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/9e06aa4612038dd6b4686ef4e738b0853be6cca0bcd7b673c7f8d436c4731162--openldap-2.6.2.tgz
==> Downloading https://ghcr.io/v2/homebrew/core/curl/manifests/7.84.0
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/a65075db232ffcd42c8fbf1258bbd0fc1a8b6affe5f8b4eba2a880127e336f48--curl-7.84.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/curl/blobs/sha256:00b2bfb12b8fd68992872941d19f8c38971cfb7f6c34fe72ebb014b8110ebc07
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/12b262a44d04f8246b961c8b41690618bde0c3e912025ae860b5cca763160812--curl--7.84.0.arm64_monterey.bottle.tar.gz
Warning: Building unixodbc from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading http://www.unixodbc.org/unixODBC-2.3.11.tar.gz
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/01fd783738abfafd6c8cec4df80068e73cf5ff4aea30c8e2c71767de6678f8e4--unixODBC-2.3.11.tar.gz
Warning: Building freetds from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.diff
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff
==> Downloading https://www.freetds.org/files/stable/freetds-1.3.12.tar.bz2
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/c17aff1bdcced723dd942325b7e7e96b7c1e70b5dc7e889514036b2b9821272d--freetds-1.3.12.tar.bz2
==> Downloading https://ghcr.io/v2/homebrew/core/freetype/manifests/2.12.1
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/908428437764929aa268ec3967d2d4c58d2c0cdcb971555c98cd45ab6b7e3368--freetype-2.12.1.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/freetype/blobs/sha256:3e190f2fa02702aa86e46cf33e7dde1d93e879f1de38f3d1b61e301f8367136d
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/047bc186da41bb1af4be21bed67fd89fc1402bc8e893c48fcc39633181777ffe--freetype--2.12.1.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/manifests/4.4.0
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/b37cf6c170f1c01d5757e2494de5d65c9b117306a86f9e29f28e57b1a9972191--libtiff-4.4.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libtiff/blobs/sha256:d2dfbad3fe68e070d0937c71b4de6ca110dda32599a2adfc2272f31064ae8652
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/a26e660ed5b116421a6dbb7550c38769a2c1ee3619e4e05202768cc1d729446e--libtiff--4.4.0.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/aom/manifests/3.4.0
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/960cdcf340a08fc2ed5f16d2cbf7d2d3f5dc110b4df0df159926aca746a43dc6--aom-3.4.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/aom/blobs/sha256:f16849b3bb161a0695d5bb6677799f4d87e1db60fbaf6719f1ea0a996847d029
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/43a851ccf4d3e7785b9d60744a279305b22b7c9a3102cd4554c1ad7220f81df1--aom--3.4.0.arm64_monterey.bottle.tar.gz
Warning: Building krb5 from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading https://kerberos.org/dist/krb5/1.20/krb5-1.20.tar.gz
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/6e2ebcecfb4893ac77e1724a4492e77dc53193c679df6fa9f44f0641aa0e185f--krb5-1.20.tar.gz
Warning: Building libpq from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading https://ftp.postgresql.org/pub/source/v14.4/postgresql-14.4.tar.bz2
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/5fc4b1e478c7edc04305eadc9285da556aeac65cc3987ea8651fc0f00468f95e--postgresql-14.4.tar.bz2
==> Downloading https://ghcr.io/v2/homebrew/core/libzip/manifests/1.9.2
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/cb899c2a5c3111ed02fd5b8b5130aa6b6f66f2bf4ad5f2f15bd8537ea3c09ed2--libzip-1.9.2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/libzip/blobs/sha256:e27a1b53f6b09e0bb04071f66d878ef4594dbc3fde6e27a0b644d33a8ce34e0a
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/7c926e61bd610fa04fdd139f61f1b17f482485581586e0f685a3a3482192da12--libzip--1.9.2.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/manifests/6.9.8
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/fccf013b32eda50ffdfbb2748b9f01c7d5a845d5ba02bfeed201b6a30028800c--oniguruma-6.9.8.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/oniguruma/blobs/sha256:6c66f5d4198bfd9d9be019f4f40d19f4c68676df9eb0702f450ec818ef43d3e9
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/7d6a5f7cd1a97384adefddfb9d93988a5483cba45514e16df22b6022d7bf4f13--oniguruma--6.9.8.arm64_monterey.bottle.tar.gz
Warning: php#7.4 has been deprecated because it is a versioned formula!
Warning: Building httpd from source as the bottle needs:
- HOMEBREW_CELLAR: /opt/homebrew/Cellar (yours is /Volumes/Satechi.SSD.M2/homebrew/Cellar)
- HOMEBREW_PREFIX: /opt/homebrew (yours is /Volumes/Satechi.SSD.M2/homebrew)
==> Downloading https://dlcdn.apache.org/httpd/httpd-2.4.54.tar.bz2
Already downloaded: /Users/dennis/Library/Caches/Homebrew/downloads/0630b06c782baa4fd4809e1322ebb1439d78dfa0cde375669da966f5da5718cd--httpd-2.4.54.tar.bz2
==> Installing php#7.4 dependency: httpd
==> ./configure --enable-layout=Slackware-FHS --prefix=/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54 --sbindir=/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54/bin --mandir=/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54/share/man --sysconfdir=/Volumes/Satechi.SSD.M2/homebrew/etc/httpd --datadir=/Volum
==> make
==> make install
Error: An exception occurred within a child process:
Utils::Inreplace::Error: inreplace failed
/Volumes/Satechi.SSD.M2/homebrew/Cellar/httpd/2.4.54/lib/httpd/build/config_vars.mk:
expected replacement of #<Pathname:/Volumes/Satechi.SSD.M2/homebrew/Cellar/pcre2/10.40> with #<Pathname:/Volumes/Satechi.SSD.M2/homebrew/opt/pcre2>
I ran "brew doctor" with the following output: (We can ignore the error about brew not being in the path. I had removed it from PATH as a troubleshooting step before this step.)
dennis#macstudio:/opt/homebrew/bin 07/05 07:36:29
> brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
php#7.4
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
/homebrew/bin/pkg-config
/homebrew/bin/freetype-config
/homebrew/bin/libpng16-config
/homebrew/bin/libpng-config
/homebrew/bin/pspell-config
/homebrew/bin/python3.9-config
/homebrew/bin/onig-config
/homebrew/bin/python3-config
/homebrew/bin/pcre2-config
/homebrew/bin/pcre-config
/homebrew/bin/sdl2-config
/homebrew/bin/guile-config
Warning: Your Cellar and TEMP directories are on different volumes.
macOS won't move relative symlinks across volumes unless the target file already
exists. Brews known to be affected by this are Git and Narwhal.
You should set the "HOMEBREW_TEMP" environment variable to a suitable
directory on the same volume as your Cellar.
Warning: Your Homebrew's prefix is not /opt/homebrew.
Some of Homebrew's bottles (binary packages) can only be used with the default
prefix (/opt/homebrew).
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.
Warning: /usr/bin occurs before /Volumes/Satechi.SSD.M2/homebrew/bin in your PATH.
This means that system-provided programs will be used instead of those
provided by Homebrew. Consider setting your PATH so that
/Volumes/Satechi.SSD.M2/homebrew/bin occurs before /usr/bin. Here is a one-liner:
echo 'export PATH="/Volumes/Satechi.SSD.M2/homebrew/bin:$PATH"' >> ~/.kshrc
The following tools exist at both paths:
python3
pip3
tidy
Warning: Homebrew's "bin" was not found in your PATH.
Consider setting your PATH for example like so:
echo 'export PATH="/Volumes/Satechi.SSD.M2/homebrew/bin:$PATH"' >> ~/.kshrc
Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /Volumes/Satechi.SSD.M2/homebrew/sbin.
Consider setting your PATH for example like so:
echo 'export PATH="/Volumes/Satechi.SSD.M2/homebrew/sbin:$PATH"' >> ~/.kshrc
Here is the output of 'brew config':
> brew config
HOMEBREW_VERSION: 3.5.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: 88a5fac96752f17280e64f60926f58dff45990e0
Last commit: 8 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: edf3b15659f8130f2c6f4b8db62bc84c444c095d
Core tap last commit: 8 days ago
Core tap branch: master
HOMEBREW_PREFIX: /Volumes/Satechi.SSD.M2/homebrew
HOMEBREW_REPOSITORY: /Volumes/Satechi.SSD.M2/homebrew
HOMEBREW_CELLAR: /Volumes/Satechi.SSD.M2/homebrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 10
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: 10-core 64-bit arm_firestorm_icestorm
Clang: 13.1.6 build 1316
Git: 2.32.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.79.1 => /usr/bin/curl
macOS: 12.4-arm64
CLT: 13.4.0.0.1.1651278267
Xcode: N/A
Rosetta 2: false
I don't understand enough about brew to begin diagnosing his problem, beyond what I've done here. Any help?

Related

Errors installing vue/cliapp under docker

I want to install my #vue/cli 4.0.5 app under docker and using https://medium.com/#jwdobken/vue-with-docker-initialize-develop-and-build-51fad21ad5e6 link :
I modified the command line : modified node source from 11-alpine and renamed project name and installed the project, but running command
yarn serve
I got error that serve was not found :
me#athoe:/mnt/_work_sdb8/wwwroot/lar/VApps/DOCKER_TEST$ mkdir vtaskproject && cd "$_" && docker run --rm -v "${PWD}:/$(basename `pwd`)" -w "/$(basename `pwd`)" -it node:11-alpine sh -c "yarn global add #vue/cli && vue create ."
Unable to find image 'node:11-alpine' locally
11-alpine: Pulling from library/node
e7c96db7181b: Already exists
0119aca44649: Pull complete
40df19605a18: Pull complete
82194b8b4a64: Pull complete
Digest: sha256:8bb56bab197299c8ff820f1a55462890caf08f57ffe3b91f5fa6945a4d505932
Status: Downloaded newer image for node:11-alpine
yarn global v1.15.2
[1/4] Resolving packages...
warning #vue/cli > #vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > core-js#2.6.11: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
warning #vue/cli > #vue/cli-ui > vue-cli-plugin-apollo > apollo > git-parse > babel-polyfill > babel-runtime > core-js#2.6.11: core-js#<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js#3.
[2/4] Fetching packages...
info fsevents#1.2.11: The platform "linux" is incompatible with this module.
info "fsevents#1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.21.1", while you're on "1.15.2".
info To upgrade, run the following command:
$ curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
success Installed "#vue/cli#4.1.1" with binaries:
- vue
Done in 32.17s.
? Your connection to the default yarn registry seems to be slow.
Use https://registry.npm.taobao.org for faster installation? Yes
Vue CLI v4.1.1
? Generate project in current directory? Yes
Vue CLI v4.1.1
? Please pick a preset: default (babel, eslint)
? Pick the package manager to use when installing dependencies: Yarn
Vue CLI v4.1.1
��� Creating project in /vtaskproject.
��� Installing CLI plugins. This might take a while...
yarn install v1.15.2
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.11: The platform "linux" is incompatible with this module.
info "fsevents#1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
success Saved lockfile.
Done in 77.43s.
���� Invoking generators...
���� Installing additional dependencies...
yarn install v1.15.2
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents#1.2.11: The platform "linux" is incompatible with this module.
info "fsevents#1.2.11" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 24.82s.
��� Running completion hooks...
���� Generating README.md...
���� Successfully created project vtaskproject.
���� Get started with the following commands:
$ yarn serve
me#athoe:/mnt/_work_sdb8/wwwroot/lar/VApps/DOCKER_TEST/vtaskproject$ yarn serve
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'serve'
serge#athoe:/mnt/_work_sdb8/wwwroot/lar/VApps/DOCKER_TEST/vtaskproject$ yarn --version
0.32
I see that on successfull installation newly created project dir was selected.
Also in the provided article next was :
Dockerfile The Dockerfile is identical to the given example in the
documentation. Only the build-stage is split up into an install-stage
and a build-stage, since we don’t need to build when we are
developing!
But the thin is I do not see any Dockerfile file in the created project : https://imgur.com/a/mKrdFgi as I expected.
Had Dockerfile be there and how move next ?
$ lsb_release -d; uname -r; uname -i
Description: Ubuntu 18.04.3 LTS
4.15.0-72-generic
x86_64
$ docker --version
Docker version 19.03.5, build 633a0ea838

Travis-CI - chrome 62 instead of 77

For two days Travis CI returns version 62 of chrome instead of 77, do you also have the problem on your CI / CD?
.travis.yml (source)
addons:
chrome: stable
trace: (source)
$ export CHROME_SOURCE_URL=https://dl.google.com/dl/linux/direct/google-chrome-stable_current_amd64.deb
Installing Google Chrome stable
1.17s$ wget --no-verbose -O /tmp/$(basename $CHROME_SOURCE_URL) $CHROME_SOURCE_URL
2019-09-11 15:41:31 URL:https://dl.google.com/dl/linux/direct/google-chrome-stable_current_amd64.deb [62302944/62302944] -> "/tmp/google-chrome-stable_current_amd64.deb" [1]
dpkg-deb: error: archive '/tmp/google-chrome-stable_current_amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /tmp/google-chrome-stable_current_amd64.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/tmp/google-chrome-stable_current_amd64.deb
Google Chrome 62.0.3202.94
I add install dpkg
.travis.yml:
addons:
apt:
packages:
- dpkg
chrome: stable
It's a known bug with the dpkg package not supporting xz compressed packages and latest versions of Chrome apparently use it.
The best solution would be to upgrade to dist: xenial build env since trusty are quire old now. Or update the package I guess.
See https://github.com/travis-ci/travis-ci/issues/9361
Changing the Linux distribution fixed the issue for me.
Change:
dust: trusty
To:
dist: xenial
In the .travis.yml file, change my Chrome version from 62.0.3202.94 to 81.0.4044.138
I fixed it on our opensource project by forcing dpkg reinstall:
https://github.com/PrestaShop/PrestaShop/pull/15581

gpg-agent not found for homebrew

I'm attempting to install gpg-agent, but I am getting an error that the formula doesn't exist:
$ brew install gpg-agent
Error: No available formula with the name "gpg-agent"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
However, it appears that this formula is still active: https://formulae.brew.sh/formula/gpg-agent
Is there something I have configured incorrectly? Other formulas are working as expected (e.g. brew install gpg, brew install pinentry-mac).
In case this information is helpful:
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libtcl8.6.dylib
/usr/local/lib/libtk8.6.dylib
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/fakemysql.h
/usr/local/include/fakepq.h
/usr/local/include/fakesql.h
/usr/local/include/itcl.h
/usr/local/include/itcl2TclOO.h
/usr/local/include/itclDecls.h
/usr/local/include/itclInt.h
/usr/local/include/itclIntDecls.h
/usr/local/include/itclMigrate2TclCore.h
/usr/local/include/itclTclIntStubsFcn.h
/usr/local/include/mysqlStubs.h
/usr/local/include/odbcStubs.h
/usr/local/include/pqStubs.h
/usr/local/include/tcl.h
/usr/local/include/tclDecls.h
/usr/local/include/tclOO.h
/usr/local/include/tclOODecls.h
/usr/local/include/tclPlatDecls.h
/usr/local/include/tclThread.h
/usr/local/include/tclTomMath.h
/usr/local/include/tclTomMathDecls.h
/usr/local/include/tdbc.h
/usr/local/include/tdbcDecls.h
/usr/local/include/tdbcInt.h
/usr/local/include/tk.h
/usr/local/include/tkDecls.h
/usr/local/include/tkPlatDecls.h
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/tcl.pc
/usr/local/lib/pkgconfig/tk.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libtclstub8.6.a
/usr/local/lib/libtkstub8.6.a
Warning: You have unlinked kegs in your Cellar
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
nmap
Warning: Homebrew's sbin was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting the PATH for example like so
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.bash_profile
$ brew config
HOMEBREW_VERSION: 1.7.5
ORIGIN: https://github.com/Homebrew/brew
HEAD: d639559c4de48faad79d3ecb1ec84dc851ea66f2
Last commit: 3 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: bd29bc2b97641173dbe4e5ec2a6fe484dfa9dd93
Core tap last commit: 2 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_GIT: git
CPU: octa-core 64-bit kabylake
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1000
Git: 2.19.0 => /usr/local/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: N/A
macOS: 10.13.6-x86_64
CLT: 9.4.0.0.1.1526532315
Xcode: 10.0
XQuartz: N/A
The gpg-agent formula was removed by commit 965e1. The reason is given in the commit message:
commit 965e130e04e5900e35bf1f0b6ebad9d1c2f680a7
Author: Dominyk Tiller <dominyktiller#gmail.com>
Date: Sun Aug 19 23:07:17 2018 +0100
gpg-agent: delete
Is a redundant formula without `gnupg#2.0` around; `gnupg` >2.1 ships
its own `gpg-agent`.
So if you want gpg-agent install gnupg.

Unable to configure DSE from Opscenter

I am trying to configure DSE on newly configured centos 7 VM but I am getting error Attempting to configure dse-full 5.1.0, but found a different version installed. Upgrades and downgrades aren't supported." (opscd-pool-4) I am not able to understand why getting this error when the machine is completely new, even I haven't run any DSE command.
ERROR: Received error from node event-subtype="MeldError" job-id="a38724e1-2139-45f5-9266-079638c2ca2e" name="cassandra-5" ssh-management-address="192.168.159.175" node-id="dafe635a-6e98-4ae6-b0ea-6afa0da51731" event-type="error" message="Attempting to configure dse-full 5.1.0, but found a different version installed. Upgrades and downgrades aren't supported." (opscd-pool-4)
I am using Opscentre to configure Node.
Here you go detailed log of LCM
2017-11-29 05:38:37,753 [opscenterd] INFO: configure job started for node name="cassandra-5" ssh-management-address="192.168.138.237" node-id="dafe635a-6e98-4ae6-b0ea-6afa0da51731" (async-thread-macro-32)
2017-11-29 05:38:37,776 [opscenterd] INFO: Trying to establish ssh connection name="cassandra-5" ssh-management-address="192.168.138.237" node-id="dafe635a-6e98-4ae6-b0ea-6afa0da51731" node-name="cassandra-5" job-id="4fae4fe1-ca3c-4924-abdb-62c4cf4ad878" (async-thread-macro-32)
2017-11-29 05:38:38,515 [opscenterd] INFO: Received milestone from node name="cassandra-5" ssh-management-address="192.168.138.237" node-id="dafe635a-6e98-4ae6-b0ea-6afa0da51731" message="Uploaded facts to OpsCenter server" job-id="4fae4fe1-ca3c-4924-abdb-62c4cf4ad878" (opscd-pool-0)
2017-11-29 05:38:40,135 [opscenterd] ERROR: Received error from node event-subtype="MeldError" job-id="4fae4fe1-ca3c-4924-abdb-62c4cf4ad878" name="cassandra-5" ssh-management-address="192.168.138.237" node-id="dafe635a-6e98-4ae6-b0ea-6afa0da51731" event-type="error" message="Attempting to configure dse-full 5.1.0, but found a different version installed. Upgrades and downgrades aren't supported." (opscd-pool-7)
2017-11-29 05:38:40,161 [opscenterd] ERROR: Configure job 4fae4fe1-ca3c-4924-abdb-62c4cf4ad878 failed! (async-thread-macro-33)
2017-11-29 05:38:41,102 [opscenterd] INFO: configure job finished for node name="cassandra-5" ssh-management-address="192.168.138.237" node-id="dafe635a-6e98-4ae6-b0ea-6afa0da51731" (async-thread-macro-32)
Here you go node info:
[root#li1639-135 ~]# dpkg -l dse-full
-bash: dpkg: command not found
[root#li1639-135 ~]# yum info dse-full
Loaded plugins: fastestmirror
base | 3.6 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
(1/4): base/7/x86_64/group_gz | 156 kB 00:00
(2/4): extras/7/x86_64/primary_db | 130 kB 00:00
(3/4): base/7/x86_64/primary_db | 5.7 MB 00:00
(4/4): updates/7/x86_64/primary_db | 3.6 MB 00:00
Determining fastest mirrors
* base: mirrors.linode.com
* extras: mirrors.linode.com
* updates: mirrors.linode.com
Error: No matching Packages to list
Job ID4fae4fe1-ca3c-4924-abdb-62c4cf4ad878
11/29/2017, 5:38:40AM UTC ERROR - MELDERROR Attempting to configure dse-full 5.1.0, but found a different version installed. Upgrades and downgrades aren't supported.
11/29/2017, 5:38:40AM UTC SHELL-COMMAND - RESULT Finished executing command: rpm -qa | grep -E ^dse-full-[[:digit:]] | grep 5.1.0
11/29/2017, 5:38:39AM UTC SHELL-COMMAND - INVOCATION Invoked command: rpm -qa | grep -E ^dse-full-[[:digit:]] | grep 5.1.0
11/29/2017, 5:38:39AM UTC CHECK - IS-PACKAGE-INSTALLED Checking if package dse-full is installed with version 5.1.0
11/29/2017, 5:38:39AM UTC CHANGE - PACKAGE-PROXY Not using proxy
11/29/2017, 5:38:38AM UTC MILESTONE - UPLOADED-FACTS Uploaded facts to OpsCenter server
11/29/2017, 5:38:38AM UTC SHELL-COMMAND - INVOCATION Invoked command: if [ -x "$(which yum)" ] && [ -f "/etc/redhat-release" -o -f "/etc/SuSE-release" -o -f "/etc/system-release" ]; then echo -n "yum"; elif [ -x "$(which...
Updated Answer
I was able to sync up with Ranjeet offline and found that the logs posted above were the result of configure jobs, which require that DSE is already installed. When running install jobs, things proceeded as expected.
There were also some issues with newly supported platforms and platform checks working in confusing ways, but none of that is reflected in the logs for the original post in this question.
Original Answer
OpsCenter/LCM engineer here, I work on the provisioning features.
"Attempting to configure dse-full 5.1.0, but found a different version installed. Upgrades and downgrades aren't supported." The meaning of the error message seems pretty clear. You're asking OpsCenter/LCM to install/configure DSE 5.1.0. Are you positive that you don't have a different version already installed?
On apt-based target machines, you can check what version of DSE is install with 'dpkg -l dse-full'
On yum-based target machines, you can check what version of DSE is installed with 'yum info dse-full'
If you're really trying to install DSE 5.1.0, but a different version is already present on your nodes, you'll have to upgrade/downgrade outside OpsCenter LCM and can the resume managing configs with LCM after the desired version is installed. See http://docs.datastax.com/en/upgrade/doc/upgrade/datastax_enterprise/upgrdDSE.html
If you're attempting to install some other version (which matches what's already installed), then you'll have to clone your config profile and set the correct DSE version when you create the new CP. See: https://support.datastax.com/hc/en-us/articles/212267063-Lifecycle-Manager-Cloning-Configuration-Profiles
If you believe the error from OpsCenter/LCM is mistaken, and that you don't really have a different version of DSE installed on the target nodes, then we'll need more log snippets from LCM with the events leading up to the error, and information about how you confirmed the DSE version on all nodes.

error while installing luagraph

Installing http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock...
Using http://luarocks.org/repositories/rocks/luagraph-1.0.4-1.src.rock... switching to 'build' mode
Archive: /tmp/luarocks_luarocks-rock-luagraph-1.0.4-1-656/luagraph-1.0.4-1.src.rock
inflating: luagraph-1.0.4-1.rockspec
inflating: luagraph-1.0.4.tar.gz
Error: Could not find expected file graphviz/graph.h for GRAPHVIZ -- you may have to install GRAPHVIZ in your system and/or pass GRAPHVIZ_DIR or GRAPHVIZ_INCDIR to the luarocks command. Example: luarocks install luagraph GRAPHVIZ_DIR=/usr/local
As the error mentions, "you may have to install GRAPHVIZ in your system". TO do so, follow the instructions available on their download support page: http://www.graphviz.org/Download..php

Resources