LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-15-2017, 04:44 AM   #1
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Rep: Reputation: Disabled
Deb File Will Not Install


I have downloaded a deb file which I think has what I need to fix a Issue I am having but when I click it and go to the Ubuntu Software center and click install it says this "Detailed errors from the package manager follow:

do not know how to install app in state unknown" here is a link to the place I downloaded the file from https://packages.debian.org/stretch/...altek/download and the file name is firmware-realtek_0.43_all.deb any help is very much appreciated. Thanks to anyone who takes the time to reply
 
Old 08-15-2017, 04:49 AM   #2
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by AveryFB View Post
I have downloaded a deb file which I think has what I need to fix a Issue I am having but when I click it and go to the Ubuntu Software center and click install it says this "Detailed errors from the package manager follow:

do not know how to install app in state unknown" here is a link to the place I downloaded the file from https://packages.debian.org/stretch/...altek/download and the file name is firmware-realtek_0.43_all.deb any help is very much appreciated. Thanks to anyone who takes the time to reply
Have you tried forcing an install via the command-line? As that's what I do, if a package will not install.

If you just want to install firmware files, if you can download said files themselves, you should be able to just copy them to the /lib/firmware/ folder.
 
Old 08-15-2017, 04:57 AM   #3
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jsbjsb001 View Post
Have you tried forcing an install via the command-line? As that's what I do, if a package will not install.

If you just want to install firmware files, if you can download said files themselves, you should be able to just copy them to the /lib/firmware/ folder.
Thanks for the reply! I tried command line but I am a Newbie so I might not have put the correct command. What would the correct command be for this exact file?
 
Old 08-15-2017, 05:03 AM   #4
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by AveryFB View Post
Thanks for the reply! I tried command line but I am a Newbie so I might not have put the correct command. What would the correct command be for this exact file?
While I'm not a Ubuntu user, I think you get to the command-line by, opening the "Terminal" app (do a search for it in the 'dash', the panel along the side or bottom of your screen).

And then have a look at: https://askubuntu.com/questions/1402...nstall-apt-get
 
Old 08-15-2017, 07:11 AM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
Why did you download it from the Debian repositories? Did Ubuntu recommend that? Although both distro's use .deb packages, both repositories can not be mixed at will.

By all means, try to find the package you need in the Ubuntu repositories. It is not new at all so it should have been propagated to Ubuntu.

To install the package manually, open a command line (terminal) and type:
Code:
sudo dpkg -i /path/to/firmware-realtek_20161130-3_all.deb
If you get any errors mentioning dependencies, run in the terminal:
Code:
sudo apt-get install -f
But again, try to find the proper .deb from the Unbuntu repositories.

I have to advise agains copying anything manually into something. The apt package manager will not know about it and you'll have problems with apt as long as the system is not re-installed from scratch.

Only if you are prepared to re-install the system at some point and you are experienced in Linux it is of any use to do manual copy actions.

jlinkels

Last edited by jlinkels; 08-15-2017 at 02:12 PM.
 
1 members found this post helpful.
Old 08-15-2017, 07:33 AM   #6
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,630

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
I second jlinkels here, but the first concept is most important. You should not be installing packages intended for Debian in Ubuntu. The Ubuntu folks have wandered far from the Debian base and you are likely to get lost (broken) in the resulting wasteland.

In other words, QUIT THAT!

If you run Ubuntu, ONLY Install using your package manager from the Ubuntu repositories. That will help keep your system stable, unbroken, and working.
 
Old 08-15-2017, 12:48 PM   #7
DVOM
Member
 
Registered: Nov 2010
Posts: 223

Rep: Reputation: 48
Quote:
Originally Posted by AveryFB View Post
I have downloaded a deb file which I think has what I need to fix a Issue I am having but when I click it and go to the Ubuntu Software center and click install it says this "Detailed errors from the package manager follow:

do not know how to install app in state unknown" here is a link to the place I downloaded the file from https://packages.debian.org/stretch/...altek/download and the file name is firmware-realtek_0.43_all.deb any help is very much appreciated. Thanks to anyone who takes the time to reply
Maybe you could give us a little info on the "issue" that you're having.
 
Old 08-15-2017, 05:29 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I agree. "info on the "issue" "
 
Old 08-15-2017, 09:59 PM   #10
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jlinkels View Post
Why did you download it from the Debian repositories? Did Ubuntu recommend that? Although both distro's use .deb packages, both repositories can not be mixed at will.

By all means, try to find the package you need in the Ubuntu repositories. It is not new at all so it should have been propagated to Ubuntu.

To install the package manually, open a command line (terminal) and type:
Code:
sudo dpkg -i /path/to/firmware-realtek_20161130-3_all.deb
If you get any errors mentioning dependencies, run in the terminal:
Code:
sudo apt-get install -f
But again, try to find the proper .deb from the Unbuntu repositories.

I have to advise agains copying anything manually into something. The apt package manager will not know about it and you'll have problems with apt as long as the system is not re-installed from scratch.

Only if you are prepared to re-install the system at some point and you are experienced in Linux it is of any use to do manual copy actions.

jlinkels
I tried both commands and I get this error message playing back

averyfb@averyfb-desktop:~$ sudo dpkg -i /path/to/firmware-realtek_20161130-3_all.deb
[sudo] password for averyfb:
dpkg: error processing archive /path/to/firmware-realtek_20161130-3_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/path/to/firmware-realtek_20161130-3_all.deb
averyfb@averyfb-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
averyfb@averyfb-desktop:~$ sudo dpkg -i /path/to/firmware-realtek_20161130-3_all.deb
dpkg: error processing archive /path/to/firmware-realtek_20161130-3_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/path/to/firmware-realtek_20161130-3_all.deb
averyfb@averyfb-desktop:~$







I could only find the drivers on for debian also. I am like 99% sure installing this file will fix my issue. You could try to find it for Ubuntu I might have just not known what I was doing. Thanks for leaving a comment.
 
Old 08-15-2017, 10:01 PM   #11
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
I agree. "info on the "issue" "
I have been trying to fix this issue for days so it is not from a lack of trying. I am a genuine Linux Noob. My issue is that my Ethernet wont connect and I think that if I install this package it will get me the drivers I need
 
Old 08-15-2017, 10:02 PM   #12
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
It is still the same issue I ended those threads because I actually have a operating system installed now
 
Old 08-15-2017, 10:03 PM   #13
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by wpeckham View Post
I second jlinkels here, but the first concept is most important. You should not be installing packages intended for Debian in Ubuntu. The Ubuntu folks have wandered far from the Debian base and you are likely to get lost (broken) in the resulting wasteland.

In other words, QUIT THAT!

If you run Ubuntu, ONLY Install using your package manager from the Ubuntu repositories. That will help keep your system stable, unbroken, and working.
I couldnt find it for Ubuntu. I will keep looking though. As you can maybe tell I dont really know what the hell I am doing
 
Old 08-15-2017, 10:11 PM   #14
AveryFB
Member
 
Registered: Aug 2017
Posts: 40

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by AveryFB View Post
I have downloaded a deb file which I think has what I need to fix a Issue I am having but when I click it and go to the Ubuntu Software center and click install it says this "Detailed errors from the package manager follow:

do not know how to install app in state unknown" here is a link to the place I downloaded the file from https://packages.debian.org/stretch/...altek/download and the file name is firmware-realtek_0.43_all.deb any help is very much appreciated. Thanks to anyone who takes the time to reply
I am trying to install the file rtl_nic/rtl8168f-1.fw to fix my ethernet drivers
 
Old 08-15-2017, 11:29 PM   #15
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth, unfortunately...
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881

Rep: Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063Reputation: 2063
Quote:
Originally Posted by AveryFB View Post
I tried both commands and I get this error message playing back

averyfb@averyfb-desktop:~$ sudo dpkg -i /path/to/firmware-realtek_20161130-3_all.deb
[sudo] password for averyfb:
dpkg: error processing archive /path/to/firmware-realtek_20161130-3_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/path/to/firmware-realtek_20161130-3_all.deb
averyfb@averyfb-desktop:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
averyfb@averyfb-desktop:~$ sudo dpkg -i /path/to/firmware-realtek_20161130-3_all.deb
dpkg: error processing archive /path/to/firmware-realtek_20161130-3_all.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
/path/to/firmware-realtek_20161130-3_all.deb
averyfb@averyfb-desktop:~$







I could only find the drivers on for debian also. I am like 99% sure installing this file will fix my issue. You could try to find it for Ubuntu I might have just not known what I was doing. Thanks for leaving a comment.
You need to replace the "/path/to/" part with the actual name of the folders the .deb package is in. That's why it cannot find the deb file.

I would also make sure that there is no Ubuntu packages for it and if there are, install from Ubuntu's repo's instead.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you check for a list of .deb dependencies without installing the deb file arthur_makowah Linux - Newbie 3 07-23-2014 11:04 PM
Can't install .Deb file or (package) Xzibit Linux - Newbie 28 01-16-2010 02:58 PM
How do I install a .deb file? abefroman Debian 3 11-26-2005 03:47 PM
How to install .deb file taydu3000 Linux - Software 2 10-21-2005 11:34 AM
How Can I Install a File With *.deb extenssion?? HooX Linux - Newbie 3 01-16-2005 03:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration