On Sun, Mar 6, 2011 at 1:51 PM, Shawn Guo <shawn....@freescale.com> wrote: > Hello Dave, > > On Fri, Mar 04, 2011 at 12:03:51PM +0000, Dave Martin wrote: >> On Fri, Mar 4, 2011 at 8:09 AM, Spring Zhang <spring.zh...@linaro.org> wrote: >> > >> > >> > On 9 February 2011 04:16, Steve Langasek <steve.langa...@linaro.org> wrote: >> >> >> >> Hi Aneesh, >> >> >> >> On Tue, Feb 08, 2011 at 05:43:39PM +0530, Aneesh V wrote: >> >> >> >> > On Monday 07 February 2011 11:07 PM, Steve Langasek wrote: >> >> > >On Mon, Feb 07, 2011 at 03:59:06PM +0100, Alexander Sack wrote: >> >> > >>Since we only really support developer platform hosts with the tools >> >> > >>ppa enabled, could we improve l-m-c to print a warning if that ppa >> >> > >>isn't enabled? >> >> >> >> > >>The other idea I had was to include the working qemu-arm-static in >> >> > >>the tarball releases ... in that way things might even work on >> >> > >>non-ubuntu platform. >> >> >> >> > >Well, given that Aneesh's original message mentioned he was downloading >> >> > >l-i-t directly from launchpad, my first thought was that he indeed >> >> > > wasn't >> >> > >running Ubuntu on the desktop. Aneesh, was this the case? What are >> >> > > you >> >> > >running on your desktop (distro, version)? >> >> >> >> > I am running Ubuntu Maverick on my desktop. However apt-get didn't work >> >> > for linaro-image-tools. I got this message: >> >> >> >> > E: Couldn't find package linaro-image-tools >> >> >> >> > So, I downloaded it from launchpad as mentioned in the wiki. >> >> >> >> Ok. Which wiki page did you look at? We should be directing maverick >> >> users >> >> to enable the linaro-maintainers/tools ppa, which includes both the >> >> linaro-image-tools and qemu-linaro packages. >> > >> > I can find linaro-image-tools, but no qemu-linaro on maverick, and I added >> > PPA. >> >> >> >> https://wiki.linaro.org/Releases/DailyBuilds#On%20Ubuntu%2010.10 >> >> >> >> Is there another wiki page with conflicting instructions that we need to >> >> clean up? Or did you read this and go for the download instead of the ppa >> >> (in which case we should clarify the text to direct people to the ppa more >> >> strongly)? >> >> Adding the PPA should achieve the necessary thing. >> >> qemu-linaro is the name of the source package: the generated binary >> packages you need are called qemu-kvm (from the main archive) and >> qemu-user-static (from the PPA). However, the dependencies for >> linaro-image-tools should pull these in automatically. >> >> What's the exact problem you're seeing when trying to install? >> > I'm not sure what the Spring's is, but here is mine. > > $ linaro-media-create --rootfs ext3 --mmc /dev/sdb --binary > linaro-n-developer-tar-20110302-0.tar.gz --hwpack > hwpack_linaro-imx51_20110302-0_armel_unsupported.tar.gz --dev mx51evk > Traceback (most recent call last): > File "/usr/bin/linaro-media-create", line 109, in <module> > if not confirm_device_selection_and_ensure_it_is_ready(args.device): > File "/usr/lib/pymodules/python2.6/linaro_media_create/check_device.py", > line 122, in confirm_device_selection_and_ensure_it_is_ready > if _does_device_exist(device): > File "/usr/lib/pymodules/python2.6/linaro_media_create/check_device.py", > line 58, in _does_device_exist > bus, udisks = _get_system_bus_and_udisks_iface() > File "/usr/lib/pymodules/python2.6/linaro_media_create/check_device.py", > line 34, in _get_system_bus_and_udisks_iface > bus.get_object("org.freedesktop.UDisks", "/org/freedesktop/UDisks"), > File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 244, in get_object > follow_name_owner_changes=follow_name_owner_changes) > File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 241, in __init__ > self._named_service = conn.activate_name_owner(bus_name) > File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 183, in > activate_name_owner > self.start_service_by_name(bus_name) > File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 281, in > start_service_by_name > 'su', (bus_name, flags))) > File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in > call_blocking > message, timeout) > dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The > name org.freedesktop.UDisks was not provided by any .service files > >> What output do you get from apt-cache policy linaro-image-tools ? >> > $ apt-cache policy linaro-image-tools > linaro-image-tools: > Installed: 0.4.3-0ubuntu2~linaro1 > Candidate: 0.4.3-0ubuntu2~linaro1 > Version table: > *** 0.4.3-0ubuntu2~linaro1 0 > 500 http://ppa.launchpad.net/linaro-maintainers/tools/ubuntu/ > maverick/main amd64 Packages > 100 /var/lib/dpkg/status > 0.3 0 > 500 http://us.archive.ubuntu.com/ubuntu/ maverick-updates/universe > amd64 Packages > 0.2 0 > 500 http://us.archive.ubuntu.com/ubuntu/ maverick/universe amd64 > Packages > > And I'm running Maverick server edition on a 'AMD Athlon(tm) 64 X2 > Dual Core Processor 3800+'. >
It looks like you have the correct linaro-image-tools installed. Do you have udisks installed though? The error messages suggest it might not be there--- that could be the problem. Let us know if that fixes the problem for you; it implies a missing entry in the package dependencies list if so. Cheers ---Dave _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev