I am unable to upgrage QGIS 2.4 on Ubuntu 14.04. I am following the instructions given at http://qgis.org/en/site/forusers/alldownloads.html#ubuntu
Details: When I used update-manager, I got the error message
Requires installation of untrusted packages:
This requires installing packages from unauthenticated sources.
(BTW, every other update/upgrade works.) I went to the settings of update-manager and deleted the QGIS entry. Then (per instructions given in the above web site), I entered
gpg --keyserver keyserver.ubuntu.com --recv DD45F6C3
But the system timed out after displaying
gpg --keyserver keyserver.ubuntu.com --recv DD45F6C3
My /etc/apt/source.list has the following:
## QGIS
deb http://qgis.org/debian trusty main
deb-src http://qgis.org/debian trusty main**
Any help would be appreciated.
-ali
I had the same issue and doing it manually solved my problem. Below commands are from QGIS installation instructions
wget -O - http://qgis.org/downloads/qgis-2015.gpg.key | gpg --import
gpg --fingerprint 3FF5FFCAD71472C4
Should output:
pub 2048R/D71472C4 2015-08-19 [expires: 2016-08-18]
Key fingerprint = D004 063C BF60 B252 6363 19AA 3FF5 FFCA D714 72C4
uid QGIS Archive Automatic Signing Key (2015) <qgis-developer#lists.osgeo.org>
sub 2048R/3B45F5E8 2015-08-19 [expires: 2016-08-18]
After you have verified the fingerprint you can add the key to apt with:
gpg --export --armor 3FF5FFCAD71472C4 | sudo apt-key add -
I had many issues with QGIS upgrades due to the manyfold dependencies. Using synaptics package manager solved it for me.
I simply used launchpad-getkeys. You can find instructions here.
Related
i have tried a number of times to get php 5.6 working on ubuntu 16.04
I keep getting a server error 500 when trying to browse http:/domain.com/phpinfo.php to check which version of php is active (server also has 7.0, 7.1, & 7.2)
I also have same error when attempting to run php 7.1 (7.0 & 7.2 are working no problems and i have websites running on the virtualmin server.
I have looked at various answers about this kind of thing here but in all honesty, the answers are often so broken and different i cant find a single procedure that is reliable and works.
Anyone help with this?
For example, will the following ispconfig 3 tutorial, which installs php5.6 in /opt directory, work with virtualmin? ( https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/ )
My assumption is that the above tutorial will work and i just need to tell virtualmin where the php 5.6 binaries are located in /opt/? ( see this thread... https://www.virtualmin.com/node/40004 )
By default, Ubuntu 16.04 server assigns the PHP 7.07 or higher version. If you want to allow/assign PHP 5.6 on your server then you will have to install it manually from the following command:
Step 1: Step 1: Update Apt-Get
Linux command: apt-get update && apt-get upgrade.
Step 2: Install PHP 5.6
Install the PHP5.6 repository with these two commands.
Linux command:
apt-get install -y software-properties-common
add-apt-repository ppa:ondrej/php
apt-get update
apt-get install -y php5.6
Step 3: Switch PHP 7.0 to PHP 5.6
Switch from PHP 7.0 to PHP 5.6 while restarting Apache to recognize the change:
a2dismod php7.0 ; a2enmod php5.6 ; service apache2 restart
Verify that PHP 5.6 is running on Apache by putting up a PHP info page. To do so, use the code below in a file named as infopage.php and upload it to the /var/www/html directory.
<? phpinfo(); ?>
First add the ppa:ondrej/php repository:
sudo -s
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:ondrej/php
If at this point it throws a CPG error like:
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY <THE_KEY>
W: The repository 'http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
..pay attention in the 2nd line showing THE_KEY, then solve with:
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <THE_KEY>
Finally:
apt-get update
apt-get install -y php5.6
php -v
While am compile using swift build, am getting following error in my Ubuntu machine
$swift build
/home/xxxxxxxxx/Downloads/swift-DEVELOPMENT-SNAPSHOT-2016-02-25-a-ubuntu15.10/us
r/bin/swift-build: error while loading shared libraries: libicuuc.so.55: cannot
open shared object file: No such file or directory
How can i fix this issue?
Thanks.
You can manually download the good .dep
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb
Then you run:
sudo dpkg -i libicu55_55.1-7_amd64.deb
If it miss some dependency:
sudo apt-get -f install
It has worked for me.
Your can find the other architecture on the debian package website :
https://packages.debian.org/sid/libicu55
p.s: I know this is on SID, but this is the only version that I found
*note...packages may have been removed
Your system lacks a critical component for building Swift, libicu-dev.
Install this:
sudo apt-get install libicu-dev
But that was for building Swift from source. You were talking about building with Swift, my apologies.
Unfortunately it seems it won't work either: Swift for Linux only officially runs on Ubuntu 15.10 and 14.04, and you tell me in the comments that you're running 15.04.
I know there's tutorials on the web on how to make it work on Mint and other distros... But the best would be, if possible, that you update your install of course.
I searched on the net and find a list in debian packages that shows the libicuuc.so.55 file.
apt-get install libicu55
Will resolve the issue.
hallow_me's link to download libicu55_55.1-7_amd64.deb doesn't work.
Here are the latest links https://packages.debian.org/stretch/amd64/libicu57/download
Like
wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu55_55.1-7_amd64.deb
Then follow hallow_me's instruction to install it.
Try the followings lines
echo "deb http://security.ubuntu.com/ubuntu xenial-security main" | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get install libicu55
I'm trying to install MongoDB 3.0 on my Debian server (wheezy) 32 bit and I can't figure out what's gone wrong despite the fact that I followed the MongoDB install Tutorial:
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/debian "$(lsb_release -sc)"/mongodb-org/3.0 main" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list
apt-get update
apt-get install -y mongodb-org
The fourth command still failing even if the others are successful:
E: Unable to locate package mongodb-org
I've found subjects of this matter on Stackoverflow but it was on Ubuntu so, ...
EDIT:
lsb_release -sc gives wheezy
NO APT-GET SOLUTION:
Get the Linux 32-bit Legacy version of MongoDB here:
wget https://fastdl.mongodb.org/linux/mongodb-linux-i686-3.0.2.tgz
tar zxvf mongodb-linux-i686-3.0.2.tgz
cp mongodb-linux-i686-3.0.2.tgz/bin/* /usr/bin
Don't forget to change ownership/permissions.
sudo apt-get install -y mongodb
I spent 2 hrs on the same problem on clean Debian x64. just try. this.
As you can verify by visiting
http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/main/binary-i386/
there are no packages there, in contrast to
http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.0/main/binary-amd64/
I do not know why this is the case, but one option is to build the packages from source in your i386 machine.
I litle late but:
wget http://repo.mongodb.org/apt/debian/dists/wheezy/mongodb-org/3.4/main/binary-amd64/{package_vesion}
sudo dpkg -i {package_version}
But I could not found the x86 version, only x86_64.
I used a normal root command apt-get install mongodb-org without the -y option
P.S: that works for Debian 9 too
I've followed the tutorial on SE as well as trying the extra steps from Hertaville and bootc but I still get the error that prompted the original SE question. I'm stumped.
I get five steps into the process before I get the error:
sudo apt-get install git rsync cmake lib32z1 lib32ncurses5 lib32bz2-1.0
git clone git://github.com/raspberrypi/tools.git
export PATH=$PATH:$HOME/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin
. ~/.bashrc
arm-linux-gnueabihf-gcc -v
Error:
arm-linux-gnueabihf-gcc: error while loading shared libraries:
libstdc++.so.6: cannot open shared object file: No such file or directory
libstdc++.so.6 is present in all three directory trees mentioned in the tutorials as well as ./lib/x86_64-linux-gnu/libstdc++.so.6, but adding the relevant one to the path doesn't help (see below). I suspect there's a library path not being set, but I have no idea what that is.
I'm doing this in a virtual machine running Ubuntu 13.10 with netbeans and other tools, plus a LAMP stack installed. netbeans will build and run C/C++ executables just fine (and obviously IO can do the same from the command line).
Other things I've tried without success
export PATH=$PATH:$HOME/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/arm-linux-gnueabihf/lib
Hertaville suggest adding 32 bit architecture:
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6-i386 lib32stdc++6 zlib1g:i386
And the "build-essential" package:
sudo apt-get install build-essential git
Which also didn't help. I've also rebooted just in case.
As expected the answer is trivial - install lib32stdc++6
The first line above should read:
sudo apt-get install libc6-i386 lib32z1 lib32stdc++6
I new to this forum and new to MongoDB.
I am currently taking the 10gen online education course for MongoDB and have been doing some of the online tutorials. However, my programming experience is limited to classroom experience mainly in java with some experience in SQL, python.
As I have been going through the tutorials, I have noticed a gap in knowledge in some key areas and a gap in the tools that I should be using for development. I would like to fill in these gap asap as best as possible.
I am asking for advice on any forums that I should join or look at, websites, software I should be getting (basically any tools that a programmer should have, i am mainly just using eclipse), or just general advice on what you wish you knew when you were starting out..
Thanks!
If you are using Ubuntu:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo nano /etc/apt/sources.list.d/10gen.list
Add the line
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
sudo apt-get update
sudo apt-get install mongodb-10gen
sudo nano /etc/mongodb.conf
sudo nano /etc/init.d/mongodb.conf
sudo service mongodb start
mongo
> db.test.save( { a: 1 } )
> db.test.find()
sudo apt-get install php-pear
sudo apt-get install php5-dev
sudo apt-get install make
wget https://github.com/mongodb/mongo-php-driver/archive/master.zip
unzip master.zip
phpize
./configure
make
sudo make install
or
sudo pecl install mongo
cp /usr/lib/php5/20090626+lfs/mongo.so /opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/mongo.so
cp /lampp/lib/php/extensions/no-debug-non-zts-20100525
sudo /opt/lampp/lampp restart
If you are using Windows:
Download
Mongodb
http://www.mongodb.org/downloads
and
mongodb-php driver
https://github.com/mongodb/mongo-php-driver/downloads
You may also need RockMongo (similar to phpmyadmin)
http://rockmongo.com/downloads