pamac update times out


Whenever I try to update my pamac packages it times out and just hangs, the below error being printed to the console. This is whenever I try it from pacman-manager or from pamac upgrade. I then have to kill the pamac-daemon before I can attempt it again.

$ pamac upgrade                                                                                                                                                                           
Cloning google-chrome build files...
Checking google-chrome dependencies...
Cloning icecat build files...
Checking icecat dependencies...
Cloning mingw-w64-crt build files...
Checking mingw-w64-crt dependencies...
Cloning mingw-w64-gcc build files...
Checking mingw-w64-gcc dependencies...
Cloning powershell build files...
Checking powershell dependencies...
Cloning typora build files...
Checking typora dependencies...
==== AUTHENTICATING FOR org.manjaro.pamac.commit ====
Authentication is required to install, update, or remove packages
Authenticating as: user
Synchronizing package databases...
Warning: fontconfig: local (2:2.13.1+12+g5f5ec56-2) is newer than extra (2:2.13.1+12+g5f5ec56-1)
Warning: dependency cycle detected:
Warning: mingw-w64-gcc will be installed before its mingw-w64-crt dependency
To build (6):
  google-chrome  79.0.3945.117-1  (79.0.3945.88-1)  AUR
  icecat         68.4.1-1         (68.3.0-2)        AUR
  mingw-w64-crt  7.0.0-1          (6.0.0-1)         AUR
  mingw-w64-gcc  9.2.0-1          (9.1.0-2)         AUR
  powershell     6.2.3-1          (6.2.2-1)         AUR
  typora         0.9.83-1         (0.9.81-1)        AUR

Edit build files ? [y/N]

** (pamac:3851): CRITICAL **: 08:45:21.364: transaction_interface_daemon.vala:290: answer_ask_edit_build_files: Timeout was reached

inxi output:

System:    Host: outfield Kernel: 4.19.91-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.2.0 Desktop: i3 4.17.1 info: polybar
           dm: LightDM 1.30.0 Distro: Manjaro Linux
Machine:   Type: Laptop System: Dell product: Latitude 5490 v: N/A serial: <filter> Chassis: type: 10 serial: <filter>
           Mobo: Dell model: 0FDHF4 v: A00 serial: <filter> UEFI: Dell v: 1.6.2 date: 11/27/2018
Battery:   ID-1: BAT0 charge: 68.0 Wh condition: 68.0/68.0 Wh (100%) volts: 8.4/7.6 model: LGC-LGC8.820 DELL DV9NT91
           type: Li-ion serial: <filter> status: Full
CPU:       Topology: Quad Core model: Intel Core i7-8650U bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 8192 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 33792
           Speed: 800 MHz min/max: 400/4200 MHz Core speeds (MHz): 1: 806 2: 804 3: 803 4: 804 5: 804 6: 826 7: 848 8: 827
Graphics:  Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:5917
           Display: x11 server: X.Org 1.20.6 driver: intel unloaded: modesetting alternate: fbdev,vesa compositor: compton
           resolution: 1920x1080~60Hz, 2560x1440~60Hz
           OpenGL: renderer: Mesa DRI Intel UHD Graphics 620 (Kabylake GT2) v: 4.6 Mesa 19.3.1 compat-v: 3.0
           direct render: Yes
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1f.3
           chip ID: 8086:9d71
           Sound Server: ALSA v: k4.19.91-1-MANJARO
Network:   Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k port: f040 bus ID: 00:1f.6
           chip ID: 8086:15d7
           IF: enp0s31f6 state: down mac: <filter>
           Device-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter vendor: Dell driver: ath10k_pci v: kernel
           port: f040 bus ID: 02:00.0 chip ID: 168c:003e
           IF: wlp2s0 state: up mac: <filter>
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-7:4 chip ID: 0cf3:e007
           IF-ID-1: docker0 state: down mac: <filter>
           IF-ID-2: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A
           IF-ID-3: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
           IF-ID-4: vmnet2 state: unknown speed: N/A duplex: N/A mac: <filter>
           IF-ID-5: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Drives:    Local Storage: total: 931.51 GiB used: 762.90 GiB (81.9%)
           ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO 1TB size: 931.51 GiB speed: 31.6 Gb/s lanes: 4
           serial: <filter> rev: 2B2QEXE7 scheme: GPT
Partition: ID-1: / size: 915.60 GiB used: 762.90 GiB (83.3%) fs: ext4 dev: /dev/dm-0
Sensors:   System Temperatures: cpu: 41.5 C mobo: N/A
           Fan Speeds (RPM): cpu: 2826
Info:      Processes: 294 Uptime: 3d 23h 47m Memory: 31.28 GiB used: 7.08 GiB (22.6%) Init: systemd v: 242 Compilers:
           gcc: 9.2.0 clang: 9.0.0 Shell: zsh v: 5.7.1 running in: server inxi: 3.0.37

Any help is appreciated, thanks!

You did not update in long time it seems by the kernel version. If pamac fails, maybe is time to refresh mirrors first, so run this from terminal:
sudo pacman-mirrors -f && sudo pacman -Syyu
Report back.

It seemed to work for a bit but still getting it, for different packages:

pamac install typora                                                                                                                                                           
Warning: typora is only available from AUR
Build typora from AUR ? [y/N] y

Cloning typora build files...
Checking typora dependencies...
To build (1):
  typora  0.9.83-1  (0.9.81-1)  AUR

Edit build files ? [y/N] y

Cloning typora build files...
Checking typora dependencies...
To build (1):
  typora  0.9.83-1  (0.9.81-1)  AUR

Edit build files ? [y/N] y

** (pamac:337): CRITICAL **: 11:52:20.584: transaction_interface_daemon.vala:290: answer_ask_edit_build

A work-around could be to try with a different AUR helper. Install yay (Yet Another Yogurt) and update with yay -Suy.

Installing another package is not necessary
and trying to install another package would also fail if mirrors are not refreshed

pacman command already suggested will only update packages in Manjaro repositories, not AUR

There is a pamac bug described in Manjaro anouncement [here]. Could that be your problem?

Forum kindly sponsored by