Score:0

Cannot Install New Software (Store Bug)

vn flag

When I try to install new software, the dpkg and the libllvm12 interrupts the process with the following errors:

 The following packages have mismatched dependencies: 
libllvm12 : Break: libllvm12:i386 (!= 1:12.0.0-3ubuntu1~20.04.3) but 1:12.0.0-3ubuntu1~20.04.4 is installed  libllvm12:i386 : Break: libllvm12 (!= 1:12.0.0-3ubuntu1~20.04.4) but 1:12.0.0-3ubuntu1~20.04.3 is installed 
E: Mismatched dependencies. Try 'apt --fix-broken install' without any packages (or specify a solution)

Also sudo apt --fix-broken install doesn't work because dpkg comes with an error:

dpkg-deb: error: subprocess <decompression> returned exit status 2 
error dpkg: error processing file /var/cache/apt/archives/libllvm12_1%3a12.0.0-3 ubuntu1~20.04.4_amd64.deb (--unpack):  
cannot copy extracted data to './usr/lib/x86_64-linux-gnu/libLLVM-12.so. 1' to '/usr/lib/x86_64-linux-gnu/libLLVM-12.so.1.dpkg-new': 
end of file or  unexpected stream 
Errors were encountered while processing:  
/var/cache/apt/archives/libllvm12_1%3a12.0.0-3ubuntu1~20.04.4_amd64.deb 
E: Sub-process /usr/bin/dpkg returned an error code (1)

Also, The Ubuntu store is broken, text only, gear icon, and screenshots cannot be found.

Jeff avatar
mx flag
If you still have the USB, you should be able to reinstall the packages without DPKG. If you can access the Software & Updates menu, you can select the Ubuntu installer to reinstall. Or you can download the files from the internet and unpack/reinstall them manually.
Matthias Lenmher avatar
nl flag
Did you have disk space available to perform these operations? try `$ sudo apt-get autoclean` `$ sudo apt-get autoremove`
user535733 avatar
cn flag
The description seems more like mis-configured sources or some other user-created issue rather than a real bug. But the description is vague, so it might be after all. Edit your question to include the complete output of `sudo apt update` Additional detail on what might have happened to cause those problems would get you good advice much faster. If we must speculate, fewer volunteers will be willing to help.
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.