Score:0

restore files in path /var/lib/dpkg lock

ae flag

I accidentally deleted /var/lib/dpkg/lock and /var/lib/dpkg /frontend files from my ubuntu 22.04 system. How do I return them?

Score:1
cn flag

Those look like:

-rw-r----- 1 root root 0 nov  3 06:04 lock
-rw-r----- 1 root root 0 apr  3  2022 lock-frontend

Recreate by

sudo -i
cd /var/lib/dpkg/
touch lock lock-frontend
chown root:root lock lock-frontend
chmod 640 lock lock-frontend
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.