Posts: 51
Threads: 10
Joined: Aug 2018
Reputation:
1
When updating OpenPlotter from 1.1. to 1.2, I get the following
…
UPDATING PACKAGE LIST…
…
…
…
…
Fetched 11.7 MB in 24s (467 kB/s)
Reading package list . . . Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/dpkg/status
E: The package lits or status file could not be parsed or opened
#### ERROR. ABORTING, PRESS ENTER TO EXIT ####
I get exactly the same error when updating OpenCPN and OpenCPN plugins.
Posts: 2,893
Threads: 59
Joined: Mar 2016
Reputation:
278
For some reason your package list is corrupted. Open a terminal and type:
sudo rm /var/lib/apt/lists/* -vf
then try to update again and it should work.
Posts: 2,893
Threads: 59
Joined: Mar 2016
Reputation:
278
oops sorry the error is about dpkg not about apt.
Try to use an old file typing this:
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status.bad
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
Posts: 51
Threads: 10
Joined: Aug 2018
Reputation:
1
Thank you, Sailoog, but it did not work either.
I reformatted the SD card, used the NOOBS (OpenPlotter 1.0.0) then upgraded to 1.2 without problem. That was faster than searching for a corrupted file, at least for me (I am new to Raspberry Pi and to Linux/Raspbian.)
Posts: 66
Threads: 13
Joined: Apr 2016
Reputation:
0
Hi, getting this error trying to upgrade from 1.1.0 to 1.2.0
DOWNLOADING NEW OPENPLOTTER CODE...
Cloning into 'openplotter_tmp'...
remote: Enumerating objects: 5150, done.
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
#### ERROR. ABORTING, PRESS ENTER TO EXIT ####
Posts: 23
Threads: 7
Joined: Nov 2018
Reputation:
0
Need to get 0 B/269 MB of archives.
After this operation, 12.7 MB of additional disk space will be used.
apt-listchanges: Reading changelogs...
Extracting templates from packages: 100%
Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
files list file for package 'python' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
#### ERROR. ABORTING, PRESS ENTER TO EXIT ####
i also get this from 1.0 to 1.2 is there an image with the latest update i tried to reload a fresh image and got the same result
Posts: 23
Threads: 7
Joined: Nov 2018
Reputation:
0
I fixed mine by using a brand new Microsd card.
Sent from my iPhone using Tapatalk