Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2022 21:10:43 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        Xavier Humbert <xavier@groumpf.org>
Cc:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: portugrade stalls at deinstall stage (sometimes)
Message-ID:  <20221008211043.25659fef6317e55bd02994a5@dec.sakura.ne.jp>
In-Reply-To: <60994331-813c-3cd0-65c1-21ade106dedd@groumpf.org>
References:  <60994331-813c-3cd0-65c1-21ade106dedd@groumpf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 8 Oct 2022 13:25:23 +0200
Xavier Humbert <xavier@groumpf.org> wrote:

> Hi,
> 
> 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
> ^C
> Interrupted.
> 
> Interrupted.
> [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 
> upgrade
> 
> An idea ?
> 
> Cheers,
> 
> Xavier
> 
> --
> Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
> https://www.amdh.fr

Hi.

It's already reported and patch to fix is proposed.
But not yet committed.

See Bug 266386 [1] and Bug 266362 [2] for details.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266386

[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266362

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221008211043.25659fef6317e55bd02994a5>