LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-29-2020, 09:31 AM   #1
Arct1c_f0x
Member
 
Registered: Feb 2020
Posts: 123

Rep: Reputation: 24
Arrow System messed up after system update


I've been using linux for a year or two now (so pretty new user), and I fiercely love linux and never want to use and other OS again (btw hi guys, this is my first post). I am still however a noob so please bear with me. I've read a lot of documentation for my problem and tried to fix it but I'm stuck.. The problem I'm having is with Debian 9 stretch installed on a partition I really love using

So I updated my system with apt-get update or some such command and then the computer told me I needed to reboot (because of something with my new nvidia drivers) I typed systemctl reboot (as I had learned online to do after such an update) and when I booted back into my system while the system was started up it read

[FAILED] Failed to start Load Kernel Modules
See 'systemctl status systemd-modules-load.service' for details

and a white screen pops up after that reads:

"Oh no! something has gone wrong.
A problem has occurred and the system can't recover
Please log out and try again"

I think what happened is that I interrupted the update somehow because otherwise everything should work. It seemed like the terminal was done with the update... but when I typed systemctl reboot it said: "stopping job" or something like that in red letters. That's why I fear I interrupted a process to soon...

I rebooted in recovery mode as I read I should do online and tried to use the following commands in cli like I read online for my problem. but when I ran the first (apt-get update), it read "Failed to fetch http://ftp.us.debian.org/debian/dists/stretch/InRelease" and a bunch of other "failed to fetch" errors and "Temporary failure resolving 'ftp.us.debian.org'" errors

apt-get update


dpkg --configure -a


apt-get dist-upgrade


apt-get -f install



Next I figured the reason none of these commands worked is because I hadn't set up my ethernet connectivity in recovery mode so I tried to do that and I feel like I maybe got it working but still it gives me the same messages about "failure to fetch" when I try to enter any of the above commands...

Please guys any help with resolving this problem would be mighty helpful.
That's the partition I like writing python on and everything on it is just the way I like. Thanks in advance for the help I'm willing to post photos if that helps.


Arct1c_fox
 
Old 02-29-2020, 06:50 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Quote:
Originally Posted by Arct1c_f0x View Post
So I updated my system with apt-get update or some such command
Unsolicited advice: I hope that you learned the lesson that you should not run "some such command". When you run a command, ensure that you run it correctly and put in some effort to gain a basic understanding of what the command does and what it's for.
Quote:
"Failed to fetch http://ftp.us.debian.org/debian/dists/stretch/InRelease" and a bunch of other "failed to fetch" errors
This looks like a networking failure. You either have no network at all, or your name resolution (the mapping of "us.debian.org" to an IP address) is not working.

To check basic connctivity to the internet:
Code:
ping 8.8.8.8 -c 3
8.8.8.8 is the IP address of Google's name resolution service.

If that fails, find out if your computer has an IP address and if not, find out why. On Debian, networking is configured in /etc/network/interfaces, and the current IP address can be seen with the command ip address.

If that succeeds, check the content of /etc/resolv.conf. It should have a line similar to "nameserver 8.8.8.8" (probably a different IP address). If not, add this line and try updating again.

Also find web pages about Debian network troubleshooting.
 
  


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
messed up Ubunto, messed it up good... ButterflyMelissa Linux - Newbie 6 02-13-2015 08:28 AM
[SOLVED] System got totally messed up after huge update yesterday MTK358 Arch 35 04-11-2010 07:16 PM
After update to currunt my /boot is all messed up SavoTU Slackware 35 01-28-2010 03:39 PM
Fonts messed up after update to KDE 3.3 linuxuser2005 Mandriva 2 12-12-2004 03:41 AM
system fonts messed up after updating MDK10 banj0 Mandriva 2 08-24-2004 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:40 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