$ sudo apt update && sudo apt full-upgrade
Leyendo lista de paquetes... Hecho
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1488 (packagekitd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: No se pudo bloquear el directorio /var/lib/apt/lists/
$ sudo cat /etc/polkit-1/localauthority/10-vendor.d/org.freedesktop.packagekit.pkla
[Allow admins to upgrade the system]
Identity=unix-group:sudo
Action=org.freedesktop.packagekit.system-sources-refresh
ResultAny=no
ResultInactive=no
#ResultActive=yes # comportamiento por defecto
#ResultActive=auth_admin # Te pregunta gnome cuando quiere actualizar
#ResultActive=no # Le decimos que no queremos que se ocupe de esa tarea
$ sudo journalctl | grep PolicyKit | grep ErrorMás info en la wikis/doc de las distros ...
jun 14 23:24:42 doraemon polkitd[940]: Error performing authentication: GDBus.Error:org.freedesktop.PolicyKit1.Error.Cancelled: El usuario rechaz? el di?logo de autenticaci?n (polkit-error-quark 1)
09/01/2003 - 10/01/2003 09/01/2008 - 10/01/2008 10/01/2008 - 11/01/2008 11/01/2008 - 12/01/2008 12/01/2008 - 01/01/2009 03/01/2009 - 04/01/2009 05/01/2009 - 06/01/2009 06/01/2009 - 07/01/2009 07/01/2009 - 08/01/2009 08/01/2009 - 09/01/2009 09/01/2009 - 10/01/2009 10/01/2009 - 11/01/2009 11/01/2009 - 12/01/2009 12/01/2009 - 01/01/2010 02/01/2010 - 03/01/2010 03/01/2010 - 04/01/2010 04/01/2010 - 05/01/2010 05/01/2010 - 06/01/2010 06/01/2010 - 07/01/2010 07/01/2010 - 08/01/2010 08/01/2010 - 09/01/2010 09/01/2010 - 10/01/2010 10/01/2010 - 11/01/2010 11/01/2010 - 12/01/2010 12/01/2010 - 01/01/2011 01/01/2011 - 02/01/2011 02/01/2011 - 03/01/2011 03/01/2011 - 04/01/2011 04/01/2011 - 05/01/2011 05/01/2011 - 06/01/2011 10/01/2011 - 11/01/2011 01/01/2012 - 02/01/2012 08/01/2012 - 09/01/2012 11/01/2012 - 12/01/2012 02/01/2013 - 03/01/2013 03/01/2013 - 04/01/2013 03/01/2014 - 04/01/2014 05/01/2014 - 06/01/2014 09/01/2015 - 10/01/2015 11/01/2015 - 12/01/2015 12/01/2015 - 01/01/2016 02/01/2016 - 03/01/2016 05/01/2016 - 06/01/2016 12/01/2016 - 01/01/2017 11/01/2018 - 12/01/2018 12/01/2018 - 01/01/2019 03/01/2020 - 04/01/2020 06/01/2020 - 07/01/2020 07/01/2020 - 08/01/2020 05/01/2021 - 06/01/2021 03/01/2022 - 04/01/2022
Subscribe to Posts [Atom]