Score:0

Some problems with dpkg

in flag

For the week I have a big problem with dpkg package.

It returns multiple errors when I'm trying to install or update a package.

Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/lib/command-not-found/ -a -e /usr/lib/cnf-update-db; then /usr/lib/cnf-update-db > /dev/null; fi'

Sub-process returned an error code

Sub-process /usr/bin/dpkg returned an error code (1)

Sub-process /usr/bin/dpkg returned an error code (100)

I have already tried multiple solutions from the internet but they do not work.

My distro is Kubuntu 20.04 LTS

David avatar
cn flag
I have already tried multiple solutions What have you tried exact commands and or steps.
Nemesis avatar
in flag
I tried some solutions like [this](https://itsfoss.com/dpkg-returned-an-error-code-1/) one and all the link when typing the error on google ( re-installing manually dpkg etc..)
David avatar
cn flag
That is not exact commands not much help can be given if we do not know what you have tried.
Nemesis avatar
in flag
I tried all the commands from [this](https://www.tecmint.com/sub-process-usr-bin-dpkg-returned-an-error-in-ubuntu/) site and that's basically all
user535733 avatar
cn flag
The question should show complete input and output. The summary lacks important detail that we need to offer useful advice.
Nemesis avatar
in flag
dpkg seems to be uninstalled, all commands with depkg output "dpkg: command not found"
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.