gonzalo / gphoto2-updater

Gphoto2 compiler and installer script. This script was initially created for Raspbian and Raspberry Pi but it is also tested for Ubuntu and Debian Jessie & Wheezy.
http://github.com/gonzalo/gphoto2-updater
292 stars 72 forks source link

raspbian Jessie stuck on libgphoto2 2.5.4 #30

Closed Benjamin7785 closed 8 years ago

Benjamin7785 commented 8 years ago

Hey, running gphoto2-updater on a vanilla raspbian jessie Image seems to fail updating the libgphoto2. while everything updates fine only libgphoto2 remains Version 2.5.4. Any idea to fix this is appreciated. Cheers Ben

P.S.: any chance telling when gphoto2-updater 2.5.9 will be available :-)

gonzalo commented 8 years ago

Very strange. This script specifically downloads and install version 2.5.8. Maybe you have manually installed (via apt-get) other version. Please be sure to remove it via apt-get remove.

Anyway GitHub-integration branch is your option if you want to install the last gphoto2 version. Take a look in https://raw.githubusercontent.com/gonzalo/gphoto2-updater/GitHub-integration/gphoto2-updater.sh

gonzalo commented 8 years ago

Master branch now takes 2.5.9 version from original repositories. Please take a look and check if it works for you.

Benjamin7785 commented 8 years ago

Hey, Unfortunately, there is no success so far. Even trying to update to 2.5.9 leaves libgphoto2 at version 2.5.4. Whereas gphoto2 updates to 2.5.9 nicely. There is a youtube video online showing exactly the same problem I have. https://www.youtube.com/watch?v=hQ14nB6zhcc

Am 27 Nov 2015 um 14:14 schrieb Gonzalo Cao Cabeza de Vaca notifications@github.com:

Master branch now takes 2.5.9 version from original repositories. Please take a look and check if it works for you.

— Reply to this email directly or view it on GitHub.

scribblemaniac commented 8 years ago

Based on that video, I would guess that gphoto2 is not in your PATH variable. What is the output when you run whereis gphoto2? What is the output when you run echo $PATH?

gonzalo commented 8 years ago

As @scribblemaniac said it should be something related to PATHs. Problably, your OS is calling the apt-get version of libgphoto2 instead of the newer one. Be sure that you have uninstalled gphoto2 and libgphoto2-2 packages before executing the script.

An execution of last script version in a virtual RPI wheezy 7.8 gives me:

gphoto2 2.5.9

Copyright (c) 2000-2015 Lutz Mueller and others

gphoto2 comes with NO WARRANTY, to the extent permitted by law. You may
redistribute copies of gphoto2 under the terms of the GNU General Public
License. For more information about these matters, see the files named COPYING.

This version of gphoto2 is using the following software versions and options:
gphoto2         2.5.9          gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2      2.5.9          all camlibs, gcc, ltdl, EXIF
libgphoto2_port 0.12.0         gcc, ltdl, USB, serial without locking'
gonzalo commented 8 years ago

Confirmed by Andr.oid Eric, the problem seems to be the the libgphoto2-port10 package that comes preinstalled on debian jessie. Be sure to remove it manually before executing script

sudo apt-get remove libgphoto2-port10

http://helloraspberrypi.blogspot.com.es/2015/12/install-gphoto2-libgphoto2-version-259.html

scribblemaniac commented 8 years ago

Should we consider adding this line to the script?

Benjamin7785 commented 8 years ago

Okay, removing libgphoto2-port10 did indeed work perfectly. Thanks for the support.

gonzalo commented 8 years ago

Command for removing package libgphoto2-port10 will be included in new script version version.