Intermittent 'ERROR: Missing bzcat' error
ElnuDev opened this issue · 0 comments
ElnuDev commented
I'm infecting a clean copy of Ubuntu 22.04 LTS on DigitalOcean. Intermittently, when infecting, I get an error that says ERROR: Missing bzcat
. The weird thing about this is that it's intermittent, I've done nix-infect several times and it's happened twice, but all the other times there was no issue. All of these were clean installations of Ubuntu.
Full output:
root@elnudrop:~# curl https://raw.githubusercontent.com/elitak/nixos-infect/master/nixos-infect | NIX_CHANNEL=nixos-23.05 PROVIDER=digitalocean bash -x
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0+ set -e -o pipefail
100 12395 100 12395 0 0 34826 0 --:--:-- --:--:-- --:--:-- 34915
+ '[' digitalocean = digitalocean ']'
+ doNetConf=y
+ '[' digitalocean = lightsail ']'
+ [[ digitalocean = \d\i\g\i\t\a\l\o\c\e\a\n ]]
+ doNetConf=y
+ checkEnv
++ whoami
+ [[ root == \r\o\o\t ]]
+ which dnf
+ true
+ which bzcat
+ which yum
+ which apt-get
/usr/bin/apt-get
+ apt-get update
Reading package lists... Done
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1476 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/
+ true
+ which xzcat
/usr/bin/xzcat
+ which curl
/usr/bin/curl
+ req curl
+ type curl
+ req bzcat
+ type bzcat
+ which bzcat
+ echo 'ERROR: Missing bzcat'
ERROR: Missing bzcat
+ return 1