0

I was playing around with the x server and LXDE in ubuntu server and installed it using the command sudo apt-get install xorg lubuntu-desktop. When I went to uninstall it, by using the command sudo apt-get remove xorg lubuntu-desktop --purge then sudo apt-get autoremove, I notice that the space freed up is less than the amount installed. Also, I still have some files and commands left over from X such as startx and lxde-session. How do I get rid of these?

The computer also boots up as lubuntu.

0

Test this:

Run it:

sudo -i
apt-get update
apt-get install --reinstall aptitude deborphan

aptitude remove '?and(?reverse-depends(lubuntu),?not(?reverse-depends(?exact-name(ubuntu))))'

apt-get dist-upgrade
deborphan
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)
apt-get autoremove
apt-get clean
reboot

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.