• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / Uncategorized / Reinstall or Fix Broken Packages in Linux Ubuntu 15.04 or Ubuntu 14.04

Reinstall or Fix Broken Packages in Linux Ubuntu 15.04 or Ubuntu 14.04

By Sourabh / August 6, 2015 Category: Uncategorized

Reinstall or fix broken packages in Linux Ubuntu 15.04 or Ubuntu 14.04. Ubuntu Terminal Commands (CLI) to fix broken packages. Here’s how to repair broken Ubuntu installation.

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.

One can fix broken packages via command line (Terminal) or Synaptic Package Manager. Let us see how:

Method 1. 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

Method 2. If you encounter an error with MergeList or a missing “Package: header” error (read below):

E: Encountered a section with no Package: header
E: Problem with MergeList…
E: The package lists or status file could not be parsed or opened.

Then remove the package lists and recreate them using the following command:

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

Method 3. If you get an error message with lock on the apt cache (read below):

E: Could not get lock /var/cache/apt/archives/lock – open (11: Resource temporarily unavailable)

Then run the following commands:

sudo fuser -cuk /var/lib/dpkg/lock
sudo rm -f /var/lib/dpkg/lock
sudo fuser -cuk /var/cache/apt/archives/lock
sudo rm -f /var/cache/apt/archives/lock

Broken Packages usually happens because of ‘Unmet dependencies for installed packages’. This can be fixed via ‘Synaptic Package Manager.’ I assume you have installed Synaptic Package Manager on Ubuntu. Now run the following steps:

  • Open Synaptic Package Manager ad go to ‘Status’ (left side)
  • Choose ‘Broken’
  • Remove these broken packages
  • Exit

I hope the above commands and processes will resolve the problem.

Tags: CLI Ubuntu Reinstall broken package, Fix broken package Ubuntu, Fix broken package Ubuntu 14.04, Fix broken package Ubuntu 14.10, Fix broken package Ubuntu 15.04, How to fix broken packages using Terminal Ubuntu, How to fix broken packages using Ubuntu Terminal, Reinstall broken package Ubuntu, Repair broken Ubuntu installation, Terminal Commands fix broken package Ubuntu, Terminal Commands reinstall broken package Ubuntu, Ubuntu 14.04 fix broken package, Ubuntu 14.10 fix broken package, Ubuntu 15.04 fix broken package, Ubuntu fix broken package, Ubuntu reinstall broken package, Ubuntu Terminal Commands fix broken package, Ubuntu Terminal Commands reinstall broken package

Primary Sidebar

Latest Posts

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap