Comment 39 for bug 355998

Revision history for this message
Randy Noseworthy (randynose) wrote :

Hey all! I've tried to use @Tim Kosse's fix / patch and I'm running into problems. I tried it first from a default terminal window, and then thought that changing to the dir where the files are might help. - it didn't. I do a...

cd /usr/share/hal/fdi/preprobe/10osvendor/
sudo apt-get install build-essential devscripts
sudo apt-get install build-essential debuild
apt-get build-dep libgphoto2

-after that's run I run into this problem:

E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
me@my-laptop:~$ sudo apt-get build-dep libgphoto2
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to find a source package for libgphoto2
me@my-laptop:~$

apt-get source libgphoto2
wget http://launchpadlibrarian.net/25783305/libgphoto_sansa.diff
patch -p0 -i libgphoto_sansa.diff
cd libgphoto2-2.4.2
debuild -uc -us
cd ..
dpkg -i libgphoto2-2_2.4.2-0ubuntu4_i386.deb