This bug was fixed in the package jockey - 0.9.7-0ubuntu1
---------------
jockey (0.9.7-0ubuntu1) precise; urgency=low
* New upstream bug fix release:
- jockey/detection.py: Accept repository URLs with "file:/", too
- jockey/oslib.py: Completely parse PackageKit output. Thanks Hedayat
Vatankhah! (LP: #900853)
- gtk/jockey-gtk: Create tray icon when indicator support is not
available. Thanks Hedayat Vatankhah! (LP: #900824)
- Launchpad automatic translations update.
* jockey/oslib.py, has_repositories(): Also accept "file:/path..." URLs from
apt-cache policy to recongize local repositories. First half of LP #913927.
Thanks to James Ferguson for the patch.
* jockey/oslib.py, install_package(): Consider file:// URLs a trusted
origin even for binary packages. (LP: #913927)
* tests/oslib.py: Update test_package_install_thirdparty_unsigned_binary()
test to use a http:// URL, as file:// URLs are now considered trusted.
-- Martin Pitt <[email protected]> Sat, 03 Mar 2012 22:30:37 +0100
** Branch linked: lp:~ubuntu-core-dev/jockey/ubuntu
** Changed in: jockey (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to jockey in Ubuntu.
https://bugs.launchpad.net/bugs/913927
Title:
Jockey will fail against local disk archive
Status in OEM Priority Project:
In Progress
Status in OEM Priority Project precise series:
New
Status in “jockey” package in Ubuntu:
Fix Released
Bug description:
Ubuntu 11.10
Jockey 0.9.4-0ubuntu10
Some logic looks problematic and is causing jockey to fail to find
drivers on our on-disk repositories. Local on-disk archives are used
a lot in OEM on customer's first boot. We are currently carrying
patches to Jockey for a number of OEM projects to get around this.
I have found 3 issues in the code related to this:
1. The code in OSLib::has_repositories assumes URIs - "://" from apt-
cache policy. If the archive is file based it will be
"file:/foo/bar/..." and so will not satisfy the test.
2. There is also a similar problem in the detection.py code -
DriverDB::_cache_id(self), which also assumes a "://". When I altered
it to this (along with fixing the above) jockey worked as I would
hope:
m = re.match(".*::/{1,2}(.*)")
if m:
u = m.group(1)
But I'm not sure if that's sufficiently tight? Perhaps
".*(file:/|://)(.*)", and then group(2)?
3. The on-disk binary drivers will be unsigned, so will fail. I
would think an appropriate solution would be to allow the signature
checking to be turned off with a command line option.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/913927/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp