Score:6

how can I fix the error: unable to install updates prepared update not found /var/lib/packagekit/prepared-update in ubuntu 22.04.01 LTS?

ly flag

gnome software terminal how can I fix the error:

unable to install updates prepared update not found /var/lib/packagekit/prepared-update

in ubuntu 22.04.01 LTS gnome software?

I've already tried to update through the terminal, but the pending packages are still not being installed.

My skills are limited, and I haven't been able to solve the problem for 3 days...

If anyone can help, thanks in advance...

nb52er avatar
ae flag
You said that you have tried to update via terminal but, can you paste the output on pastebin? --> `sudo apt update && sudo apt install -f -y && sudo apt upgrade -y && sudo apt dist-upgrade -y && sudo apt autoremove --purge -y`
mchid avatar
bo flag
Do not use `-y` option. Always review the changes before accepting them.
mchid avatar
bo flag
Do run `sudo apt update` and `sudo apt upgrade` and edit your question to include any errors. Thanks.
Alexandre Silva avatar
ly flag
I tried the commands: sudo apt update and sudo apt upgrade, and it shows me that 7 packages will not be updated. Inside gnome software it shows me the error: unable to install updates prepared update not found /var/lib/packagekit/prepared-update.
pLumo avatar
in flag
please edit your question and add the full output of these commands.
Alexandre Silva avatar
ly flag
Please excuse my ignorance, how do I get the full output of these commands?
user535733 avatar
cn flag
The full output is displayed in the terminal. Copy it. Paste it into your question above. [How to edit your question](https://askubuntu.com/posts/1437675/edit)
Alexandre Silva avatar
ly flag
Sorry for the delay in responding, the system has requested a restart... I put the images in the question, hope it's correct...
ChanganAuto avatar
us flag
Pending updates are pending for a reason, phased updates.
Alexandre Silva avatar
ly flag
Just updating, today all packages were updated without major problems. Thanks to the community for your attention and help!
Score:1
cn flag

Looks like there was a bug in GNOME's Automatic Updates that was fixed around Jul-2022.

It may take a while for this fix to reach the end-users, especially if their upgrades fail...

Can try upgrading via the terminal, as suggested by mchid -
run sudo apt update and sudo apt upgrade

Eventually, it should be able to install the fix to GNOME Automatic Updates.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.