6

Help cleaning up apt/dpkg after deleting installed files

view full story
linux-howto

http://www.linuxquestions.org – OK, I know now that I shouldn't have deleted the installed files, I should have run "apt-get remove", but it's too late now. I'd like to clean up apt/dpkg so that it doesn't think the package whose files I've deleted is still installed, but when I run: Code: apt-get remove --purge linux-image-2.6.32-2.slh.4 I get the following: Code: Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package linux-image-2.6.32-2.slh.4 The package does show up in the list when I run the command: Code: dpkg -l "linux-image*" with "ii" in the 1st column, whatever that means. Should I just rm the matching files in /var/lib/dpkg/info? Thanks, Mike (HowTos)