Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by AveryFB
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.
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?
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by AveryFB
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).
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
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:
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.
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 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.
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:
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.
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
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
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
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by AveryFB
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.