So I was running zypper -vvv dup and the application due to a libboost cast exception due to something related to the logging code:
Preload finished. [success (4.0 KiB/s) ] .................................................................................................................................................[done]
terminate called after throwing an instance of 'boost::wrapexcept<boost::bad_any_cast>'
what(): boost::bad_any_cast: failed conversion using boost::any_cast
I resolved the issue by removing the -vvv
I will be honest, I despise the whole libboost project, it poses nothing but problems.
Hiya. Seems like it’s a known bug that is caused by using -vvv
specifically. Using -vv
shouldn’t cause it.
Try putting the -vvv
at the end. So sudo zypper dup -vvv
hui
June 7, 2025, 5:35pm
4
offen 12:17PM - 04 Jun 25 UTC
geschlossen 01:05PM - 04 Jun 25 UTC
```
zypper --installroot=/buildroot --cache-dir=/var/cache/zypp --non-interactiv… e --no-refresh --releasever=tumbleweed -vv install --download in-advance --no-recommends lsof
Autorefresh disabled.
Entering non-interactive mode.
Verbosity: 3
Warning: Enforced setting: $releasever=tumbleweed
Non-option program arguments: 'lsof'
Initializing Target
Loading repository data...
Reading installed packages...
Selecting 'lsof-4.99.4-3.1.x86_64' from repository 'oss' for installation.
Resolving package dependencies...
Force resolution: No
The following 12 package updates will NOT be installed:
bc 1.08.2-1.1 x86_64 oss openSUSE
cpio 2.15-5.1 x86_64 oss openSUSE
kernel-default 6.15.0-1.1 x86_64 oss openSUSE
libcryptsetup12 2.7.5-4.1 x86_64 oss openSUSE
libgpgme11 1.24.3-2.1 x86_64 oss openSUSE
libpython3_13-1_0 3.13.3-4.1 x86_64 oss openSUSE
openSUSE-release 20250602-3542.1 x86_64 oss openSUSE
openSUSE-release-ftp 20250602-3542.1 x86_64 oss openSUSE
perf 6.15.0-92.11 x86_64 oss openSUSE
python313 3.13.3-4.1 x86_64 oss openSUSE
python313-base 3.13.3-4.1 x86_64 oss openSUSE
tar 1.35-4.1 x86_64 oss openSUSE
The following product update will NOT be installed:
openSUSE Tumbleweed 20250602-0 x86_64 oss openSUSE
The following 3 NEW packages are going to be installed:
libtirpc-netconfig 1.3.6-2.1 x86_64 oss openSUSE
libtirpc3 1.3.6-2.1 x86_64 oss openSUSE
lsof 4.99.4-3.1 x86_64 oss openSUSE
3 new packages to install.
Package download size:
| 430.3 KiB overall package size
324.1 KiB | - 106.2 KiB already in cache
Package install size change:
| 1.1 MiB required by packages that will be installed
1.1 MiB | - 0 B released by packages that will be removed
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): y
committing
Preload finished. [success] ..........................................................................................................................................................................................................[done]
terminate called after throwing an instance of 'boost::wrapexcept<boost::bad_any_cast>'
what(): boost::bad_any_cast: failed conversion using boost::any_cast
```
Logs: https://gist.github.com/DaanDeMeyer/fc0fc2e4c132d301aa9e6b0e3ef5f1a5
Will be resolved in libzypp-17.37.4
3 Likes
I get this error instead:
The flag v is not known.