Linux Ubuntu 16.04 Xenial LTS Solving: “Input/output error” of “Fatal Error” Package Issue

March 8th, 2016 by thelinuxevangelist

Repairing Ubuntu 16.04 Xenial LTS Input/output Package Issue

Hello Linux User, this Tutorial Shows You Step-by-Step How-to Troubleshooting a Linux Ubuntu 16.04 Xenial Xerus LTS i386/amd64 Broken Package from Input/output Error.

The Reparation Workflow is Working also in Case of an Ubuntu Apt-get/Dpkg “input/output”, “fatal error” and error (2) Issues!

This is the Ultimate Procedure to Follow for Successfully Recovering Your Ubuntu System from a Severe Issue.

Linux Ubuntu 16.04 Xenial LTS Solving: 'Input/output error' 'fatal error' Package Issue - Featured
  1. First Follow the First-Aid Auto-Repairing Procedure

    Fixing Ubuntu Broken System

    The Linked Guide Shows You How-to Check Up Your System Before this Manual Reparation!

  2. Open Shell session
    (Press “Enter” to Execute Commands)
    Ctr+Alt+t on desktop

    Repairing Ubuntu 16.04 Xenial LTS Input/output Package Issue - Open Terminal

    Hit Tab to Auto-Complete the Shell Commands…

  3. Login as SuperUser
    Just to Make Shorter the Commands…

    sudo su

    In this Case, Triple Check the Commands Before Execution!
    If Got “User is Not in Sudoers file” then Look: Solution

  4. Collect a List of the Broken Packages

    apt-get -f install

    Find inside the Output and Take Note of All the Packages that are Misbehaving.

  5. Make a Copy of the Packages status File
    Just in case You’ll forced to Restore it…

    cp /var/lib/dpkg/status /var/lib/dpkg/status.bak
  6. Edit the dpkg “status” File

    gedit /var/lib/dpkg/status

    Remove All Blocks Beginning with Package: [myPackageName] and Ended with a Blank Line

    Package: libakonadi-kde4
    Status: install ok installed
    Priority: optional
    Section: libs
    Installed-Size: 3047
    Maintainer: Kubuntu Developers 
    Architecture: amd64
    Source: kdepimlibs
    Version: 4:4.13.3-0ubuntu0.1
    Replaces: kdepimlibs-data, kdepimlibs5 (<< 4:4.4.0)
    Depends: libakonadiprotocolinternals1 (>= 1.11.80), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libkdecore5 (>= 4:4.13.3), libkdeui5 (>= 4:4.13.3), libkio5 (>= 4:4.13.3), libqjson0 (>= 0.7.1), libqt4-dbus (>= 4:4.6.1), libqt4-network (>= 4:4.5.3), libqt4-sql (>= 4:4.5.3), libqtcore4 (>= 4:4.8.0), libqtgui4 (>= 4:4.8.0), libsolid4 (>= 4:4.13.3), libstdc++6 (>= 4.6)
    Breaks: kdepimlibs-data, kdepimlibs5 (<< 4:4.4.0)
    Description: library for using the Akonadi PIM data server
     This is the client access library for using the Akonadi PIM data server.
     This package is part of the KDE Development Platform PIM libraries module.
    Original-Maintainer: Debian Qt/KDE Maintainers 

    Save the File.

  7. Try Again to Repairing System

    apt-get -f install

    If Still New Broken Packages are Showing Up then Repeat the Former Step.
    With a More or Less large dose of Patience Your Ubuntu Should be Successfully and Happily Recovered :)

  8. Only in Case of No Solution then Recover the old “status” File!

    cp /var/lib/dpkg/status.bak /var/lib/dpkg/status
  9. Last to Exit the SuperUser Session:

Share on Tumblr

Tags: , , , , , , , , , , , , , , , , ,

Comments are disabled