Question: I have installed a few snap packages (`snap install …`). I can use `snap list` to list them. However I can not tell which are manually installed, and which were installed because other packages depend on them (`auto` in apt). I want to remove automatically installed packages (`apt autoremove` in apt), (`docker system prune` in docker).

Answer: 
I also faced the same problem for a long time, Then I find out that onedrive installed from the default ppa is quite old and installing it from the following ppa resolved the issue for me.

```
sudo add-apt-repository ppa:yann1ck/onedrive
sudo apt install onedrive

```

This is the developer created ppa   
[https://launchpad.net/~yann1ck/+archive/ubuntu/onedrive](https://launchpad.net/%7Eyann1ck/+archive/ubuntu/onedrive)
**Disclosure:** I am the developer of the OneDrive Client for Linux - <https://github.com/abraunegg/onedrive>

To install the client correctly on Ubuntu please follow <https://github.com/abraunegg/onedrive/blob/master/docs/ubuntu-package-install.md>

Do not follow any other instructions on the Internet or elsewhere