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: Mobian 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/


RE: Cant update and upgrade mobian. - wcdeich4@hotmail.com - 12-24-2021

Now I have a similar problem with the latest Mobian release flashed onto my PinePhone's eMMC

Unable to update "OS Updates":
Prepared update not found: /var/lib/PackageKit/prepared-upgrade


RE: Cant update and upgrade mobian. - susy1075 - 01-06-2022

wcdeich4@hotmail.com

Where you able to solve this problem? I am having the same issue.


RE: Cant update and upgrade mobian. - bcnaz - 01-06-2022

(12-24-2021, 09:23 PM)wcdeich4@hotmail.com Wrote: Now I have a similar problem with the latest Mobian release flashed onto my PinePhone's eMMC

Unable to update "OS Updates":
Prepared update not found: /var/lib/PackageKit/prepared-upgrade

I see the same notice on occasion, but I think it has to do with the "update Cache",

Sometimes the updates appear before they are released. (?)

I update my daily driver with the Mobian OS every day, I DO see this happen, but it catches up usually within 24 hours.

(as I have multiple Pinephones, I also have one test phone that I run the latest release of Mobian on a sd card, -- first Nightly, now weekly releases.)

Pine would not exist without these great Developers,  but my mission is to prove a GUI User can survive here, 
....or at least "Follow along".... with a working phone.  (Talk, Text, data)

It was a quite a challenge back in the Brave Heart days, but it has gotten much easier since then.
...I have had a 'working' Pinephone 99+% of the time since,  and I have never opened a terminal once.

Needing an occasional Restart is not a big deal for me, I hear Android users and iphone users scream when they must do a restart.
but all phone operating systems do need a restart on occasion.

Most of this thread is quite "DATED"  and most of the problems listed here are from the past.