[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276060: Workaround for upgrade to >=0.6.44



Hello!

Hit the problem with an "alien"ated package, that had nearly all it's files marked as configfile.

When you can't use apt/dpkg with the discussed error, find the offending status section:

# cd /var/lib/dpkg
# diff -u status-old status

Watch for space-intended lines after the "Conffiles:" line.
Look for an string, that matches many of the lines (probably the package name).

# grep -v "^ /.*<matchstring>" status status.mod
where <matchstring> is the string unique for this package.

# cp status-old status-old.bak
# cp status.mod status
# apt-get remove --purge <offending-package>
# cp status-old.bak status

The last line is for making shure, that no packages where harmed that grep maybe hit.

Now upgrade apt
# apt-get update
# apt-get install apt

The system should be in an usable and clean state. You can now try to install your offending package again.

Patrick



Reply to: