PINE64
Cant update and upgrade mobian. - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Debian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: Cant update and upgrade mobian. (/showthread.php?tid=13798)



Cant update and upgrade mobian. - mode80 - 05-04-2021

Hello , I have problem.
I cant update and upgrade Mobian.
In terminal write

Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file  - open (2: No such file or directory)
E: Problem opening 
E: The package lists or status file could not be parsed or opened.


Cant update and upgrade mobian. - vongillus - 05-04-2021

Hello,

is it a fresh install?


RE: Cant update and upgrade mobian. - mode80 - 05-04-2021

(05-04-2021, 02:21 PM)vongillus Wrote: Hello,

is it a fresh install?
No, I install about 1,5 month ago.


RE: Cant update and upgrade mobian. - MtnSk8 - 05-04-2021

You should be able to refresh the apt lists by:

1 Make a backup of your apt lists
sudo cp -R /var/lib/apt/lists/* ~/lists/

2 Remove apt lists
sudo rm -R /var/lib/apt/lists/*

3 Repopulate
sudo apt-get update

Cheers!


RE: Cant update and upgrade mobian. - mode80 - 05-05-2021

(05-04-2021, 09:16 PM)MtnSk8 Wrote: You should be able to refresh the apt lists by:

1 Make a backup of your apt lists
sudo cp -R /var/lib/apt/lists/* ~/lists/

2 Remove apt lists
sudo rm -R /var/lib/apt/lists/*

3 Repopulate
sudo apt-get update

Cheers!
Thanks.


RE: Cant update and upgrade mobian. - C0ffeeFreak - 05-06-2021

(05-04-2021, 02:13 PM)mode80 Wrote: Hello , I have problem.
I cant update and upgrade Mobian.
In terminal write

Reading package lists... Error!
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file  - open (2: No such file or directory)
E: Problem opening 
E: The package lists or status file could not be parsed or opened.
Be aware, there was a defect in the boot partition around the time frame you did your installation where you would run out of space and no longer be able to update. Sooner or later you may need to do a fresh installation to fix the problem. Follow the blog. https://blog.mobian-project.org/posts/2021/03/17/update-2021-03-17/