dpkg: warning: files list file for package 'libecryptfs1'
0
votes
1
answer
1229
views
OS: Linux Mint 20.3
I usually get this error whenever I do sudo apt update.
dpkg: warning: files list file for package 'libecryptfs1' missing; assuming package has no files currently installed
But it has never caused any issue.
Now that am doing my Linux mint upgrade to 21, the upgrade stopped by throwing the following error.
dpkg: warning: files list file for package 'libecryptfs1' missing; assuming package has no files currently installed
(Reading database ... 409767 files and directories currently installed.)
Preparing to unpack .../libecryptfs1_111-5ubuntu1_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/libecryptfs1_111-5ubuntu1_amd64.deb (--unpack):
too-long line or missing newline in '/var/lib/dpkg/info/libecryptfs1.triggers'
Errors were encountered while processing:
/var/cache/apt/archives/libecryptfs1_111-5ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error - Return code: 100
When I try to reinstall it the followin error happens
encrypted32@anonymous24:~$ sudo apt-get autoclean
[sudo] password for encrypted32:
Reading package lists... Done
Building dependency tree
Reading state information... Done
encrypted32@anonymous24:~$ sudo apt-get install --reinstall libecryptfs1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libqt5networkauth5 python3-simplejson stunnel4 x11proto-input-dev
x11proto-randr-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
libecryptfs1
1 upgraded, 0 newly installed, 0 to remove and 1492 not upgraded.
Need to get 36.0 kB of archives.
After this operation, 21.5 kB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libecryptfs1 amd64 111-5ubuntu1 [36.0 kB]
Fetched 36.0 kB in 2s (17.6 kB/s)
dpkg: warning: files list file for package 'libecryptfs1' missing; assuming package has no files currently installed
(Reading database ... 409767 files and directories currently installed.)
Preparing to unpack .../libecryptfs1_111-5ubuntu1_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/libecryptfs1_111-5ubuntu1_amd64.deb (--unpack):
too-long line or missing newline in '/var/lib/dpkg/info/libecryptfs1.triggers'
Errors were encountered while processing:
/var/cache/apt/archives/libecryptfs1_111-5ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Output for
cat /var/lib/dpkg/info/libecryptfs1.triggers
below:
$���m��mo�L�D��;�%g�?w��ŷ���ovH0��a�5��*�ؒ��l͛�S�iy�r�O7����%L]�
Not sure what that output means
Note: i did apt update
before i began the upgrade
Any help on fixin this is appeciated.
As per @a.b recommendation I ran all the commands
Pasting the output of the last command below
encrypted32@anonymous24:~$ sudo apt-get -f reinstall libecryptfs1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libqt5networkauth5 python3-simplejson stunnel4 x11proto-input-dev
x11proto-randr-dev
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
libecryptfs1
1 upgraded, 0 newly installed, 0 to remove and 1492 not upgraded.
Need to get 36.0 kB of archives.
After this operation, 21.5 kB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libecryptfs1 amd64 111-5ubuntu1 [36.0 kB]
Fetched 36.0 kB in 1s (30.9 kB/s)
dpkg: warning: files list file for package 'libecryptfs1' missing; assuming package has no files currently installed
(Reading database ... 409767 files and directories currently installed.)
Preparing to unpack .../libecryptfs1_111-5ubuntu1_amd64.deb ...
Unpacking libecryptfs1 (111-5ubuntu1) over (111-0ubuntu7) ...
Setting up libecryptfs1 (111-5ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Now, how do I resume my upgrade ? From the Mintupgrade tool or is there any command ?
Asked by Forums896
(1 rep)
May 6, 2023, 12:39 PM
Last activity: May 8, 2023, 07:23 PM
Last activity: May 8, 2023, 07:23 PM