#382

zbx temporary installs persist in zb list

Opencachebagopened 5mo ago

running zbx for a formula that is not already installed says it is installing temporarily, but it uses the normal installer path and leaves the formula plus dependencies recorded in zerobrew state. repro: run zbx ffmpeg, then run zb list. expected: zbx either cleans up temporary installs after execution or uses an isolated temporary install path that does not mutate the normal installed package list. actual: ffmpeg and its dependency graph remain visible in zb list after the command exits. we should either make zbx truly temporary or change the wording/docs if persistence is intentional.

Activity

1
cachebag5mo ago
zerobrew on  main 
➜ zbx ffmpeg          
==> Running ffmpeg...
==> Installing ffmpeg temporarily...
 WARN failed to patch ELF path=/home/cachebag/.local/share/zerobrew/prefix/Cellar/util-linux/2.42.1/sbin/fsck error=No such file or directory (os error 2)
 WARN failed to patch ELF path=/home/cachebag/.local/share/zerobrew/prefix/Cellar/util-linux/2.42.1/sbin/mkfs.minix error=No such file or directory (os error 2)
 WARN failed to patch ELF files; packages may not work correctly until manually patched failures=2
==> Executing ffmpeg...
ffmpeg version 8.1.1 Copyright (c) 2000-2026 the FFmpeg developers
  built with gcc 12 (Ubuntu 12.3.0-1ubuntu1~22.04.3)
  configuration: --prefix=/home/linuxbrew/.linuxbrew/Cellar/ffmpeg/8.1.1 --enable-shared --enable-pthreads --enable-version3 --cc=gcc-12 --host-cflags= --host-ldflags= --enable-ffplay --enable-gpl --enable-libsvtav1 --enable-libopus --enable-libx264 --enable-libmp3lame --enable-libdav1d --enable-libvmaf --enable-libvpx --enable-libx265 --enable-openssl
  libavutil      60. 26.101 / 60. 26.101
  libavcodec     62. 28.101 / 62. 28.101
  libavformat    62. 12.101 / 62. 12.101
  libavdevice    62.  3.101 / 62.  3.101
  libavfilter    11. 14.101 / 11. 14.101
  libswscale      9.  5.101 /  9.  5.101
  libswresample   6.  3.101 /  6.  3.101
Universal media converter
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

Use -h to get full help or, even better, run 'man ffmpeg'

zerobrew on  main took 6.1s 
➜ zb list             
alsa-lib 1.2.15.3
bzip2 1.0.8
ca-certificates 2026-05-14
cloc 2.08
dav1d 1.5.3
dbus 1.16.2_1
expat 2.8.1
ffmpeg 8.1.1
flac 1.5.0
gdbm 1.26
gh 2.93.0
glib 2.88.1
lame 3.100
libcap 2.78
libedit 20260512-3.1
libffi 3.5.2
libogg 1.3.6
libsndfile 1.2.2_1
libsoxr 0.1.3
libtool 2.5.4
libvmaf 3.1.0
libvorbis 1.3.7
libvpx 1.16.0
libx11 1.8.13
libxau 1.0.12
libxcb 1.17.0
libxcrypt 4.5.2
libxcursor 1.2.3
libxdmcp 1.1.5
libxext 1.3.7
libxfixes 6.0.2
libxi 1.8.3
libxml2 2.15.3
libxrandr 1.5.5
libxrender 0.9.12
libxscrnsaver 1.2.5
lz4 1.10.0
m4 1.4.21
mpdecimal 4.0.1
mpg123 1.33.5
ncurses 6.6
openssl@3 3.6.2
opus 1.6.1
orc 0.4.42
pcre2 10.47_1
perl 5.42.2
pulseaudio 17.0
python 3.14.5
readline 8.3.3
run 0.11.2
sdl2 2.32.10
speexdsp 1.2.1
sqlite 3.53.1
svt-av1 4.1.0
tree 2.3.2
unzip 6.0_8
util-linux 2.42.1
x264 r3222
x265 4.2
xorgproto 2025.1
xz 5.8.3
zlib-ng-compat 2.3.3_1
zstd 1.5.7_1

zerobrew on  main