Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How do I install this? (Solved, Thanks)

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
jppattison
Posts: 42
Joined: 2015-02-23 18:13

How do I install this? (Solved, Thanks)

#1 Post by jppattison »

So when I was installing Debian 9.3.0, there was a message/choice of installing

Code: Select all

ilwwifi-5000-(1 thru 5).ucode
, but not knowing that I should have had it ready, I was supposed to be able to install it later. I went to Debian packages, couldn't find it, found it is non-free, finally found a page in Debian packages that held the correct package to install. That package is

Code: Select all

firmware-iwlwifi_0.43_all.deb
. Since it is a .deb, how do I install it to the Debian OS? It shows up in Downloads, along with another .deb package, but I don't know how to find a readme page to say how it is to be installed.
TIA, jppattison
Last edited by jppattison on 2018-02-07 23:20, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: How do I install this?

#2 Post by arochester »

In a Terminal, AS ROOT issue the command

Code: Select all

apt install firmware-iwliwifi 
Then reboot.

Job done.

jppattison
Posts: 42
Joined: 2015-02-23 18:13

Re: How do I install this?

#3 Post by jppattison »

I've already tried that, but I'll try again

Code: Select all

# apt install firmware-iwliwifi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package firmware-iwliwifi
Oops, you put 1 too many i's in there

Code: Select all

# apt install firmware-iwlwifi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package firmware-iwlwifi is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'firmware-iwlwifi' has no installation candidate
And this is what I got when I tried to install the package listed on the Debian page:

Code: Select all

# apt install firmware-iwlwifi_0.43_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package firmware-iwlwifi_0.43_all.deb
E: Couldn't find any package by glob 'firmware-iwlwifi_0.43_all.deb'
E: Couldn't find any package by regex 'firmware-iwlwifi_0.43_all.deb'

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: How do I install this?

#4 Post by debiman »

output of

Code: Select all

sudo cat /etc/apt/sources.list /etc/apt/sources.list.d/*
please.

hint:
non-free should be somewhere in there.
Last edited by debiman on 2018-02-07 18:00, edited 1 time in total.

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: How do I install this?

#5 Post by arochester »

Have you edited your sources list to include the non-free component?

Look here: https://linuxpanda.wordpress.com/2016/1 ... n-stretch/

Scroll down to "Update The Source List"

Don't just follow the rest of the instructions blindly, you might get more problems than you bargained for!

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: How do I install this?

#6 Post by Head_on_a_Stick »

jppattison wrote: That package is

Code: Select all

firmware-iwlwifi_0.43_all.deb
. Since it is a .deb, how do I install it to the Debian OS?
Either use:

Code: Select all

# dpkg -i firmware-iwlwifi_0.43_all.deb
Or right-click on the .deb in your file manager and open it with gdebi.
deadbang

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: How do I install this?

#7 Post by GarryRicketson »

+100 for H_O_A_S 's answer, that is the best one I see here.
by jppattison » It shows up in Downloads,
Assuming the OP has downloaded it.

On the sources.list and using "apt" to install, that is easier, but you do need to make sure your sources.list is correct, etc.

This might be use full to some body, including the OP,..
https://www.debian.org/doc/manuals/debi ... ls.en.html

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: How do I install this?

#8 Post by stevepusser »

If you're going to use apt to install a local deb, you have to put ./ in front of the file name

Assuming your terminal is in the same folder as the deb

Code: Select all

# apt install ./firmware-iwlwifi_0.43_all.deb
instead of

Code: Select all

# apt install firmware-iwlwifi_0.43_all.deb
I have some code that I've already used to add a right-click menu action to Thunar and Dolphin to use apt to install any number of debs at a time instead of the laborious one-at-a-time-in-the-correct-order-only process needed by gdebi; this comes in handy when I backport and test programs that Debian cuts into loads of packages. I'm sure that the code can also be used to create right-click actions for other file managers, but would need some help with that if anyone wants that. I've also put the KDE action into a deb for MX Linux.

But "dpkg -i" works just fine for base firmware packages like iwlwifi. But it can then cause headaches if you try the same thing with a metapackage like firmware-linux-nonfree.
MX Linux packager and developer

jppattison
Posts: 42
Joined: 2015-02-23 18:13

Re: How do I install this?

#9 Post by jppattison »

Thanks all, after commenting out the CD1 and adding non-free as I was advised, it is now installed!

Post Reply