MacPorts is not installing - macports

I am getting error while installing macports using this command
sudo port install dpkg
Error: -bash: port: command not found
I am installing theos (ref http://brandontreb.com/beginning-jailbroken-ios-development-getting-the-tools/) , OS is MoutainLion and xCode is 4.5

Related

LWT installation failed using OPAM

LWT installation failed using OPAM on Ubuntu
Server Information -
Distributor ID: Ubuntu,
Description: Ubuntu 18.04.4,
LTS Release: 18.04,
Codename: bionic
Steps I followed -
opam list -a # List the available packages
opam install lwt # Install LWT
opam update # Update the package list
...
opam upgrade # Upgrade the installed packages to their latest version
Error I got -
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
The following actions were aborted
∗ install lwt 4.1.0
∗ install ocamlfind 1.8.0
The following actions failed
∗ install conf-m4 1
No changes have been performed
I even tried opam depext conf-m4.1 but didn't help.
After following these -
opam depext conf-m4.1
sudo opam install lwt
the problem is solved - but sudo is not recommended.

cannot install texStudio in ubuntu 18.04

I want to install texstudio in terminal by using this command: 'sudo apt-get install texstudio'
but get this error:
'The following packages have unmet dependencies: texstudio : Depends:
libpoppler-qt5-1 (>= 0.34.0) but it is not installable
Recommends: latex-beamer but it is not installable E: Unable to correct problems, you have held broken packages.'
I change the default settings of softwares & updates in ubuntu which looks like this:
is there anyway to fixed it? thanks.
You can try doing
sudo apt-get install -f
and then trying again

pip3 installation error - new ubuntu 18.04 installation

I'm rebuilding after a crash & subsequent upgrade to Ubuntu 18.04 LTS. Everything seems to be back to normal except for Python's pkg manager.
Below is launched by:
$sudo apt update
$sudo apt install python3-pip
The logs at first say that python3-pip is already installed:
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.1).
Then the installation apparently bombs as shown:
dpkg: error processing package libclojure-java (--configure):
dpkg: dependency problems prevent configuration of librobert-hooke-clojure:
dpkg: error processing package librobert-hooke-clojure (--configure):
Also at the bottom of the error message:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I understand dpkg is the Debian pkg manager but I am unsure of the best next step.
do you try to missing package by this command
sudo apt-get install -f
and then for update missing try
sudo apt-get update --fix-missing
and for upgrade missing package
sudo apt-get upgrade --fix-missing

failed to locate system libraries for CCS operation ibusb-0.1.so.4

i have installed libsub with sudo apt-get install libusb-0.1-0-dev
but i get this error while installing CCS
failed to locate system libraries for CCS operation ibusb-0.1.so.4
it was solved with the following installation
sudo apt-get install libusb-0.1-4

Protractor - error when starting on Ubuntu 14.04

I'm trying to set up Protractor on Ubuntu 14.04 LTS and I'm getting the following error on this command:
> sudo webdriver-manager start
The error is:
seleniumProcess.pid: 52352
events.js:72
throw er; // Unhandled 'error' event
^
Error: spawn ENOENT
at errnoException (child_process.js:1001:11)
at Process.ChildProcess._handle.onexit (child_process.js:792:34)
Results of webdriver-manager status:
selenium standalone is up to date
chromedriver is up to date
IEDriver is not present
JDK looks to be installed already (java --version):
The program 'java' can be found in the following packages:
* default-jre
* gcj-4.8-jre-headless
* openjdk-7-jre-headless
* gcj-4.6-jre-headless
* openjdk-6-jre-headless
Try: sudo apt-get install <selected package>
Any ideas?
Ensure java is installed:
sudo apt-get install openjdk-7-jre-headless
Dealing with webdriver-manager doesn't require sudo:
webdriver-manager start

Resources