PINE64
HELP PLEASE cant update PPP says packagekit crashed and also says database is locked - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=177)
+--- Forum: General Discussion of PinePhone Pro (https://forum.pine64.org/forumdisplay.php?fid=178)
+--- Thread: HELP PLEASE cant update PPP says packagekit crashed and also says database is locked (/showthread.php?tid=16336)



HELP PLEASE cant update PPP says packagekit crashed and also says database is locked - Jdoe - 03-18-2022

My PPP i just got today and it failed to update it says "offline update failed" and the reason was my packagekit has crashed. i tried to reset and it had some message saying locker is broken and somthing about my database is locked and unable to be unlocked and logging into a virtual enviroment and doing a certain command butr  the message didnt fit on the screen entirly. can someone help me please. thanks


RE: HELP PLEASE cant update PPP says packagekit crashed and also says database is locked - Phalio - 03-19-2022

I’m not sure if this is your issue, but a common thing that happens can be fixed by using this command (assuming you use Manjaro (preinstalled) or Arch):

Code:
sudo rm /var/lib/pacman/db.lck

From what I understand updating with graphical tools doesn’t always work and might cause this issue, so try updating via terminal instead:

Code:
sudo pacman -Syu



RE: HELP PLEASE cant update PPP says packagekit crashed and also says database is locked - arzach - 03-19-2022

I realize that this is probably too late to be helpful and hopefully life is good for you by now.  But...

Hopefully you got wifi up before your phone tanked.  If you did then use ssh to get to the phone and do as Phalio suggests (first the rm, then the pacman) but use -Syyu on the pacman line.  The 'yy' forces stuff to synchronize. 

If you DIDN'T get wifi going before the poop hit the fan, your best bet is to flash an SD card and boot from that.  See the wiki for howto.


RE: HELP PLEASE cant update PPP says packagekit crashed and also says database is locked - Jdoe - 03-20-2022

(03-19-2022, 07:19 AM)Phalio Wrote: I’m not sure if this is your issue, but a common thing that happens can be fixed by using this command (assuming you use Manjaro (preinstalled) or Arch):

Code:
sudo rm /var/lib/pacman/db.lck

From what I understand updating with graphical tools doesn’t always work and might cause this issue, so try updating via terminal instead:

Code:
sudo pacman -Syu

Thankyou Phalio, cant boot my phone after trying to flash mobian to emmc i can boot the phone but every time it involves me pressing the RE button + power a ccouple times and then it boots from sd. i dont know how to fix this now lol. any thoughts?

(03-19-2022, 09:24 PM)arzach Wrote: I realize that this is probably too late to be helpful and hopefully life is good for you by now.  But...

Hopefully you got wifi up before your phone tanked.  If you did then use ssh to get to the phone and do as Phalio suggests (first the rm, then the pacman) but use -Syyu on the pacman line.  The 'yy' forces stuff to synchronize. 

If you DIDN'T get wifi going before the poop hit the fan, your best bet is to flash an SD card and boot from that.  See the wiki for howto.

thank you, thats what i am currently doing but im using mobian and the poweer dosnt turn the phone on i have to press the back RE button + the power button a couple times the it boots from sd . i dont know how tho fox this issue.

this is what shows up when i type "lsblk"
   


RE: HELP PLEASE cant update PPP says packagekit crashed and also says database is locked - fxc - 03-21-2022

(03-20-2022, 11:13 PM)Jdoe Wrote: Thankyou Phalio, cant boot my phone after trying to flash mobian to emmc i can boot the phone but every time it involves me pressing the RE button + power a ccouple times and then it boots from sd. i dont know how to fix this now lol. any thoughts?

I don't think Mobian works on the eMMC for now. Simply wipe the bootloader from the eMMC as explained under https://wiki.pine64.org/wiki/PinePhone_Pro#Wipe_U-Boot_from_the_eMMC.