Welcome! Log In Create A New Profile

Advanced

Pogoplug V4 6.5.7 Issue

Posted by bluzfanmr1 
Pogoplug V4 6.5.7 Issue
November 15, 2023 02:51PM
As I attempt to upgrade from 6.3.8 to 6.5.7 on my Pogoplug V4 I keep getting the following:

root@PogoplugV4:/boot# dpkg -i linux-image-6.5.7-kirkwood-tld-1_1_armel.deb
dpkg: unrecoverable fatal error, aborting:
 loading files list file for package 'gpg-wks-client': cannot read /var/lib/dpkg/info/gpg-wks-client.list (Input/output error)

After a few attempts it will continue as normal and looks like the upgrade was successful. I then went to purge the old image 6.3.8 and get this:

root@PogoplugV4:/boot# apt purge linux-image-6.2.7-kirkwood-tld-1                                        
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  linux-image-6.2.7-kirkwood-tld-1*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 100 MB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: unrecoverable fatal error, aborting:
 loading files list file for package 'gpg-wks-client': cannot read /var/lib/dpkg/info/gpg-wks-client.list (Input/output error)

Any thoughts on what could be going on? Thanks for any suggestions.
Re: Pogoplug V4 6.5.7 Issue
November 15, 2023 04:45PM
bluzfanmr1,

> loading files list file for package
> 'gpg-wks-client': cannot read
> /var/lib/dpkg/info/gpg-wks-client.list
> (Input/output error)

It seems that file was corrupted. Try to print the content.
cat /var/lib/dpkg/info/gpg-wks-client.list
It will probably give you the same Input/output error.

At this point, I would run fsck. Boot with a new basic rootfs, and then plug in this rootfs, run e2fsck to see if there are file system error.

=========

If e2fsck fixes file system error but could not recover the file.

You could try to reinstall the package gpg-wks-client. See if it will recreate the file
apt-get install gnupg gnupg2 gpg-wks-client

If that does not help, purge the package first, and then install
dpkg --purge gpg-wks-client
apt-get install gnupg gnupg2 gpg-wks-client

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: