Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3200

General Questions • [Software] Recover/Reinstall In Emergency Mode? Unable to Boot

$
0
0
Version: 11
Computer: Lenovo Legion 5

Good day,

I am a relatively new Debian user, having installed 11 last year (?). I've had relatively few problems -- at least, none that I couldn't fix, until now.

SHORT VERSION: I'm at the end of my rope, unable to boot and have concluded that I need to recover from my month-old backup tar.gz, which is on a portable drive. Can I do this in emergency mode? If so, how would I go about that? If not, what can I do?

LONG VERSION:

Installed the Nvidia GPU driver from the Debian site, rebooted and am now unable to boot.

Following instructions I found online from others who had the same prolem, booted in emergency mode

Code:

apt purge '*nvidia*'
Result:
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to locate package *nvidia*
E: Couldn't find any package by glob '*nvidia*'

Code:

apt install --reinstall xserver-xorg-core xserver-xorg-video-nouveau
Result:
Reading package lists... Done
Building dependency tree... Done
W: Not using locking for read only lock file /var/lib/dpkg/lock-frontend
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to locate package xserver-xorg-core
E: Unable to locate package xserver-video-nouveau

Code:

apt update
Results [truncated]:
Err:6 Could not resolve 'ftp.uk.debian.org' #(I checked and this is a valid address)
All packages are up to date
[Followed by >25 Ws]

Code:

apt-get update
Results [truncated]:
[Eight Errs]
[>25 Ws]

Any help would be greatly appreciated!

Sincerely,



Derek

Statistics: Posted by DerekK — 2023-12-22 11:55 — Replies 4 — Views 100



Viewing all articles
Browse latest Browse all 3200

Trending Articles