Score:0

Getting a Fresh install from SNAP when application files were deleted

ru flag

I had some files on MYSQL-workbench-community corrupted, an accident involving overly-zealous AppArmor settings, a toy dropped on my keyboard by 5yo granddaughter, a power failure and a liquid lunch (not actually the last one, but there were cans of liquid lunch in the room. so ...) When Workbench wouldn't run, I removed it: rm -rf. This was a mistake because snap won't reinstall Workbench --Snap says it's already installed. Belatedly, I tried snap remove, which quit when it couldn't find the files I had already deleted. Various switch combinations with snap refresh didn't work, either. If I changed my computer's name and went to a coffee shop for a new ip addrress, would that do it? Is there a config file to edit?

Nmath avatar
ng flag
Can you edit your question and include the exact details. Apart from the liquid spill, it's hard to tell what exactly you did with the device. Consider using `monospace` formatting for the commands that you executed so that we can tell it apart from your narrative
guiverc avatar
cn flag
Details that should be provided include your OS & release Is this a server system? desktop system? what release? etc
Score:0
in flag

This can sometimes be resolved by first downgrading to a previous version of the snap using revert, which may restore the missing files/directories:

sudo snap revert <snap-package>

Once this is done, you can remove the snap:

sudo snap remove <snap-package> 

Finally, if you want the snap installed again, simply follow the standard installation:

sudo snap install <snap-package>

Note: This will not work if the snap has never received an update since its first installation.

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.