Bookworm libc6 (and libc6:i386) update deleted ld-linux and cannot proceed.

2025-07-19 Thread Tom Dial
In updating a Bookworm installation from 12.1 to 12.11 I have hit a brick wall during upgrade of libc6 and libc6:i386. The update appeared normal until the upgrade of libc6:i386 (apology offered for the wrap): -- Preparing to unpack .../20-libc6_2.36-9+deb12u10_i386.deb ... De-configuring li

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-19 Thread Michael Paoli
The original https://lists.debian.org/debian-user/2025/07/msg00407.html specified HH:MM:SS format for input, nothing more, nothing less. And sure, we should validate input and, e.g. throw error if input isn't valid. But if we want to accept additional, well, that should also be in the earlier spe

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-19 Thread Greg Wooledge
On Sun, Jul 20, 2025 at 09:02:37 +0700, Max Nikulin wrote: > I have no idea to which degree the following is portable: > > strip_zeroes() { zeroes="${1%%[!0]*}"; printf '%s\n' "${1#"$zeroes"}"; } That's POSIX compliant. It's very similar to the first examples on

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-19 Thread Max Nikulin
On 19/07/2025 19:26, Greg Wooledge wrote: On Sat, Jul 19, 2025 at 10:14:49 +0700, Max Nikulin wrote: A mathematical trick may be used instead even if external processes like sed are considered as undesired overhead for i in 0 09 008 59 080; do i1=1$i; i2=2$i; echo "$i = $((2*i1 - i2))"; done 0

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-19 Thread Tim Woodall
On Thu, 17 Jul 2025, lbrt...@tutamail.com wrote: Video durations are formatted in youtube's .info.json files as "HH:MM:SS"; so, I went monkey and did the conversion myself, but I got two errors which I can't make sense of whatsoever with only two values: _HHMMSS="19:09" _HHMMSS="19:08" IFS=$(

fwupdmgr refresh → "Host unreachable" - polkkitd issue? (Debian 13)

2025-07-19 Thread Andy Smith
Hi, On an install of the RC of the forthcoming Debian 13, I just installed fwupd. I now go to refresh its database and get: $ sudo fwupdmgr refresh Updating lvfs Failed to download metadata for lvfs: network is unreachable: Host unreachable I am not aware of any reason why this host would have l

Re: nftables debian 13 bug

2025-07-19 Thread err404
please check if your network interface was not renamed and still the same:         iifname "ens18" accept ...         oifname "ens18" masquerade

Re: Is there a POSIX compliant way of turning a "HH:MM:SS" formatted string to seconds? ...

2025-07-19 Thread Greg Wooledge
On Sat, Jul 19, 2025 at 10:14:49 +0700, Max Nikulin wrote: > A mathematical trick may be used instead even if external processes like sed > are considered as undesired overhead > > for i in 0 09 008 59 080; do i1=1$i; i2=2$i; echo "$i = $((2*i1 - i2))"; > done > > 0 = 0 > 09 = 9 > 008 = 8 > 59 =

nftables debian 13 bug

2025-07-19 Thread Nite Neal
I updated my virtual machine from Debian 12 to 13, after which it began to work incorrectly with nftables. Incoming letters do not work, nftables does not work correctly. It is impossible to receive or send a letter in the local network. At the same time, from the external network (Internet, sm