I executed sudo apt update and this error occurs, what happened?
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.
Today I updated my system and this came out, today I deleted one .swp and one .swo .sources.list files because I created them unintentionally. Could it be related?
this is not an error, but warning(s).
What you deleted is a swap file used by vi, and created automatically when you started to edit some files. You can safely delete them (if vi is already closed).
Additionally .swo means you opened the same file twice in the same time with vi.
this is not an error, but warning(s).
What you deleted is a swap file used by vi, and created automatically when you started to edit some files. You can safely delete them (if vi is already closed).
Additionally .swo means you opened the same file twice in the same time with vi.
A warning for what?
I have already deleted both files. Thanks for the explanation!
rtl_nic is a realtek network chip, so if your network is based on something else you are ok.
i915 is made by intel and most probably a graphic chip.
and I think you can install these firmware files (if you need), just you need to look for the package.
You need to understand the difference between a warning and an error. A warning message means that something has been found which could cause problems but the program has concluded normally. An error means that something is definitely wrong, usually something that has caused a program to crash.
Errors need to be fixed, but warnings only need to be evaluated to decide if anything needs to be done about them. These particular warnings concern missing firmware (proprietary programs that some hardware needs to function properly). The first lot of messages are for various Realtek network cards, the second lot for Intel graphics chips that use the i915 driver. All you need to do about these is to check if your particular network card and video chip require them. If so, you can install the firmware. If not, the messages don't matter.
rtl_nic is a realtek network chip, so if your network is based on something else you are ok.
i915 is made by intel and most probably a graphic chip.
and I think you can install these firmware files (if you need), just you need to look for the package.
My PC doesn't have a wi-fi thing to support it, I connect via ethernet, so I guess I'm okay. Mmm, I guess that if everything is working then I don't need them?
You need to understand the difference between a warning and an error. A warning message means that something has been found which could cause problems but the program has concluded normally. An error means that something is definitely wrong, usually something that has caused a program to crash.
Errors need to be fixed, but warnings only need to be evaluated to decide if anything needs to be done about them. These particular warnings concern missing firmware (proprietary programs that some hardware needs to function properly). The first lot of messages are for various Realtek network cards, the second lot for Intel graphics chips that use the i915 driver. All you need to do about these is to check if your particular network card and video chip require them. If so, you can install the firmware. If not, the messages don't matter.
Thanks a lot, I'll try to pay more attention next time when a warning comes by! Could you please tell me how can I check if my video chip requires those? BTW, now when I run sudo apt update/upgrade the message is no longer there.
86153c1d-3ebd-4643-8885, I cannot see the image.
Can't you just paste the text here?
Don't worry, it does not contain information that identifies you.
Now when I run the commands the warnings are not there and they are quire large for me to write them down, are you sure you can see them? It's not because of a privacy concern, my username on my OS is user because I knew I was going to need a lot of troubleshooting, lol.
The warnings were a side effect of an apt script creating a new initramfs image for booting your system. This happens whenever there is an upgrade of some piece of basic software that occurs on the initramfs. Most updates don't involve this step. The warnings will recur intermittently in the future so it's worth checking whether they apply to you.
Realtek make ethernet as well as wifi cards (I have a Realtek ethernet card on my machine) but as far as I know, those don't usually require extra firmware. lspci -v should show what card you have and what driver it uses.
The quickest way to identify your video card driver is to look in /var/log/Xorg.0.log which is the record of your last X session.
Alternatively, you could just install the firmware packages. That's the lazy solution but it won't do any harm.
I've had these 2 warnings every single time the initramfs had to be rebuilt on this system, for years. They're harmless, unless you KNOW that you use these modules.
I do wish people would just post code instead of linking to weird sites.
I do wish people would just post code instead of linking to weird sites.
They're not always weird sites. A lot of people use imgur which is pretty well known. But the basic principle remains and should be taken account of by all newbies: you should not post an image if you can collect actual text from a log. Images are difficult for many people to read.
The only situation in which an image would be appropriate is when you have early boot errors/panics that appear on the screen but never get into any log. Even then, if you have time to transcribe them, that would be better.
^ fair enough, I should give unknown image uploaders a chance.
I tried to click that first link. It would show me nothing But a huge banner saying attempting to decrypt...
That is weird.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.