[et_pb_section fb_built=”1″ _builder_version=”3.0.47″][et_pb_row _builder_version=”3.1.1″ background_size=”initial” background_position=”top_left” background_repeat=”repeat” animation_style=”fold”][et_pb_column type=”4_4″ _builder_version=”3.1.1″ parallax=”off” parallax_method=”on”][et_pb_text _builder_version=”3.1.1″]

How to fix broken packages in Ubuntu via Terminal. To do so list broken packages in Ubuntu and then Ubuntu users can fix broken packages via command line. If a package installation fails in Linux Ubuntu, it can cause few problems. For example, the package manager freezes or become locked. It is a bit problem to use Ubuntu properly while the system packages are broken or corrupt. Luckily, there are few ways to resolve the issue.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section][et_pb_section fb_built=”1″ _builder_version=”3.1.1″][et_pb_row box_shadow_style=”preset2″ animation_style=”fold” _builder_version=”3.1.1″][et_pb_column type=”4_4″ _builder_version=”3.1.1″ parallax=”off” parallax_method=”on”][et_pb_tabs _builder_version=”3.1.1″][et_pb_tab _builder_version=”3.1.1″ title=”Fix broken packages using Ubuntu terminal”]
  • If you know the name of the broken package, you can remove it manually using the following command.

  • sudo dpkg --remove -force --force-remove-reinstreq PACKAGE_NAME_GOES_HERE

If you aren’t sure about the name of the broken package, follow the commands given below:

  • Command 1

  • sudo apt-get --fix-broken install

Command 2

If a Ubuntu package installation fails (due to dependencies), run the following command

  • sudo apt-get clean
  • sudo apt-get install -f
  • sudo dpkg --configure -a
  • sudo apt-get update

Command 3

  • sudo rm /var/lib/apt/lists/* -vf
    sudo apt-get update
  • Command 4

  • sudo apt-get clean
  • sudo apt-get autoclean
  • sudo apt-get autoremove
    Command 5

  • sudo dpkg --configure -a
    sudo apt-get update

Divanshu Administrator
IT Engineer , IT
We bring to you latest happening in the digital world and the technology space. Which company is going to launch what new product? When do you expect a gadget to be launched? How to fix your technology issues? All such questions and issues are at the core of Source Digit. Our small team ensures that you stay updated with the latest in this fast-paced digital world.
follow me