Score:0

Accidentally installed MAAS Debian packages alongside MAAS snap

us flag

Not able to install or uninstall packages due to the following error:

Preparing to unpack .../maas-common_1%3a3.0.0-10029-g.986ea3e45-0ubuntu1~20.04.1_all.deb ...
ERROR: The MAAS Debian packages may not be installed alongside the MAAS Snap!
dpkg: error processing archive /var/cache/apt/archives/maas-common_1%3a3.0.0-10029-g.986ea3e45-0ubuntu1~20.04.1_all.deb (--unpack):
 new maas-common package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/maas-common_1%3a3.0.0-10029-g.986ea3e45-0ubuntu1~20.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
in flag
Can you [edit] your question to include the version of Ubuntu you’re running?
cocomac avatar
cn flag
@matigo The command output says `ubuntu1~20.04.1` so I'd guess 20.04.1
Score:1
zw flag

You have to remove the mentioned MAAS deb-package by

sudo apt-get purge maas-common
sudo dpkg --force-all maas-common
sudo apt-get install -f

and then use snap instead.

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.