(03-17-2022, 03:34 AM)wibble Wrote:(03-16-2022, 08:38 PM)S H Wrote:(03-14-2022, 05:32 AM)spartan Wrote:(03-10-2022, 10:43 PM)S H Wrote: Hi ,
I am having the same issue and ran "sudo pinephonepro-post-install" but I still get the same message. Any idea on the next step. I am very new to this. IS it a matter of reinstalling the operating system?
Try the following command:
Code:sudo rm /var/lib/pacman/db.lck
I had the same issue and noticed the error message "unable to lock database". You can safely delete this lock file if no instances of pacman are running.
Hi, thank you for the help! I was able to update the system but "failed to update one package, unexpected system error" I reran the update and got the same message again. what do you think is happening and what do I do next? Also can you please explain first, how did you know I got the "unable to lock database"? Second, what the heck does the deleting of pacman do? and third, can you recommend a recourse for me so I can start understanding this program and its command lines?
I hope I'm not throwing a lot at you at once
I can help with some of that. It's not deleting pacman, but deleting a lock file. It is important that only one instance of pacman is allowed to edit the database at a time. It uses one of the common methods for signalling in these cases - the presence or absence of a file with a specific name is used to indicate whether another process has 'locked' the database. The problem occurs if pacman crashes or is unexpectedly terminated before it has finished with the database and removed the lock file - the file is still present, telling other pacman instances that the db is still locked, but there is no process left to unlock it by removing the file. To recover the situation you manually delete the lock file.
https://wiki.manjaro.org/index.php?title...n_Overview
Thank you for the explanation, that does make sense. It probably happened when the phone was updating and it ran out of battery (before I figured out the screen was remaining on and that I needed a 3 amp power supply) now I need to find out how to get around "failed to update one package, unexpected system error" there were 9 updates and It doesn't appear that any of them were installed (maybe the "package" includes all 9) so I'm still left with the original problem of not being able to update the OS (factory installed Manjaro) on the EMMC.
EDIT: After reading https://wiki.manjaro.org/index.php?title...n_Overview I ran "sudo pacman -Syu" and the phone updated (a lot of code lines went by). The article stated Pacman can only be used from the command line. So my question is what is the point of having a GUI update choice that may or may not work when the update has to be run from the command line? Is it just a bug that prevents the GUI update from completing the update?