Score:0

apt-get,dpkg not working in ubuntu20.4

bz flag
    crypto@Stock:~$ sudo apt-get install --reinstall dpkg
[sudo] password for crypto: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package dpkg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'dpkg' has no installation candidate
crypto@Stock:~$ apt-get upgrade -y
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
crypto@Stock:~$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    crypto@Stock:~$ sudo apt-get dist-upgrade
marosg avatar
vn flag
Please show output of `apt policy dpkg`
Adnan avatar
na flag
Download the package from https://pkgs.org/download/dpkg
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.