Fedora Brasil
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/dnf5'
. dnf5 está instalado no sistema, de forma que imagino que a falha esteja no ambiente isolado do mock-build. Sabe o que eu faço com isso?
INFO: Package manager dnf5 detected and used (direct choice)
-- será que consigo orientar a usar dnf em vez do dnf5?
* Sun Sep 25 2022 Sérgio Basto <sergio@serjux.com> - 16.4-1
- Update ddnet to 16.4 (#2127583)
dnf swap
que era pra eu ter escrito há um bom tempo
localectl
não está disponível
$ localectl
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
mkdir -p ~/work/kernel_test &&\
cd ~/work/kernel_test &&\
koji download-build --arch=$(uname -m) kernel-6.7.1-300.fc39 &&\
sudo rpm-ostree override replace kernel-modules-core-6*.rpm\
kernel-core-6*.rpm\
kernel-modules-6*.rpm\
kernel-6*.rpm\
kernel-modules-extra-6*.rpm
f.lua in
f.lua ok 6.7.1-300
por exemplo
f.lua kr
import os
from itertools import islice
def fib():
fib_var = 0
next_fib = 1
while True:
yield fib_var
fib_var, next_fib = next_fib, fib_var + next_fib
os.write(1, str(next(islice(fib(), 47, None))).encode())
time
0.01s user 0.00s system 96% cpu 0.019 total
0.02s user 0.00s system 97% cpu 0.022 total
koji list-builds --package=kernel --after="2024-01-21" --pattern "kernel-6.7*"
koji list-builds --package=kernel --pattern "kernel-6.6*"
koji list-builds --package=kernel --pattern "kernel-6.6*" | grep fc$(rpm -E %fedora)