rm + -r + root is disaster!!!

New to Debian (Or Linux in general)? Ask your questions here!

rm + -r + root is disaster!!!

Postby silas2 » 2019-12-10 15:10

I've removed my dpkg!!! I am a beginner.....anyway i think i've recovered it enough by following this https://askubuntu.com/questions/383339/ ... -directory, but i've just run sudo apt-get update which worked but listed a load of apps I've already installed with :
Code: Select all
dpkg: warning: files list file for package 'libreoffice-calc' missing; assuming package has no files currently installed
etc...

Is this a problem? What should I do? Please don't say wipe!
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: rm + -r + root is disaster!!!

Postby silas2 » 2019-12-10 15:16

Actually, I think I'm ok, I've just run the rest of the healing commands and it looks like the installed packages have found their package lists.
silas2
 
Posts: 38
Joined: 2019-09-30 13:22

Re: rm + -r + root is disaster!!!

Postby stevepusser » 2019-12-10 20:25

Just restore your damaged system from your backup--Timeshift is dead simple to use.

You especially need to do that if you run commands off the Net without understanding what they do. :roll:
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: LibreOffice 7.0.0, QMPlay2 20.07.04, Pale Moon 28.12.0, KeepassXC 2.6.0, Arqiver 0.6.0+git, Foliate 2.4.2
User avatar
stevepusser
 
Posts: 11891
Joined: 2009-10-06 05:53


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 13 guests

fashionable