Score:0

Accidentally removed /var folder then turned off

nz flag

I did something even dumber than this post, which accidentally removed the /var folder. I then turned off the computer. Now, I can't turn back in. When booting, it stays blocked at

/var/lib/snaps/snaps/skype_274.snap: Can't open blockdev

Is there a way to restore a Back-up from the recovery mode? What can I do?

Does it mean I need to reinstall? If so, will I lose all my data?

EDIT: My OS is Ubuntu 20.04. I don't remember what backup I put in place.

guiverc avatar
cn flag
You've provided no OS/product/release details. I'm a Lubuntu user mostly (*Lubuntu being a Ubuntu system*) and I have systems I don't perform upgrades on, instead performing a QA (*Quality Assurance*) test on them ~weekly & perform my upgrade of packages that way... ie. ensuring the non-destructive re-install worked flawlessly & none of my data/settings was impacted.. (*I don't specifically test for snap packages; Lubuntu doesn't ship with any beyond `firefox`*) but we don't know what system you're talking about currently so we'd be guessing. You can re-install non-destructively. You're using?
guiverc avatar
cn flag
If you're after advice on restoring your backups... you'll have to tell us what backup system you put in place & were using, before we can help you with that. Given we don't even know your OS/release details, we'd only be guessing.
bixiou avatar
nz flag
Sorry, I have edited the post. I am on Ubuntu 20.04.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.