Carthage not using latest version installed - carthage

I am getting this error when using Carthage:
Please update to the latest Carthage version: 0.34.0. You currently are on 0.27.0
But I already have 0.34.0 installed. If I do brew info carthage this prints:
carthage: stable 0.34.0 (bottled), HEAD
Decentralized dependency manager for Cocoa
https://github.com/Carthage/Carthage
/usr/local/Cellar/carthage/0.34.0 (8 files, 5.2MB)
Poured from bottle on 2020-01-09 at 09:18:31
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/carthage.rb
==> Requirements
Build: xcode ✔
==> Options
--HEAD
Install HEAD version
And if I try to upgrade brew upgrade Carthage:
Warning: Carthage 0.34.0 already installed
Any idea what is happening?
Thanks

I had the same issue. No matter how many times I tried to uninstall, install, or upgrade Carthage, I always had 0.34.0!
I followed some command lines from this Answer. I totally doubt I had installed the package in the past but after I did this:
rm -rf /usr/local/bin/carthage
sudo rm -rf /Library/Frameworks/CarthageKit.framework
brew install carthage
I got this message:
So I tried:
brew upgrade carthage
And:
I might or not might work for you but it did for me...

Try running brew uninstall carthage and then brew install carthage to see what happens. For me was an error with symlink, and there was instructions on how to fix the issue.

Related

GNS3 sip/qt error

Have installed GNS3 on my Linux (Debian Strech) and getting below error message, please help, installed from package, OS updated. qt and sip at their newest version on my machine (installed).
Fail update installation: No module named 'sip' **
**Can't import Qt modules: Qt and/or PyQt is probably not installed correctly...
Any help/direction to solve the problem will be highly appreciated.
Thanks in-advance.
For anyone still getting this error, I found that it was due to Xenial to Bionical upgrade that left a PPA hanging around, I guess there was a dependency missing. Here is exactly what I did to fix it.
sudo rm /etc/apt/sources.list.d/gns3*
sudo apt-get update
sudo add-apt-repository ppa:gns3/ppa
sudo apt-get update
sudo apt-get -y -u dist-upgrade
Then you can start gns3.
Try to install this python module:
sudo pip install pyqt5
i found out that the problem was a source in source.list.
in my case was the firefox quantum
I resolved this by installing from source file, by following this link, replaced 1.3.9 to 2.1.2 and worked.
https://gns3.com/discussions/getting-gns4-1-4beta1-gui-runnin
I got this after upgrading Ubuntu to 20.04. Only thing that worked was backing up my GNS3 folder with my project files, uninstalling gns3-server and gns3-gui, then re-installing. Everything works now.

Brew: uninstalling all version of a package

I am trying to uninstall qt.
I did brew uninstall qt, and it uninstalled the version 5.9.0, but it says that:
4.8.7_2, 5.8.0_1 2 are still installed
I want to delete them as well.
Is there a way to uninstall with brew all the versions of a package?
Thanks in advance!
OS: Mac El Capitan
brew uninstall --force qt
worked
brew uninstall qt#4.8.7_2 qt#5.8.0_1
Both of these will probably warn that there are still dependencies, for example on my machine:
$ brew uninstall qt
Error: Refusing to uninstall /usr/local/Cellar/qt/5.14.0
because it is required by gnuplot, octave, poppler and pyqt, which are currently installed.
You can override this and force removal with:
brew uninstall --ignore-dependencies qt
You don't use --force, but add these reverse dependencies to the list. For my example above:
brew uninstall qt#5.14.0 gnuplot octave poppler pyqt
You can then check with brew list if there are any other remnants you want to remove.

Meteor 0.8.0 fails to install atmosphere packages

I just upgraded to Meteor 0.8.0 and now installing packages with meteorite fails. I tried a lot, including uninstalling and reinstalling Meteor and Meteorite from scratch. I am running meteor on a Mac with 10.9.2.
I just create a fresh app
mrt create myapp
cd myapp
and add some random atmosphere package
myapp add aws-sdk
and I get this error, no matter which package I try to install:
smart.json changed.. installing from smart.json
✓ aws-sdk
tag: https://github.com/peerlibrary/meteor-aws-sdk.git#v1.5.1.1
/usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:106
throw('Could not locate package.js within path ' + self.source.packagePa
^
Could not locate package.js within path /Users/Me/.meteorite/packages/aws-sdk/peerlibrary/meteor-aws-sdk/63efa4ebbe9986bd875f69d5fdf3248c5c44159e
my-mac-pro:myapp Me$
After that, the following line for removing the failing package produces exactly the same error:
mrt remove aws-sdk
Thank you very much for any hint!
Ah. Forgot I already knew the answer to the problem, just did not recognize the problem. This error seems to be a rephrased version of the error "unable to clone repo xyz" in the old version and comes from inappropriate permissions. The answer is reinstalling only meteorite and fixing the permissions:
sudo mrt uninstall
sudo mrt uninstall --system
sudo chown -R `whoami` ~/.npm
sudo -H npm install -g meteorite
Hope that helps anybody, if not i'll probably just delete the question sooner or later!

nginx installed successfully but cannot start

I use homebrew to install nginx. However, when I start nginx, it prompts:
dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib
Referenced from: /usr/local/bin/nginx
Reason: Incompatible library version: nginx requires version 4.0.0 or later, but libpcre.1.dylib provides version 2.0.0
Trace/BPT trap: 5
Any ideas?
I had this same problem, try running this:
brew unlink pcre && brew link pcre
In my case, this was the output:
Unlinking /usr/local/Cellar/pcre/8.35... 5 symlinks removed
Linking /usr/local/Cellar/pcre/8.35... 133 symlinks created
Well, I don't know what causes the problem. I checked my pcre, and it was in latest version. Without option I just uninstall it and reinstall it again...Then it works...
Only thing that fixed it for me was reinstalling everything in brew.
https://gist.github.com/nmccready/adfae27c498e0795767f
I run the following and it sorted the issue for me
brew update && brew upgrade && brew rm extempore && brew install extempore
If you get any problem in nginx then you can debug using this command:
nginx -t
after running this command you will get error message including filename and line number where the problem is

"Error: not opened" when trying to install Meteorite packages

Meteorite installs great (I have to use sudo -H npm install -g meteorite as Meteorite's install instructions recommend), and I can then use it to install standard Meteor packages in my projects, e.g. mrt add jquery. But if I try to install any packages from Atmosphere, e.g. mrt add router or mrt add font-awesome, I get this output:
Installing Meteor
branch: https://github.com/meteor/meteor.git#master
Installing smart packages
/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/WebSocket.js:175
else throw new Error('not opened');
^
Error: not opened
at WebSocket.send (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/WebSocket.js:175:16)
at DDPClient._send (/usr/local/lib/node_modules/meteorite/node_modules/ddp/lib/ddp-client.js:77:15)
at WebSocket.<anonymous> (/usr/local/lib/node_modules/meteorite/node_modules/ddp/lib/ddp-client.js:49:10)
at WebSocket.EventEmitter.emit (events.js:92:17)
at WebSocket.establishConnection (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/WebSocket.js:576:8)
at ClientRequest.<anonymous> (/usr/local/lib/node_modules/meteorite/node_modules/ddp/node_modules/ws/lib/WebSocket.js:488:25)
at ClientRequest.g (events.js:175:14)
at ClientRequest.EventEmitter.emit (events.js:106:17)
at CleartextStream.socketOnData (http.js:1587:11)
at CleartextStream.read [as _read] (tls.js:477:10)
mrt run works properly though! I'm on Meteor v0.6.3.1 and Meteorite v0.5.1. Would appreciate any ideas, thanks!
Check your node version.
As of today (May 26, 2013), I can replicate this error perfectly (I get the same error message) when I use node v0.10.8.
However, with node node-v0.9.9 the mrt add command works.
The other parts of my environment are:
Ubuntu 12.04 LTS x64
mrt --version
Meteorite version 0.5.1
This is an issue specifically with Node 0.10.8
https://github.com/oortcloud/meteorite/issues/135
I was able to fix the issue by first removing node using these instructions. One exception is I had issues using nvm to install node so I used a package instead:
How do I completely uninstall Node.js, and reinstall from beginning (Mac OS X)
You'll find links to download installer package for the 0.10.7 version of node for all os' here:
http://blog.nodejs.org/2013/05/17/node-v0-10-7-stable/
After the install do a node -v to check the version. If it doesn't look right try a restart. I had to reboot in order to get mine happy for some reason.
If you continue to have issues after reinstalling node then try removing and reinstalling meteorite and meteor. Hope this helps someone having the same issue.

Resources