LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-09-2020, 09:07 AM   #1
86153c1d-3ebd-4643-8885
Member
 
Registered: Feb 2020
Posts: 34

Rep: Reputation: 8
I executed sudo apt update and this error occurs, what happened?


Here's a screenshot: https://upload.vaa.red/2soUGZ#447b2a...e1669369366d9c

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?
 
Old 02-09-2020, 09:13 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,789

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
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.
 
2 members found this post helpful.
Old 02-09-2020, 09:24 AM   #3
86153c1d-3ebd-4643-8885
Member
 
Registered: Feb 2020
Posts: 34

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by pan64 View Post
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!
 
Old 02-09-2020, 09:36 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,789

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
some files are missing, but probably not important at all. I have no idea if you really need them.
 
Old 02-09-2020, 09:42 AM   #5
86153c1d-3ebd-4643-8885
Member
 
Registered: Feb 2020
Posts: 34

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by pan64 View Post
some files are missing, but probably not important at all. I have no idea if you really need them.
How can I know if they are important? Maybe I fucked up.
 
Old 02-09-2020, 09:54 AM   #6
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,789

Rep: Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304Reputation: 7304
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.
 
1 members found this post helpful.
Old 02-09-2020, 09:58 AM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,562
Blog Entries: 19

Rep: Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445
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.
 
3 members found this post helpful.
Old 02-09-2020, 02:22 PM   #8
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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.
 
Old 02-10-2020, 07:30 PM   #9
86153c1d-3ebd-4643-8885
Member
 
Registered: Feb 2020
Posts: 34

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by pan64 View Post
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?
 
Old 02-10-2020, 07:32 PM   #10
86153c1d-3ebd-4643-8885
Member
 
Registered: Feb 2020
Posts: 34

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by hazel View Post
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.
 
Old 02-10-2020, 07:34 PM   #11
86153c1d-3ebd-4643-8885
Member
 
Registered: Feb 2020
Posts: 34

Original Poster
Rep: Reputation: 8
Quote:
Originally Posted by ondoho View Post
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.
 
Old 02-11-2020, 04:58 AM   #12
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,562
Blog Entries: 19

Rep: Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445
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.
 
Old 02-13-2020, 01:01 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by hazel View Post
The warnings were a side effect of an apt script creating a new initramfs image for booting your system.
Did the warnings look something like this:
Code:
$*sudo mkinitcpio -p linux-lts
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'default'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
==> Starting build: 5.4.19-1-lts
  -> Running build hook: [colors]
  -> Running build hook: [consolefont]
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
==> Starting build: 5.4.19-1-lts
  -> Running build hook: [colors]
  -> Running build hook: [consolefont]
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: aic94xx
==> WARNING: Possibly missing firmware for module: wd719x
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-lts-fallback.img
==> Image generation successful
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.
 
Old 02-13-2020, 04:49 AM   #14
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,562
Blog Entries: 19

Rep: Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445Reputation: 4445
Quote:
Originally Posted by ondoho View Post
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.
 
Old 02-15-2020, 03:55 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] sudo apt update and sudo apt-get update giving error cryptonic472 Linux - Software 7 08-24-2019 08:16 AM
ShellScript executed from command prmpt but not executed from crontab or at command BMMadhav Linux - Newbie 1 11-16-2012 07:20 PM
[SOLVED] Configured Cron job executed every hour is instead executed every minute for 10m markings Linux - Software 4 05-13-2012 05:43 PM
[SOLVED] Xwindow's program will not run when executed on boot or when executed remotely richman1234 Programming 2 10-08-2010 01:32 PM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM

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

All times are GMT -5. The time now is 09:26 PM.

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