Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 01-26-2016, 09:09 AM   #1
Registered: Mar 2006
Distribution: Slackware 14
Posts: 89

Rep: Reputation: 15
Packet file(s) damaged - dpkg error code (2)


The harddisk where Debian V.7.9 is installed died slowly, i did a complete backup to a new disk with dd, but it seemed that files from /lib/modules and files from the packet management resided already in corrupt sectors of the old HDD.
When booting (the old or new hdd) i get several errors from modules and modules.dep.bin

Whenever i try to do apt-get install --reinstall packag-xyz i get:

"Dateilisten-Datei ("Filelist-File") des Pakets abc fehlt es wird angenommen daß das Paket keine Dateien installiert hat. (File is missing it seems that package abc has not installed any files)
(This happens for all package depencies)
And the last line saying dpkg returned an error code (2)

Is it possible to repair the package system or would a complete reinstall be better.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi I got this error E: Sub-process /usr/bin/dpkg returned an error code (100) sekhar.hai Linux - Newbie 1 07-28-2014 10:43 PM
[SOLVED] apt-get upgrade error - E: Sub-process /usr/bin/dpkg returned an error code (1) l_urch Debian 1 08-23-2012 06:24 PM
dpkg: parse error, in file `/var/lib/dpkg/updates/0004 contact.aprie Linux - General 2 04-17-2012 09:01 PM
Input/Output Error; dpkg sub-process /usr/bin/dpkg returned and error code (2) NosLycn Linux - Software 7 12-12-2011 02:50 AM
SOLVED: Upgrade error: Sub-process /usr/bin/dpkg returned an error code (1) jlb0057 Debian 3 03-11-2011 08:37 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:31 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration