Update apt cache if it is not present

Bug #439530 reported by Marc Deslauriers on 2009-09-30
98
This bug affects 17 people
Affects Status Importance Assigned to Milestone
jockey (Ubuntu)
Medium
Martin Pitt
Lucid
Medium
Martin Pitt

Bug Description

Booting the karmic 20090930.1 netbook remix on a Dell Mini 9, the wireless card isn't enabled during the livecd portion, but jockey detects it and lists the proprietary drivers.

If I install karmic on the Dell Mini 9, jockey does not detect the wireless card after installation. Opening jockey results in a blank window with no proprietary driver suggestions.

ProblemType: Bug
Architecture: i386
Date: Wed Sep 30 14:21:31 2009
DistroRelease: Ubuntu 9.10
LiveMediaBuild: Ubuntu-Netbook-Remix 9.10 "Karmic Koala" - Beta i386 (20090930.1)
MachineType: Dell Inc. Inspiron 910
Package: jockey-gtk 0.5.4-0ubuntu1
PackageArchitecture: all
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-11-generic root=UUID=6e8bf388-c918-4e17-a583-c08060f95444 ro quiet splash
ProcEnviron:
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: jockey
Tags: ubuntu-unr
Uname: Linux 2.6.31-11-generic i686
dmi.bios.date: 03/05/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A05
dmi.board.name: CN0J14
dmi.board.vendor: Dell Inc.
dmi.board.version: A05
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A05
dmi.modalias: dmi:bvnDellInc.:bvrA05:bd03/05/2009:svnDellInc.:pnInspiron910:pvrA05:rvnDellInc.:rnCN0J14:rvrA05:cvnDellInc.:ct8:cvrA05:
dmi.product.name: Inspiron 910
dmi.product.version: A05
dmi.sys.vendor: Dell Inc.

Marc Deslauriers (mdeslaur) wrote :
Marc Deslauriers (mdeslaur) wrote :

FYI, during installation, I did _not_ have an ethernet cable plugged in.

Marc Deslauriers (mdeslaur) wrote :

When installing with Internet connectivity via an ethernet cable, jokey works as expected and suggests the Broadcom STA wireless driver. Installing works as expected also.

Steve Langasek (vorlon) on 2009-10-01
Changed in jockey (Ubuntu):
status: New → Triaged
importance: Undecided → High
Tony Espy (awe) wrote :

I've actually run into this on several machines that use the BCM4312 Wi-Fi card, a Dell Mini 9, a new Macbook 13" ( 5,1 ), and a recent HP Mini.

I've tried running Hardware Drivers with an Ethernet cable plugged in, and it seems to only detect the card ~ 50% of the time.

I usually end up having to install bcmwl-kernel-source by hand.

Note, my latest testing was done using Karmic Beta UNR over the weekend.

summary: - Wireless card not detected on Dell Mini 9
+ Broadcom Wi-Fi not detected
Changed in jockey (Ubuntu):
assignee: nobody → Martin Pitt (pitti)

The main problem is that right after an installation (at least after those without internet), apt-get update hasn't run yet, and those drive packages are not actually available. They will appear (and also offered via popup) after the first apt-get update run.

summary: - Broadcom Wi-Fi not detected
+ Does not offer drivers when packages are not available
Changed in jockey (Ubuntu):
importance: High → Medium
Marc Deslauriers (mdeslaur) wrote :

Once it was installed without network access, if I plug a cable in and do an apt-get update, jockey still reports no drivers available. I need to reboot for jockey to try again. This may be non-obvious for someone trying to get wireless working.

Brian Murray (brian-murray) wrote :

I think there are 2 separate issues here.

1) Wireless drivers do not work on the Live CD (which also can be seen in bug 443185)

 * This is also a regression from Jaunty where they did work

2) Jockey does not detect drivers after installing until apt-get update is run

Is that correct?

Marc Deslauriers (mdeslaur) wrote :

It didn't occur to me that I should try to get the wireless drivers working during the Live CD portion, so that part I don't know about.

The second issue is correct. Also, even _after_ an apt-get update, jockey does not detect the drivers until a reboot.

Martin Pitt (pitti) wrote :

> The second issue is correct. Also, even _after_ an apt-get update, jockey does not detect the drivers until a reboot.

Or waiting for ten minutes, until the backend times out (or sudo killall jockey-backend). That's a know followup cause of this original report indeed.

tags: added: regression-potential
Martin Pitt (pitti) wrote :

Removing regression-potential again. Jockey never behaved any different.

tags: removed: regression-potential
tags: added: iso-testing
Martin Pitt (pitti) on 2010-03-04
Changed in jockey (Ubuntu Lucid):
milestone: none → ubuntu-10.04-beta-1
summary: - Does not offer drivers when packages are not available
+ Update apt cache if it is not present
Changed in jockey (Ubuntu Lucid):
status: Triaged → In Progress
Martin Pitt (pitti) wrote :

trunk r617

Changed in jockey (Ubuntu Lucid):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jockey - 0.5.8-0ubuntu1

---------------
jockey (0.5.8-0ubuntu1) lucid; urgency=low

  * New upstream bug fix release:
    - Make Control-C work properly. Thanks Adys! (LP: #479548)
    - Read system vendor/product from sysfs, not from hal
    - OSLib: Add new method has_repositories(), as a foundation for fixing
      #442776
    - backend.py, new_used_available(): Skip check if no package repositories
      are available, to avoid writing an empty cache file and thus never
      showing Jockey notifications again once they become available.
      (LP: #442776)
    - Shutdown D-BUS backend on UI shutdown, to not start the next UI with
      potentially outdated information.
    - backend.py: Expose has_repositories() and update_repository_indexes() to
      clients.
    - ui.py: Download/update package indexes if they are missing.
      (LP: #439530)
  * jockey/oslib.py: Provide an apt implementation of has_repositories().
  * jockey/oslib.py: Provide an apt implementation of
    update_repository_indexes().
 -- Martin Pitt <email address hidden> Thu, 11 Mar 2010 17:48:11 +0100

Changed in jockey (Ubuntu Lucid):
status: Fix Committed → Fix Released
server_3249 (server-3249) wrote :

I have the same issue. This is not fixed..

Changed in jockey (Ubuntu Lucid):
status: Fix Released → Incomplete
Martin Pitt (pitti) on 2010-03-20
Changed in jockey (Ubuntu Lucid):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints