Score:0

Reasons for difference in freed spaces after package uninstallation

kg flag

I have installed a LightDM over my RaspberryPi 3B+. During this process I was asked to confirm that additional 22 MB will be used:

enter image description here

When uninstalling exactly the same package only 770 kB of spaces was promised to be freed:

enter image description here

What am I missing? Why removing of just installed package returns 4% of previously occupied space?

user535733 avatar
cn flag
Since you did not show complete output, you are asking us to speculate. It's likely that parts of the output that you trimmed away include the answer.
Score:2
li flag

Actually when you install a package you get other packages(known as dependencies) which are required by the desired package. But on uninstalling only that specific package you mention gets removed. Hence the storage is still occupied by dependencies. You will have to use sudo apt autoremove to remove dependencies. However it too doesn't remove all the dependencies you installed with a particular package in case they are independent packages in themselves.

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.