SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2010-04-05 12:29:01

das88
Member
From: Berkeley, CA USA
Registered: 2010-04-05
Posts: 44

ipod touch in linux?

Hi all,

I booted up an ubuntu 10.04 live usb earlier today (still no out of the box wireless support for my dell mini 9 and it somehow edited my bios settings) while I had my ipod touch plugged in and I was shocked to find that not only did it recognize that I had an ipod plugged in, ubuntu actually mounted it as a file system and I could edit files on my ipod! I haven't checked around in a few months but last I heard no one had managed to get into the ipod touch/iphone.

Does anyone know if I can get the same functionality in #! without installing tons and tons of new packages?

Thanks!
Devin

Last edited by das88 (2010-04-19 14:23:17)

Offline

Be excellent to each other!

#2 2010-04-05 18:17:18

anonymous
The Mystery Member
From: Arch Linux Forums
Registered: 2008-11-29
Posts: 9,418

Offline

#3 2010-04-05 18:25:17

das88
Member
From: Berkeley, CA USA
Registered: 2010-04-05
Posts: 44

Re: ipod touch in linux?

I guess I'm only seven months behind...

Thanks Anonymous!

Offline

#4 2010-04-19 15:05:02

das88
Member
From: Berkeley, CA USA
Registered: 2010-04-05
Posts: 44

Re: ipod touch in linux?

Okay, so I marked this solved without actually trying the fix... I've finally gotten around to attempting this and after following the above, it didn't work.

I installed ifuse via the default crunchbang repository configuration and got no response when I plugged in my iPod. In fact, I think I remember it recognizing it as a camera before and it wasn't doing that after the install. I enabled the ubuntu lucid repositories in order to install the current versions of ifuse, etc. (and actually the libiphone packages have been supplanted by the newer libimobiledevice). When I tried to update ifuse with libimobiledevice it installed and updated a bunch of libraries and some other packages including dpkg. I don't believe the install completed because now whenever I try to modify any packages, the install interrupts with

E: Sub-process /usr/bin/dpkg returned an error code (1)

Also, I think the install tried to modify the packages controlling the usb hardware (libusbmux0, libusbmux-dev, and libusb-1.0.0-dev in particular) but I'm running linux on a usb thumb drive. Right now the system keeps trying to replace the other packages with libusbmuxd1 and usbmuxd. During my mucking about with the ipod packages I saw that the install process restarted (or at least attempted to restart) the hardware abstraction layer and I assume this is associated with the usb packages. Does my running linux on a usb device interfere with these updates? Also, the usb packages may have been modified in the initial install of ifuse (without lucid) but I don't remember there being any errors there. Is there some log of all the terminal output somewhere? How far back would it go? If there isn't one I would love to set this up somehow if someone knows how to do that.

I removed libimobiledevice with apt-get and continued to receive the dpkg error.

My latest idea was to disable the lucid repositories and try to reinstall dpkg. After modifying sources.list and doing apt-get update, this is what I get:

devin@dirac:~$ sudo apt-get install --reinstall dpkg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of dpkg is not possible, it cannot be downloaded.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies.
  libimobiledevice0: Depends: libusbmuxd1 (>= 1.0.0) but it is not going to be installed
                     Depends: usbmuxd but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

So I did what it said and tried apt-get -f install:

devin@dirac:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies...Done
The following packages were automatically installed and are no longer required:
  libplist0 libtasn1-3-dev libgpg-error-dev libgcrypt11-dev libusbmux0 libgnutls-dev libusbmux-dev zlib1g-dev libxml2-dev libusb-1.0-0-dev
  libplist-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libusbmuxd1 usbmuxd
The following NEW packages will be installed
  libusbmuxd1 usbmuxd
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
18 not fully installed or removed.
Need to get 0B/36.7kB of archives.
After this operation, 205kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 89918 files and directories currently installed.)
Unpacking libusbmuxd1 (from .../libusbmuxd1_1.0.1-0ubuntu1~j_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~j_i386.deb (--unpack):
 trying to overwrite '/usr/lib/libusbmuxd.so.1.0.0', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~j
Unpacking usbmuxd (from .../usbmuxd_1.0.1-0ubuntu1~j_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~j_i386.deb (--unpack):
 trying to overwrite '/lib/udev/rules.d/85-usbmuxd.rules', which is also in package libusbmux0 0:1.0.0-rc1-1ubuntu3~j
Errors were encountered while processing:
 /var/cache/apt/archives/libusbmuxd1_1.0.1-0ubuntu1~j_i386.deb
 /var/cache/apt/archives/usbmuxd_1.0.1-0ubuntu1~j_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then autoremove:

devin@dirac:~$ sudo apt-get aut-remove
E: Invalid operation aut-remove
devin@dirac:~$ sudo apt-get auto-remove
E: Invalid operation auto-remove
devin@dirac:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
  libimobiledevice0: Depends: libusbmuxd1 (>= 1.0.0) but it is not installed
                     Depends: usbmuxd but it is not installed
E: Unmet dependencies. Try using -f.

I'm at a bit of a loss here. I'm connected to the internet, so I'm assuming the "cannot be downloaded" error I get when trying to reinstall dpkg is because I disabled the lucid repositories and it can't find the version it wants. My response there would be to downgrade dpkg to the latest version available with the default #! repository configuration but I'm not sure how to do that. Any advice here is much appreciated.

Thanks!
Devin

Last edited by das88 (2010-04-19 15:05:27)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo