OpenMarine
Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4)
+--- Thread: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 (/showthread.php?tid=1487)



Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Sailabout - 2018-09-18

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.


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Sailoog - 2018-09-18

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.


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Sailabout - 2018-09-18

(2018-09-18, 06:13 PM)Sailoog Wrote: 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.

Thank you but it did not help. I get the same error.

I shall get a new sd card and start from scratch.


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Sailoog - 2018-09-18

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


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Sailabout - 2018-09-19

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.)


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - cepicscepics - 2018-10-12

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 ####


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - Sailoog - 2018-10-13

(2018-10-12, 02:41 PM)cepicscepics Wrote: 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 ####

That sounds like a network error. Maybe it is a temporally connection problem, have you tried again?


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - cepicscepics - 2018-10-17

(2018-10-13, 08:32 PM)Sailoog Wrote:
(2018-10-12, 02:41 PM)cepicscepics Wrote: 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 ####

That sounds like a network error. Maybe it is a temporally connection problem, have you tried again?

it worked after changing network settings in openplotter network tab:

AP/client mode upgrade don't work
client mode upgrade work


RE: Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - festeraeb - 2018-12-11

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


Error when updating openPlotter (from 1.1 to 1.2) and OpenCPN1.2 - festeraeb - 2019-01-20

I fixed mine by using a brand new Microsd card.


Sent from my iPhone using Tapatalk