portugrade stalls at deinstall stage (sometimes)

From: Xavier Humbert <xavier_at_groumpf.org>
Date: Sat, 08 Oct 2022 11:25:23 UTC

I didn't already track the root cause of this : when using portupgrade, 
it stalls at deinstall stage. Ctrl-T show it waiting at select()

--->  Updating dependency info
--->  Uninstallation of e2fsprogs-libuuid-1.46.5 started at: Sat, 08 Oct 
2022 13:03:36 +0200
--->  Fixing up dependencies before creating a package
--->  Backing up the old version
pkg: unknown format pkg, using the default
--->  Uninstalling the old version
[Reading data from pkg(8) ... - 1554 packages found - done]
--->  Deinstalling 'e2fsprogs-libuuid-1.46.5'
load: 0.29  cmd: ruby30 81513 [select] 2829.30r 3.19u 9.33s 0% 52220k
mi_switch+0xbf sleepq_catch_signals+0x2e3 sleepq_wait_sig+0x9 
_cv_wait_sig+0xeb seltdwait+0x9d kern_poll_kfds+0x4b7 kern_poll+0x9f 
sys_ppoll+0x6f amd64_syscall+0x10c fast_syscall_common+0xf8

[root@numenor ports]# - 1554 packages found - done]
stty: tcsetattr: Input/output error

Switching to the port directory and typing 'make reinstall clean' runs 
without problem. This is really fastidious when one have >10 ports to 

An idea ?



Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer