Score:-5

Bad uninstall of avg2013flx still causing prob (cont of my last issue)

br flag

The issue from my last post is still not solved and has rendered the Snap Store useless. I am getting an error that looks like this while uninstalling the Steam Installer.

"Unable to remove 'Steam Installer':
Error while installing package: installed avg2013flx package post-installation script subprocess returned error exit status 1"

Once again: how do I remove any mention of avg2013flx from my system? I made a bad tar install and attempted to manually remove every file that had the characters avg in it. Unfortunately it seems I did a poor job since I'm still getting errors like this.

Score:-3
br flag

Okay, so the issue was resolved about 7 years ago (WOOOHOOO OLD FORUMS) and was centered in /var/lib/dpkg/info. Set that as the primary directory and run

ls |grep (whatever package is causing problems)

This lists incomplete items that is messing with your system. Now remove these with

rm X && rm Y && rm Z && etc etc...

Many, many thanks to these guys

N0rbert avatar
zw flag
Answer looks non-reproducible for me.
Zanna avatar
kr flag
BTW you don't need to `grep` the output of `ls` - you can just put `ls whatever-package*` - result will likely be more readable like that. I would run `rm` on one file at a time rather than in a chain of commands - typing isn't saved here and there might be an error that holds things up. You'll also need `sudo` to `rm` files in this directory. Also future readers please note that this isn't a proper method - one should run `sudo dpkg --purge whatever-package` and only resort to deleting files manually if everything else has failed - you can cause further issues by doing that
BaddaBeepBaddaBoop avatar
br flag
The original issue wasn't solvable by dpkg. It was an incomplete tar install that just wouldn't go away
BaddaBeepBaddaBoop avatar
br flag
@N0rbert Did you type this literally? I used X, Y, and Z to describe whatever package is giving you trouble. I have done this twice now for bad installs so it should work.
Zanna avatar
kr flag
well software installed from source usually only makes entries in `/var/lib/dpkg/info` if one uses `checkinstall` to make a deb package at install time, in which case there is no ordinary reason why purging with `dpkg` would not work. Even if this procedure was the only thing that worked in your case, I left the comment for other readers who could benefit from trying a more standard approach first.
BaddaBeepBaddaBoop avatar
br flag
That's good of you. I don't know, maybe I got a bad version, maybe I'll just avoid tar files like the plague since I don't understand them. But for anyone diving deep into the archives of the internet to find this, please do lots and lots of reading before installing anything. Especially tars.
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.