apt-get hangs: DKMS: install completed.

Bug #1173372 reported by JoeR
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

result of bug
a) DKMS: install completed.
b) can no longer use apt-get nor GUI "update manager"

steps to reproduce:
- get working dell laptop with broadcom wifi hardware, update firmware
- wipe with DBAN CD
- install 12.04 version of Ubuntu
- use GUI app to update, "update manager"
- reboot
- open terminal
    sudo apt-get update
    sudo apt-get --reinstall install bcmwl-kernel-source

results:
a) DKMS: install completed.
b) can no longer use apt-get nor GUI "update manager"

notes:
======================================================

I followed the docs on
https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx?action=login&login=1

My hardware should support the b43 - Open source driver

    For Chip ID BCM4306 (rev 03) BCM4311

=====================================================
below is text dump from terminal

id@id-laptop:~$ sudo -s
[sudo] password for id:
root@id-laptop:~# apt-get update
Hit http://us.archive.ubuntu.com precise Release.gpg
Get:1 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:2 http://us.archive.ubuntu.com precise-backports Release.gpg [198 B]
Hit http://us.archive.ubuntu.com precise Release
Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:4 http://extras.ubuntu.com precise Release.gpg [72 B]
Get:5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
Get:6 http://security.ubuntu.com precise-security Release [49.6 kB]
Get:7 http://us.archive.ubuntu.com precise-backports Release [49.6 kB]
Hit http://extras.ubuntu.com precise Release
Hit http://us.archive.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/restricted Sources
Hit http://us.archive.ubuntu.com precise/universe Sources
Hit http://us.archive.ubuntu.com precise/multiverse Sources
Hit http://us.archive.ubuntu.com precise/main i386 Packages
Hit http://us.archive.ubuntu.com precise/restricted i386 Packages
Hit http://us.archive.ubuntu.com precise/universe i386 Packages
Hit http://us.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://us.archive.ubuntu.com precise/main TranslationIndex
Hit http://extras.ubuntu.com precise/main Sources
Hit http://us.archive.ubuntu.com precise/multiverse TranslationIndex
Get:8 http://security.ubuntu.com precise-security/main Sources [69.9 kB]
Hit http://us.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise/universe TranslationIndex
Get:9 http://us.archive.ubuntu.com precise-updates/main Sources [379 kB]
Hit http://extras.ubuntu.com precise/main i386 Packages
Ign http://extras.ubuntu.com precise/main TranslationIndex
Get:10 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:11 http://security.ubuntu.com precise-security/universe Sources [24.0 kB]
Get:12 http://security.ubuntu.com precise-security/multiverse Sources [1,389 B]
Get:13 http://security.ubuntu.com precise-security/main i386 Packages [259 kB]
Ign http://extras.ubuntu.com precise/main Translation-en_US
Ign http://extras.ubuntu.com precise/main Translation-en
Get:14 http://us.archive.ubuntu.com precise-updates/restricted Sources [5,467 B]
Get:15 http://us.archive.ubuntu.com precise-updates/universe Sources [85.4 kB]
Get:16 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:17 http://security.ubuntu.com precise-security/universe i386 Packages [73.4 kB]
Get:18 http://us.archive.ubuntu.com precise-updates/multiverse Sources [6,562 B]
Get:19 http://us.archive.ubuntu.com precise-updates/main i386 Packages [612 kB]
Get:20 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,368 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Get:21 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [10.0 kB]
Get:22 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [197 kB]
Get:23 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [13.8 kB]
Hit http://us.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/main Translation-en
Get:24 http://us.archive.ubuntu.com precise-backports/main Sources [2,422 B]
Get:25 http://us.archive.ubuntu.com precise-backports/restricted Sources [14 B]
Get:26 http://us.archive.ubuntu.com precise-backports/universe Sources [24.2 kB]
Get:27 http://us.archive.ubuntu.com precise-backports/multiverse Sources [2,669 B]
Get:28 http://us.archive.ubuntu.com precise-backports/main i386 Packages [1,941 B]
Get:29 http://us.archive.ubuntu.com precise-backports/restricted i386 Packages [14 B]
Get:30 http://us.archive.ubuntu.com precise-backports/universe i386 Packages [24.3 kB]
Get:31 http://us.archive.ubuntu.com precise-backports/multiverse i386 Packages [2,504 B]
Hit http://us.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://us.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://us.archive.ubuntu.com precise/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise/restricted Translation-en
Hit http://us.archive.ubuntu.com precise/universe Translation-en
Hit http://us.archive.ubuntu.com precise-updates/main Translation-en
Hit http://us.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://us.archive.ubuntu.com precise-backports/main Translation-en
Hit http://us.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com precise-backports/universe Translation-en
Fetched 1,955 kB in 10s (184 kB/s)
Reading package lists... Done
root@id-laptop:~# apt-get --reinstall install bcmwl-kernel-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-3.2.0-37 linux-headers-3.2.0-37-generic-pae
  linux-headers-3.5.0-23 linux-headers-3.5.0-23-generic
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 1,301 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/restricted bcmwl-kernel-source i386 6.20.155.1+bdcom-0ubuntu0.0.1 [1,301 kB]
Fetched 1,301 kB in 5s (242 kB/s)
(Reading database ... 263261 files and directories currently installed.)
Preparing to replace bcmwl-kernel-source 6.20.155.1+bdcom-0ubuntu0.0.1 (using .../bcmwl-kernel-source_6.20.155.1+bdcom-0ubuntu0.0.1_i386.deb) ...
Removing all DKMS Modules
Done.
Unpacking replacement bcmwl-kernel-source ...
Setting up bcmwl-kernel-source (6.20.155.1+bdcom-0ubuntu0.0.1) ...
Loading new bcmwl-6.20.155.1+bdcom DKMS files...
Building only for 3.5.0-27-generic
Building for architecture i686
Building initial module for 3.5.0-27-generic
Done.

wl:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.5.0-27-generic/updates/dkms/

depmod....

DKMS: install completed.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1173372/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hallo
running:
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get update
sudo apt-get upgrade
have you got some errors '
Please paste it here.
Thanks
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Changed in ubuntu:
status: New → Incomplete
Revision history for this message
JoeR (wallydallas) wrote : Re: [Bug 1173372] Re: apt-get hangs: DKMS: install completed.

Launchpad will not let me file this bug with a target package.
I attempted but failed to set the target
  The web interface for launchpad suggests "ia32-apt-get" and then rejects that suggestion when I click Save changes.  Here's the quote:  "there is no package named 'ia32-apt-get' published in Ubuntu."
  So please fix launchpad so I can properly set this bug target to the package=apt-get
Once launchpad is fixed, the bug can be investigated.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1173372/+subscriptions

Revision history for this message
JoeR (wallydallas) wrote :

I'm the author of this bug. Here are updates

The bug reporting system (launchpad) is buggy and It's hard to obey all the rules from the people who make the rules for reporting bugs.

a) I did attempt using the tools alt+f2, then "ubuntu-bug -w", and that failed, and mis-reports the bug is with terminal. The bug is with apt-get run inside terminal

b) I did attempt to follow the documentation on launchpad, and that says to manually report the package target and distrubtion, which I did attempt, and launchpad did not save.

c) I did attempt to re-update the proper bug target, and then the error message shows up. The web interface for launchpad suggests "ia32-apt-get" as a bug target, and then when I try to save my update, launchpad rejects that suggestion Here's the quote: "there is no package named 'ia32-apt-get' published in Ubuntu."

=====================================================================

As I reported, the bug result is a locked out error on any more attempts at apt-get.

Here are more details of that lock, below

========================

id@id-laptop:~$ sudo -s
[sudo] password for id:
root@id-laptop:~# apt-get clean
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the download directory
root@id-laptop:~# apt-get autoremove
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@id-laptop:~# apt-get update
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@id-laptop:~# apt-get upgrade
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@id-laptop:~#

==========================

In conclusion

a) ) first I would love a workaround to get apt-get working and my wifi working

b) then fix launchpad so people can report bugs without a huge burden

c) then lets fix this bug so no workrouand is needed.

Thanks. J

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We understand the difficulties you are facing, but it is better to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. You can also find help posting your problem in the support forum of your local Ubuntu's community http://loco.ubuntu.com/ or asking at http://askubuntu.com. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

Changed in ubuntu:
status: Incomplete → New
status: New → Invalid
Revision history for this message
JoeR (wallydallas) wrote :

I don't understand how this can be labeled as "not a bug"

Here's the summary:

new fresh system install, update software, install one official package, now the system for adding packages is no longer functional. This is 100% reproducible.

Could someone please define the official meaning of a bug for the ubuntu developers? How was that decision made?

Revision history for this message
JoeR (wallydallas) wrote :

The link URL below is bad advice. Ubuntu 12.04 does not work by default with my wifi hardware, and I follwed this documentation below.

https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx

The result of the above documentation is
a) lock on apt-get ( fixed by using the RM command )
b) still no wifi, can only use ethernet cord

Revision history for this message
rue (ruenoak) wrote :

I get this same error on a new installation of Ubuntu 13.10 I have tried sudo dpkg --configure -a which I was prompted to do but but just end up with the same error.

Revision history for this message
Travis Brown (tbrown28) wrote :

I ran into a similar problem the other day when trying to install drivers for my Broadcom wireless card. It seems that the dkpg process tree was hung up on 'modprobe'.

I was able to force stop (ctrl-z) and run lxtask (using `sudo lxtask`). From lxtask I was able to follow the process tree and restart the processes beginning with the sudo process.
The process was still not getting anywhere so I killed the modprobe process and waited a few minutes. After exiting lxtask I was able to run apt-get update. The package manager (GUI included) seems to be working fine now.

Hopefully that helps. If not, feel free to ask questions.

I am so far still unsuccessful in my attempts to access wi-fi, but I was able to get the package manager working again. For what it's worth, I'm running Lubuntu 13.4(raring). Hopefully I'll have more luck with Bodhi or LXLE.

Revision history for this message
Paul Flint (flint) wrote :

The command that appears to be hanging is:
"modprobe -wl"
If you open another terminal and do:
"ps aux | grep modprobe"
you will see the hung process and can eliminate it using
kill -9 <processid>

Regards,

Flint

Revision history for this message
Jacob Degeling (t-me-g) wrote :

I managed to get the driver for my BCM4311 14e4:4312 on a Dell Latitude D620 running Ubuntu 13.10 by following the instructions on this page: http://askubuntu.com/questions/55868/how-to-install-broadcom-wireless-drivers-bcm43xx. Good Luck!

Revision history for this message
WhyteHorse (whytehorse) wrote :

This is a bug in the package bcmwl-kernel-source (6.30.223.141+bdcom-0ubuntu2)
It still affects the latest Ubuntu. It causes an endless loop where the package won't complete installation and apt won't do anything without the package completing. The solution is as follows(credit goes to another poster)

The command that appears to be hanging is:
"modprobe -wl"
If you open another terminal and do:
"ps aux | grep modprobe"
you will see the hung process and can eliminate it using
kill -9 <processid>

Anyway, the offending package should have a timeout tied to that modprobe command.

affects: ubuntu → bcmwl (Ubuntu)
Revision history for this message
Davide (gozzilli) wrote :

I can confirm that workaround in #12 works for me on upgrading a macbook pro early 2015 from 15.04 to 15.10.

Revision history for this message
ciruman (dicir00) wrote :

Hi, I had the same problem in Ubuntu 18.04 Beta2.

What I did was to find the bcmwl related tasks("ps aux|grep bcmwl") and I found there was one something like "rmmod [....]bcmwl" blocked.

I killed it(sudo kill -9 [pid] and I could continue. Now I have upgrade the system.

I think it happened to me by canceling the installation of restricted drivers.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.