0

Iam working on a new project and i some what messed things up in the operating system and i unnecessarily installed and updates some packages.So i cant figure out which packages i installed,so i have option of doing a fresh install of Operating system or just to remove all (including every update i ever have done since i installed) packages.


Is there any command i can use to completely remove every package which is either broken or damaged.

1 Answer 1

0

You can try this below command to remove broken packages in ubuntu.

sudo dpkg --remove --force-remove-reinstreq package_name

after removing package update your system with command

sudo apt-get update

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .