Cant boot - hdd error
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Cant boot - hdd error
Hi Mint Team,
My laptop fell now it cant boot. Not a problem. I installed a new copy of mint 17. system boot with no problems but now it cant update software packages. Having issues with dpkg: Tried http://technoesis.net/solved-e-sub-proc ... or-code-2/ as this is the error i am getting. Also tried http://mintguide.org/system/283-how-to- ... -mint.html but to no avail. How can i fix this.
My laptop fell now it cant boot. Not a problem. I installed a new copy of mint 17. system boot with no problems but now it cant update software packages. Having issues with dpkg: Tried http://technoesis.net/solved-e-sub-proc ... or-code-2/ as this is the error i am getting. Also tried http://mintguide.org/system/283-how-to- ... -mint.html but to no avail. How can i fix this.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Cant boot - hdd error
What's the HDD error?
If an operating system can be installed on the hard drive and it boots, then I doubt the hard drive is the reason dpkg isn't working.
If an operating system can be installed on the hard drive and it boots, then I doubt the hard drive is the reason dpkg isn't working.
Re: Cant boot - hdd error
Because I thinkI have tried all the suggestions and its still not fixed I have concluded that it must be a n hardware issue becasue of this forum post: http://forums.linuxmint.com/viewtopic.p ... +#p1022603
I have the same error.
it is suggested that the is a sign of hardware damage. So that is what I believe is the HDD error message.
I have the same error.
Code: Select all
GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
dpkg: unrecoverable fatal error, aborting:
reading files list for package 'some-package-name': Input/output error
E: Sub-process /usr/bin/dpkg returned an error code (2)
Code: Select all
Input/output error
Re: Cant boot - hdd error
after discovering which package was causing the isse and having remove it from the status file as suggested i was able to get it fixed. thanks a million.
Re: Cant boot - hdd error
So far all ran well until i came upon these unmet dependencies:
I have tried apt-get -f install but i get the similar errors. Any ides?
Code: Select all
The following packages have unmet dependencies:
libqt4-declarative : Depends: libqt4-script (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqt4-sql (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqtcore4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqtgui4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqt4-designer : Depends: libqt4-script (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqt4-xml (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqtcore4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqtgui4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqt4-help : Depends: libqt4-network (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
libqt4-network : Depends: libqtcore4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
Depends: libqtdbus4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqt4-xmlpatterns : Depends: libqtcore4 (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1 is to be installed
libqtgui4 : Depends: libqt4-declarative (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
libvlccore7 : Depends: vlc-data (= 2.1.4-0ubuntu14.04.1) but 2.1.6-0ubuntu14.04.1 is to be installed
libwebkit2gtk-3.0-25 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.4-1~ubuntu1) but 2.4.8-1ubuntu1~ubuntu14.04.1 is to be installed
libwebkitgtk-3.0-0 : Depends: libjavascriptcoregtk-3.0-0 (= 2.4.4-1~ubuntu1) but 2.4.8-1ubuntu1~ubuntu14.04.1 is to be installed
smbclient : Depends: samba-common (= 2:4.1.6+dfsg-1ubuntu2.14.04.3) but 2:4.1.6+dfsg-1ubuntu2.14.04.7 is to be installed
Depends: samba-libs (= 2:4.1.6+dfsg-1ubuntu2.14.04.3) but 2:4.1.6+dfsg-1ubuntu2.14.04.7 is to be installed
Re: Cant boot - hdd error
There doesn't seem to be a problem. The message is saying particular dependency versions need to be installed, but only later versions of these dependencies are available. This should be fine. It wouldn't be fine if only earlier versions of the dependencies were available.
Re: Cant boot - hdd error
The complete error message looks like this:
I am not able to install any packages even those that are not related to this error.
Code: Select all
apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libqt4-declarative libqt4-designer libqt4-network libqt4-xmlpatterns
libqtgui4 libvlccore7 libwebkit2gtk-3.0-25 libwebkitgtk-3.0-0 smbclient
Suggested packages:
libqt4-declarative-folderlistmodel libqt4-declarative-gestures
libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer
qt4-qtconfig heimdal-clients
The following NEW packages will be installed:
libqtgui4
The following packages will be upgraded:
libqt4-declarative libqt4-designer libqt4-network libqt4-xmlpatterns
libvlccore7 libwebkit2gtk-3.0-25 libwebkitgtk-3.0-0 smbclient
8 upgraded, 1 newly installed, 0 to remove and 186 not upgraded.
5 not fully installed or removed.
Need to get 0 B/32.6 MB of archives.
After this operation, 10.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Sub-process gzip returned an error code (1)
E: Prior errors apply to /var/cache/apt/archives/libvlccore7_2.1.6-0ubuntu14.04.1_i386.deb
E: Prior errors apply to /var/cache/apt/archives/libwebkit2gtk-3.0-25_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb
E: Prior errors apply to /var/cache/apt/archives/libwebkitgtk-3.0-0_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb
E: Prior errors apply to /var/cache/apt/archives/smbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_i386.deb
debconf: apt-extracttemplates failed: Interrupted system call
(Reading database ... 156247 files and directories currently installed.)
Preparing to unpack .../libqt4-designer_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb ...
Unpacking libqt4-designer:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) over (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libqt4-designer_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libqt4-designer_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libQtDesignerComponents.so.4.8.6' to '/usr/lib/i386-linux-gnu/libQtDesignerComponents.so.4.8.6.dpkg-new': unexpected end of file or stream
Preparing to unpack .../libqt4-declarative_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb ...
Unpacking libqt4-declarative:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) over (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libqt4-declarative_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libqt4-declarative_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libQtDeclarative.so.4.8.6' to '/usr/lib/i386-linux-gnu/libQtDeclarative.so.4.8.6.dpkg-new': unexpected end of file or stream
Preparing to unpack .../libqt4-xmlpatterns_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb ...
Unpacking libqt4-xmlpatterns:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) over (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libqt4-xmlpatterns_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libqt4-xmlpatterns_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libQtXmlPatterns.so.4.8.6' to '/usr/lib/i386-linux-gnu/libQtXmlPatterns.so.4.8.6.dpkg-new': unexpected end of file or stream
Preparing to unpack .../libqt4-network_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb ...
Unpacking libqt4-network:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) over (4:4.8.5+git192-g085f851+dfsg-2ubuntu4) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libqt4-network_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libqt4-network_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libQtNetwork.so.4.8.6' to '/usr/lib/i386-linux-gnu/libQtNetwork.so.4.8.6.dpkg-new': unexpected end of file or stream
Preparing to unpack .../libqtgui4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb ...
Unpacking libqtgui4:i386 (4:4.8.5+git192-g085f851+dfsg-2ubuntu4.1) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libqtgui4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libqtgui4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libQtGui.so.4.8.6' to '/usr/lib/i386-linux-gnu/libQtGui.so.4.8.6.dpkg-new': unexpected end of file or stream
Preparing to unpack .../libvlccore7_2.1.6-0ubuntu14.04.1_i386.deb ...
Unpacking libvlccore7 (2.1.6-0ubuntu14.04.1) over (2.1.4-0ubuntu14.04.1) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libvlccore7_2.1.6-0ubuntu14.04.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libvlccore7_2.1.6-0ubuntu14.04.1_i386.deb (--unpack):
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Preparing to unpack .../libwebkit2gtk-3.0-25_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb ...
Unpacking libwebkit2gtk-3.0-25:i386 (2.4.8-1ubuntu1~ubuntu14.04.1) over (2.4.4-1~ubuntu1) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libwebkit2gtk-3.0-25_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libwebkit2gtk-3.0-25_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libwebkit2gtk-3.0.so.25.10.11' to '/usr/lib/i386-linux-gnu/libwebkit2gtk-3.0.so.25.10.11.dpkg-new': unexpected end of file or stream
Preparing to unpack .../libwebkitgtk-3.0-0_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb ...
Unpacking libwebkitgtk-3.0-0:i386 (2.4.8-1ubuntu1~ubuntu14.04.1) over (2.4.4-1~ubuntu1) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/libwebkitgtk-3.0-0_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/libwebkitgtk-3.0-0_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb (--unpack):
cannot copy extracted data for './usr/lib/i386-linux-gnu/libwebkitgtk-3.0.so.0.22.14' to '/usr/lib/i386-linux-gnu/libwebkitgtk-3.0.so.0.22.14.dpkg-new': unexpected end of file or stream
Preparing to unpack .../smbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_i386.deb ...
Unpacking smbclient (2:4.1.6+dfsg-1ubuntu2.14.04.7) over (2:4.1.6+dfsg-1ubuntu2.14.04.3) ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/smbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_i386.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb (subprocess): decompressing archive member: lzma error: unexpected end of input
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/smbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_i386.deb (--unpack):
cannot copy extracted data for './usr/bin/smbtree' to '/usr/bin/smbtree.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
/var/cache/apt/archives/libqt4-designer_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb
/var/cache/apt/archives/libqt4-declarative_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb
/var/cache/apt/archives/libqt4-xmlpatterns_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb
/var/cache/apt/archives/libqt4-network_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb
/var/cache/apt/archives/libqtgui4_4%3a4.8.5+git192-g085f851+dfsg-2ubuntu4.1_i386.deb
/var/cache/apt/archives/libvlccore7_2.1.6-0ubuntu14.04.1_i386.deb
/var/cache/apt/archives/libwebkit2gtk-3.0-25_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb
/var/cache/apt/archives/libwebkitgtk-3.0-0_2.4.8-1ubuntu1~ubuntu14.04.1_i386.deb
/var/cache/apt/archives/smbclient_2%3a4.1.6+dfsg-1ubuntu2.14.04.7_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Re: Cant boot - hdd error
Thank you for all your help. In the end after reading so many post from the google search and realizing that I am not a linux guru to fix the issue I got a new installation of 17.2 mate ditching cinnamon and what do you know, it worked perfectly.