2011-11-22

Apple IPhone on Debian Squeeze

After following the indications here : http://wiki.debian.org/iPhone i was stopped cold at the line :

4) Connect the iPhone. Hit Cancel if you are asked if you wish to open it as a camera to import pictures. 

After connecting the IPhone i got a "Unable to mount leo's IPhone - Unhandled Lockdown error (-4)". It's actually a known problem and is related to the package libimobiledevice1. As i'm running a mixed squeeze/sid system, i also installed the sid package libimobiledevice2 but it didn't seem to change anything.



Now i looked at the file provided by each package and found this :

me@computer:~# ls -l /usr/lib/libimobile*
lrwxrwxrwx 1 root root     25 Nov 21 02:46 /usr/lib/libimobiledevice.so.1 -> libimobiledevice.so.1.0.2
-rw-r--r-- 1 root root  94520 Jul 15  2010 /usr/lib/libimobiledevice.so.1.0.2
lrwxrwxrwx 1 root root     25 Nov  6 19:09 /usr/lib/libimobiledevice.so.2 -> libimobiledevice.so.2.0.1
-rw-r--r-- 1 root root 116656 Oct 25 01:04 /usr/lib/libimobiledevice.so.2.0.1

What i then tried is linking libimobiledevice.so.1 to the new library :

me@computer:~# rm /usr/lib/libimobiledevice.so.1
me@computer:~# ln -s /usr/lib/libimobiledevice.so.2.0.1 /usr/lib/libimobiledevice.so.1

And ... IT WORKS !





PS: So what i'd like to do is remove the package libimobiledevice1 but :

me@computer:~# apt-get remove libimobiledevice1

The following packages will be REMOVED:
  gdm3 gnome gnome-accessibility gnome-core gnome-desktop-environment gvfs-backends libgpod4 rhythmbox-plugins
0 upgraded, 1 newly installed, 8 to remove and 1 not upgraded.
Need to get 159 kB of archives.
After this operation, 10.5 MB disk space will be freed.
Do you want to continue [Y/n]?
n

so i'm not going to obviously...

PPS: While trying to report a bug with the reportbug utility, it immediately crashed. To report a bug about the reportbug utility and its crash was useless as it was already done for 2 years, and nobody ever bother looking at it, which is sad for a bug reporting application...

No comments:

Post a Comment