i am new to Ubuntu or any Linux distro, few days back i have installed Ubuntu 18.04 alongside windows 8.1. Wifi is not working after installation i found a post here regarding broadcom driver problem and tried to install bcmwl-kernel-source_*.deb but failed due to dkms and other dependencies are not installed. I tried to install them and they need some other dependencies like gcc, dpkg-dev, build-essestial, etc. I tried to fix this problem by downloading manually from https://packages.ubuntu.com/ but dependency tree for each package is overwhelming and i'm afraid that would go on. i tried Keryx tool but did not work. Reinstalled Ubuntu with all the check boxes ticked, no luck. Tried so many things mentioned here but nothing worked. I don't understand is it problem with my installation?. Is there some easy way to install all these missing packages? Please suggest. Currently i have friend's PC running Ubuntu 16.04 if that would help in any way.
Thanks in advance.
Edit: Console log
sudo apt install ./bcmwl-kernel-source_6.30.223.271+bdcom-0ubuntu4_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
bcmwl-kernel-source : Depends: linux-libc-dev but it is not installed
Depends: libc6-dev but it is not installable
dkms : Depends: gcc but it is not installable
Depends: dpkg-dev but it is not installable
Depends: make but it is not installable or
build-essential but it is not installable
Recommends: fakeroot but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Wireless:
> lspci -vvnn | grep -A 9 Network 08:00.0 Network controller [0280]:
> Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev
> 01) Subsystem: Lenovo BCM43142 802.11b/g/n [17aa:0611] Control: I/O-
> Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR-
> FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr-
> DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency:
> 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 0 Region
> 0: Memory at c2400000 (64-bit, non-prefetchable) [size=32K]
> Capabilities: <access denied> Kernel modules: wl
sudo apt install gcc
etc. – SurvivalMachine Aug 26 '18 at 12:05dpkg
the default took requires all dependencies to be pre-installed, butapt
will detected needed dependencies & if they are found in your 'sources' will download & install them too. You need a pathname forapt
to recognize you want to install a file, soapt install ./filename.deb
may be easier thanapt install
followed bydpkg
, but it's up to you. Full error messages copied & pasted in your question allow us to answer you more helpfully. – guiverc Aug 26 '18 at 12:10sudo apt update
(which downloads & updates your local software repository lists; which does not mean software, just lists of software)? It must be done otherwise it only knows what was on the install media. – guiverc Aug 26 '18 at 12:12