Trying to install wkhtmltopdf but get 404 Error - wkhtmltopdf

I'm trying to install wkhtmltopdf on Ubuntu 14.04, and the the first command is supposed to be this:
wget -nv http://downloads.sourceforge.net/project/wkhtmltopdf/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb
But I get the error "ERROR: 404 Not Found"
Why am I receiving this error? I don't see anyone else reporting this issue.

If you go to http://sourceforge.net/projects/wkhtmltopd and read the readme, you will see that the repository recently changed. The correct links can now be found at:
http://download.gna.org/wkhtmltopdf/
And in your case you would now use:
wget -nv http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-trusty-amd64.deb

Related

Solana installation failure with curl: (23) Failure writing output to destination

When following the Solana tool suite installation guide I got the following error which says curl: (23) Failure writing output to destination.
sh -c "$(curl -N -sSfL https://release.solana.com/v1.9.4/install)"
downloading v1.9.4 installer
curl: (23) Failure writing output to destination
solana-install-init: command failed: downloader http://release.solana.com/v1.9.4/solana-install-init-x86_64-unknown-linux-gnu /tmp/tmp.mbRp5X2BUn/solana-install-init
According to the previously asked question about curl: (23) Failure writing output to destination it seems like there is an issue with the script which at least I don't want to change myself to install Solana. Why does cURL return error "(23) Failed writing body"?
When I tried to read the Solana installation script I found that alternatively I can use wget to install Solana which I decided to use instead of curl. There are two steps you have to follow in order to get it fixed.
Uninstall curl from your system temporarily sudo snap remove curl.
Execute sh -c "$(wget https://release.solana.com/v1.9.4/install)" instead of the given command in the Solana tool suite page.
Once you install you have to update your path to add solana, you can do it by adding the following line to the ~/.bashrc file. (Make sure you update the path)
export PATH="/home/{user}/.local/share/solana/install/active_release/bin:$PATH"
I had the same problem and the problem for me was that I installed curl via sudo snap install curl . So I tried:
removing curl using sudo snap remove curl and went with the comment above, using "wget" wich did not work for me.
Then i tried reinstalling curl with sudo apt install curl and then finally
sh -c "$(curl -sSfL https://release.solana.com/v1.10.29/install)"
And it worked like a charm. I hope this helps someone!

Open suse adding repository

Hi I'm trying to add repository to install Termintor on my linux machine (SUSE Linux Enterprise Server 12 SP3). However after running this command
sudo zypper -v addrepo https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo
I get 503 error.
Download (curl) error for 'https://download.opensuse.org/repositories/openSUSE:Factory/standard/openSUSE:Factory.repo':
Error code: HTTP response: 0
Error message: The requested URL returned error: 503
Apparently the source is not available. Is there a way to find the current repo for installing Terminator via zypper?
The correct repository for SLE12 is:
sudo zypper addrepo https://download.opensuse.org/repositories/X11:/terminals/SLE_12/X11:terminals.repo
You can find all the available SUSE builds for 'Terminator' here: https://software.opensuse.org/package/terminator

parse deploy stopped working - issues "dial tcp: lookup api.parse.com: no such host" error

Today when I went to deploy to parse I got the error message below. It was working up until today, and it happens in any directory where I try to use parse. I reinstalled the command line tool but this didn't help. Any ideas as to what is going on and how I can get it to work again?
dial tcp: lookup api.parse.com: no such host
/home/travis/gopath/src/github.com/ParsePlatform/parse-cli/main.go:143 checkIfSupported
/home/travis/gopath/src/github.com/ParsePlatform/parse-cli/main.go:101 main
/home/travis/.gimme/versions/go1.4.2.linux.amd64/src/runtime/proc.go:72 main
/home/travis/.gimme/versions/go1.4.2.linux.amd64/src/runtime/asm_amd64.s:2233 goexit
GOT THIS TO WORK!
go version 1.4.2 is the problem. Use homebrew to "brew install go" to get go version 1.5.3. then install parse-cli with:
'go get -t github.com/ParsePlatform/parse-cli'
now use 'parse-cli deploy' instead of 'parse deploy'
EDIT: In case you haven't set them:
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
I was able to solve this same issue just by running the install:
curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash

Fine Uploader - S3 Server Setup Not working

I have just purchased a license for fine-uploader and i am wanting to implement the upload to s3 usage.
When i setup following the getting started pages i get to step 3:
http://docs.fineuploader.com/quickstart/03-setting_up_server-s3.html
I successfully run and install npm install express aws-sdk in terminal but when i then try the next step to download the server :
wget -O server.js https://raw.github.com/Widen/fine-uploader-server/master/nodejs/s3/s3handler.js
i get this response in terminal:
xxxx-iMac-2:~ xxxxx$ wget -O server.js https://raw.github.com/Widen/fine-uploader-server/master/nodejs/s3/s3handler.js
-bash: wget: command not found
You will need to ensure wget is installed on your system or is available on your path, according to the error message.
You really don't need wget to get that file though, just navigate to https://github.com/Widen/fine-uploader-server/blob/master/nodejs/s3/s3handler.js.

Error while installing RVM using Curl in Ubuntu 14.04

I was trying to install RVM using Curl in Ubuntu 14.04.
I ran the following command:
\curl -sSL https://get.rvm.io | bash -s stable
And got the following error:
curl: (7) Failed to connect to get.rvm.io port 80: Network is unreachable
Any help to resolve this issue is highly appreciable. Thanks
Try this before execute curl:
echo ipv4 >> ~/.curlrc
curl is used to download files via HTTP much like wget and it means that a connection to the remote site is failing which is why it is unable to download. Saw this on another forum,
give it a shot and see if it works for you:
"replace the get.rvm.io part with raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer -it's the same script, just takes out some potential DNS problems on rvm's end"
Refere to this link https://www.digitalocean.com/community/questions/how-to-install-ruby-on-rails

Resources