Following the instructions from this book:
http://www.amazon.com/Beginning-Haskell-A-Project-Based-Approach/dp/1430262508/ref=sr_1_2?ie=UTF8&qid=1392746814&sr=8-2&keywords=haskell
I have Eclipse Kepler on Mac OS X Maverick. On installation within Eclipse, I get these errors on installation:
Resolving dependencies...
cabal: Error: some packages failed to install:
Graphalyze-0.14.0.2 depends on transformers-base-0.4.1 which failed to
install.
SourceGraph-0.7.0.5 depends on transformers-base-0.4.1 which failed to
install.
conduit-1.0.15 depends on transformers-base-0.4.1 which failed to install.
http-client-conduit-0.2.0.1 depends on transformers-base-0.4.1 which failed to
install.
http-conduit-2.0.0.6 depends on transformers-base-0.4.1 which failed to
install.
lifted-base-0.2.2.0 depends on transformers-base-0.4.1 which failed to
install.
mmorph-1.0.2 failed while unpacking the package. The exception was:
user error (data is not in tar format)
monad-control-0.3.2.3 depends on transformers-base-0.4.1 which failed to
install.
pandoc-1.12.3.3 depends on transformers-base-0.4.1 which failed to install.
resourcet-0.4.10 depends on transformers-base-0.4.1 which failed to install.
text-stream-decode-0.1.0.3 failed while unpacking the package. The exception
was:
user error (data is not in tar format)
transformers-base-0.4.1 failed while unpacking the package. The exception was:
user error (data is not in tar format)
yaml-0.8.7.2 depends on transformers-base-0.4.1 which failed to install.
Not sure what I am doing wrong.
Related
I try to intsall the aws-s3-postgres extension on a windows machine. I follow the installing guide from https://github.com/chimpler/postgres-aws-s3
with - make install - on the directory, where the clone aws-s3-postgres is placed i get following error:
process_begin: CreateProcess((null), pg_config --pgxs, ...) failed.
make: *** windows32_openpipe (): unable to launch process (e=2)
. Stop.
Now is installed:
Python 3.10.0
pip 22.1.2 from C:\Users\xxx\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
boto Version: 2.49.0
boto3 Version: 1.24.7
pg_config also running
clone aws-s3-postgres is donnloaded.
I would like to install jagsUI on the cluster that I am using. However, this requires me to load JAGS4.3.0 module which I have installed on my computer. This is the error I get when installing jagsUI:
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
* installing *source* package 'rjags' ...
** package 'rjags' successfully unpacked and MD5 sums checked
** using non-staged installation
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: pkg-config file for jags 4 unavailable
configure: WARNING: Consider adding the directory containing `jags.pc`
configure: WARNING: to the PKG_CONFIG_PATH environment variable
configure: Attempting legacy configuration of rjags
checking for jags... no
configure: error: "automatic detection of JAGS failed. Please use pkg-config to locate the JAGS library. See the INSTALL file for details."
ERROR: configuration failed for package 'rjags'
* removing '/home/cltane002/Rlibs/rjags'
During startup - Warning message:
Setting LC_CTYPE failed, using "C"
ERROR: dependency 'rjags' is not available for package 'jagsUI'
* removing '/home/cltane002/Rlibs/jagsUI'
The downloaded source packages are in
'/tmp/RtmpyIUv3r/downloaded_packages'
Warning messages:
1: In install.packages("jagsUI", "~/Rlibs", "http://ftp.ussg.iu.edu/CRAN") :
installation of package 'rjags' had non-zero exit status
2: In install.packages("jagsUI", "~/Rlibs", "http://ftp.ussg.iu.edu/CRAN") :
installation of package 'jagsUI' had non-zero exit status
I have checked on my terminal whether jags has been installed. The module file for jags is not showing when I do module in the terminal connected to the cluster. I do I load the JAGS software to the cluster?
I would check the documentation page of the hpc cluster. The cluster I used before from my university have already compiled and installed the JAGS module on the cluster. All I needed to do is simply load the module. Usually, the hpc documentation website has a page on what modules are available and also example scripts to load and run them.
installing MongoDB on ubuntu wsl2
I tried to install MongoDB on WSL( ubuntu 20), after using this link but there is something wrong!
I don't know what the heck is: systemd :"System has not been booted with systemd as init system (PID 1)" and how should I resolve that...
I'm totally beginner in Linux experience.
I've searched for this problem and apparently, people using DOCKTER in wsl had such a problem but I can't figure out how should I do in my case.
thanks
The whole error:
Setting up mongodb-org-server (4.4.4) ...
System has not been booted with systemd as init system (PID 1). Cant operate.
Failed to connect to bus: Host is down
dpkg: error processing package mongodb-org-server (--configure):
installed mongodb-org-server package post-installation script subprocess returned error exit status 1
Setting up mongodb-org-shell (4.4.4) ...
Setting up mongodb-org-mongos (4.4.4) ...
Setting up mongodb-org-database-tools-extra (4.4.4) ...
dpkg: dependency problems prevent configuration of mongodb-org:
mongodb-org depends on mongodb-org-server; however:
Package mongodb-org-server is not configured yet.
dpkg: error processing package mongodb-org (--configure):
dependency problems - leaving unconfigured
Setting up mongodb-org-tools (4.4.4) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for man-db (2.9.1-1) ...
Errors were encountered while processing:
mongodb-org-server
mongodb-org
After lots of searches and trial and error, I found the only thing it apparently needs to do is: right after the MongoDB installation ("In this Lik"), we should set "systemctl" to enable!
And then it needs to reboot your system.
sudo systemctl enable MongoDB
zguindouos#zguindouos:~$ sudo apt-get install mongodb-org
[sudo] password for zguindouos:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mongodb-org is already the newest version (3.2.12).
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-extra-4.4.0-66-generic (4.4.0-66.87) ...
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-66-generic /boot/vmlinuz-4.4.0-66-generic
run-parts: executing /etc/kernel/postinst.d/dkms 4.4.0-66-generic /boot/vmlinuz-4.4.0-66-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 4.4.0-66-generic /boot/vmlinuz-4.4.0-66-generic
update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-66-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-4.4.0-66-generic (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-extra-4.4.0-66-generic; however:
Package linux-image-extra-4.4.0-66-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 4.4.0.66.70); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-image-generic:
linux-signed-image-generic depends on linux-image-extra-4.4.0-66-generic; however:
Package linux-image-extra-4.4.0-66-generic is not configured yet.
dpkg: error processing package linux-signed-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems preventNo apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
configuration of linux-signed-generic:
linux-signed-generic depends on linux-signed-image-generic (= 4.4.0.66.70); however:
Package linux-signed-image-generic is not configured yet.
dpkg: error processing package linux-signed-generic (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-4.4.0-66-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
Errors were encountered while processing:
linux-image-extra-4.4.0-66-generic
linux-image-generic
linux-generic
linux-signed-image-generic
linux-signed-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
MongoDB errors: mongodb-10gen E: Sub-process /usr/bin/dpkg returned an error code (1)
After a fresh install of Ubuntu 15.04, I attempted to install and run SBT using the instructions from www.scala-sbt.org. It installed fine, but when I run it for the first time, I get a bunch of errors:
~$ sbt
...
:::: ERRORS
Server access Error: java.lang.RuntimeException: Unexpected error:
java.security.InvalidAlgorithmParameterException: the trustAnchors
parameter must be non-empty
url=https://repo1.maven.org/maven2/org/scala-sbt/sbt/0.13.9/sbt-0.13.9.jar
:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt;0.13.9: not found
Error during sbt execution: Error retrieving required libraries
(see /root/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.13.9
What is going wrong?
I have had same problem with xubuntu 15.10. I installed package ca-cacert:
sudo apt-get install ca-cacert
It solved this problem.
After a bit of debugging, I found that the cacerts file is missing from the latest version of OpenJDK.
All I had to do was copy the cacerts file from /etc/ssl/certs/java/cacerts from a working computer to my new workstation, and it worked fine.
I've made my file available at this link.