4

I am using ubuntu 20.10when I am trying to update through software center it gives this error

Unable to update "OS Updates":

GDBus.Error.org.gtk.GDBus.UnmappedError.Quark._pk_2dengine_2derr or_2dquark.Code1: Prepared update not found: /var/lib/PackageKit/-prepared-update

Please Anyone help me resolve this Thanks

KK Patel
  • 19,083

1 Answers1

2

This has been reported as Debian bug #972506 gnome-software doesn't download available OS updates, but there is a workaround for it. The Software app reports a Prepared update not found: /var/lib/PackageKit/-prepared-update error when trying to update software. /var/lib/PackageKit/-prepared-update file does not normally exist, so you will not get this error if you update software from the terminal.

karel
  • 114,770
  • How do I "update software from the terminal"? – voddan Dec 17 '20 at 07:42
  • 2
    @voddan Please run this command to update software from the terminal: sudo apt update && sudo apt upgrade This is a great way to update because it gives the user verbose output including error messages if there are any and sometimes also suggested commands to fix the error messages. – karel Dec 17 '20 at 07:44