LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


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

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


Hello,

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.

Thanks,

tz
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:35 PM.

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