Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been getting an issue since upgrading to 2.6.39 in Natty from the Kernel-PPA repository.

When I do a sudo update-initramfs -u I get the following error message.

update-initramfs: Generating /boot/initrd.img-2.6.39-0-generic-pae
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169

I did notice that firmware wasn't in the allocated directory. Does anyone know where to get the firmware files for this.

share|improve this question
up vote 5 down vote accepted

There's a solution at Essentially you need to do:

git clone git://
sudo cp -r linux-firmware/rtl_nic/ /lib/firmware/

and then sudo update-initramfs -u works without errors.

share|improve this answer
Cheers I'll check it out. – Dean Thomson May 11 '11 at 4:08
This repo is now fatal: remote error: access denied or repository not exported: /pub/scm/linux/kernel/git/romieu/linux-firmware.git. I get this error now on 14.04 with 4.4.1 kernel. – Patryk Feb 27 at 22:05

Do sudo apt-get install firmware-realtek and the problem should be solved

share|improve this answer
Is this a real package? On my 11.04 system, apt-cache show firmware-realtek returns a message saying the package doesn't exist. – djeikyb Aug 10 '11 at 0:53
This package is in the Debian repos - it is not in the Ubuntu repos - so the answer is only applicable to Debian not Ubuntu. – fossfreedom Oct 24 '11 at 19:37

Perhaps a better answer is to install linux-firmware package and if necessary linux-firmware-nonfree package.

share|improve this answer

I had the same problem whit Ubuntu 12.04.5 LTS. Today I have tested, but the old "git://" is a broken link.

I have searched the new git url for dowload the firmware of realtek. The commands that I have tested (and works very well) are:

git clone git://
sudo cp -r linux-firmware/rtl_nic/ /lib/firmware/
sudo update-initramfs -u


rm -rf linux-firmware

For deleting the directory that git has downloaded.

share|improve this answer

For Debian, I run the following command, and it really works:

apt-get install linux-firmware-nonfree
share|improve this answer

It seems that the linux firmware package is corrupt, I solved this issue in ubuntu 13.04 by

sudo apt-get purge linux-firmware


sudo apt-get install linux-firmware
share|improve this answer

share|improve this answer
Welcome to Ask Ubuntu! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – fossfreedom Sep 30 '12 at 9:41

The file /lib/firmware/rtl_nic/rtl8105e-1.fw is in the package firmware-realtek

You need to run following command. Open terminal Ctrl + Alt + T :

sudo apt-get install firmware-realtek
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.