[pamac-cli] upgrade crashes daemon sometimes
I just tried another upgrade with v7.0.1 and the daemon crashed:
phil@development ~ $ pamac upgrade
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentifizierung erforderlich
Authenticating as: Philip Müller (phil)
Password:
==== AUTHENTICATION COMPLETE ====
Synchronisiere Paketdatenbanken...
Aktualisierung von core.db...
Aktualisierung von extra.db...
Aktualisierung von community.db...
Aktualisierung von multilib.db...
Starte komplettes System-Upgrade...
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...
Zu aktualisieren (15):
curl 7.61.1-1 (7.61.0-2) 1,6 MB
glib2 2.58.0-1 (2.56.2-1) 14,8 MB
json-c 0.13.1-2 (0.13.1-1) 157,7 kB
mesa 18.1.8-1 (18.1.7-1) 61,6 MB
libarchive 3.3.3-1 (3.3.2-2) 1,1 MB
firefox-developer-edition 63.0b4-1 (63.0b3-1) 170,0 MB
ghostscript 9.24-5 (9.24-2) 44,9 MB
glib2-docs 2.58.0-1 (2.56.2-1) 21,1 MB
gtksourceview3 3.24.9-2 (3.24.8-1) 7,7 MB
lib32-mesa 18.1.8-1 (18.1.7-1) 44,1 MB
lib32-p11-kit 0.23.14-1 (0.23.13-2) 3,0 MB
libgsf 1.14.44-1 (1.14.43-1) 2,1 MB
nm-connection-editor 1.8.18-1 (1.8.16-1) 6,2 MB
network-manager-applet 1.8.18-1 (1.8.16-1) 665,6 kB
thunar-gtk3 1.8.1-15 (1.8.1-14) 6,2 MB
Download-Größe gesamt: 74,7 MB
Total installed size: 667,6 kB
Commit transaction ? [y/N] y
phil@development ~ $ ltilib.db... []
Only after restarting the daemon it worked:
phil@development ~ sudo killall pamac-system-daemon
pamac-system-daemon: Kein Prozess gefunden
phil@development ~ $ sudo rm /var/lib/pacman/db.lck
phil@development ~ $ sudo pamac-system-daemon &
[1] 29152
phil@development ~ $ pamac upgrade
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentifizierung erforderlich
Authenticating as: Philip Müller (phil)
Password:
==== AUTHENTICATION COMPLETE ====
Synchronisiere Paketdatenbanken...
Starte komplettes System-Upgrade...
Abhängigkeiten werden aufgelöst...
Interne Konflikte werden überprüft...
Zu aktualisieren (15):
curl 7.61.1-1 (7.61.0-2) 1,6 MB
glib2 2.58.0-1 (2.56.2-1) 14,8 MB
json-c 0.13.1-2 (0.13.1-1) 157,7 kB
mesa 18.1.8-1 (18.1.7-1) 61,6 MB
libarchive 3.3.3-1 (3.3.2-2) 1,1 MB
firefox-developer-edition 63.0b4-1 (63.0b3-1) 170,0 MB
ghostscript 9.24-5 (9.24-2) 44,9 MB
glib2-docs 2.58.0-1 (2.56.2-1) 21,1 MB
gtksourceview3 3.24.9-2 (3.24.8-1) 7,7 MB
lib32-mesa 18.1.8-1 (18.1.7-1) 44,1 MB
lib32-p11-kit 0.23.14-1 (0.23.13-2) 3,0 MB
libgsf 1.14.44-1 (1.14.43-1) 2,1 MB
nm-connection-editor 1.8.18-1 (1.8.16-1) 6,2 MB
network-manager-applet 1.8.18-1 (1.8.16-1) 665,6 kB
thunar-gtk3 1.8.1-15 (1.8.1-14) 6,2 MB
Total installed size: 667,6 kB
Commit transaction ? [y/N] y
Überprüfe Schlüsselring... [15/15]
Integrität wird überprüft... [15/15]
Paketdateien werden geladen... [15/15]
Dateikonflikte werden überprüft... [15/15]
Überprüfe verfügbaren Speicherplatz... [15/15]
Starte Pre-Transaction-Hooks...
Remove Firefox Distribution Settings [1/1]
Erneuere curl (7.61.0-2 -> 7.61.1-1)... [1/15]
Erneuere glib2 (2.56.2-1 -> 2.58.0-1)... [2/15]
Erneuere json-c (0.13.1-1 -> 0.13.1-2)... [3/15]
Erneuere mesa (18.1.7-1 -> 18.1.8-1)... [4/15]
Erneuere libarchive (3.3.2-2 -> 3.3.3-1)... [5/15]
Erneuere firefox-developer-edition (63.0b3-1 -> 63.0b4-1)... [6/15]
Erneuere ghostscript (9.24-2 -> 9.24-5)... [7/15]
Erneuere glib2-docs (2.56.2-1 -> 2.58.0-1)... [8/15]
Erneuere gtksourceview3 (3.24.8-1 -> 3.24.9-2)... [9/15]
Erneuere lib32-mesa (18.1.7-1 -> 18.1.8-1)... [10/15]
Erneuere lib32-p11-kit (0.23.13-2 -> 0.23.14-1)... [11/15]
Erneuere libgsf (1.14.43-1 -> 1.14.44-1)... [12/15]
Erneuere nm-connection-editor (1.8.16-1 -> 1.8.18-1)... [13/15]
Erneuere network-manager-applet (1.8.16-1 -> 1.8.18-1)... [14/15]
Erneuere thunar-gtk3 (1.8.1-14 -> 1.8.1-15)... [15/15]
Starte Post-Transaction-Hooks...
Copy Firefox Distribution Settings [1/5]
Compiling GSettings XML schema files... [2/5]
Updating icon theme caches... [3/5]
Arming ConditionNeedsUpdate... [4/5]
Updating the desktop file MIME type cache... [5/5]
Vorgang erfolgreich abgeschlossen.
[1]+ Fertig sudo pamac-system-daemon