r1vs3c / auto-bspwm

Bash script that automates the setup of a professional hacking environment for Kali Linux using the tiled window manager bspwm.
287 stars 59 forks source link

error: failed to install some packages! #2

Closed torturado closed 11 months ago

torturado commented 11 months ago

here is the error:

❯ chmod +x setup.sh

❯ ./setup.sh

              _____            ______
______ ____  ___  /______      ___  /___________________      ________ ___
_  __ /  / / /  __/  __ \     __  __ \_  ___/__  __ \_ | /| / /_  __ __ \
/ /_/ // /_/ // /_ / /_/ /     _  /_/ /(__  )__  /_/ /_ |/ |/ /_  / / / / /
\__,_/ \__,_/ \__/ \____/      /_.___//____/ _  .___/____/|__/ /_/ /_/ /_/    (By @r1vs3c)
                                             /_/

[*] Installing necessary packages for the environment...

[sudo] password for kali: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'suckless-tools' instead of 'wmname'
kitty is already the newest version (0.26.5-5).
rofi is already the newest version (1.7.3-0.1+b1).
feh is already the newest version (3.10-1).
xclip is already the newest version (0.13-2).
ranger is already the newest version (1.9.3-5).
i3lock-fancy is already the newest version (0.0~git20160228.0.0fcb933-3).
scrot is already the newest version (1.10-1).
scrub is already the newest version (2.6.1-1+b1).
suckless-tools is already the newest version (47-1).
firejail is already the newest version (0.9.72-2).
imagemagick is already the newest version (8:6.9.11.60+dfsg-1.6).
cmatrix is already the newest version (2.0-6).
htop is already the newest version (3.2.2-2).
neofetch is already the newest version (7.1.0-4).
python3-pip is already the newest version (23.2.1+dfsg-1).
procps is already the newest version (2:4.0.3-1).
tty-clock is already the newest version (2.3-3).
fzf is already the newest version (0.42.0-1+b2).
lsd is already the newest version (0.23.1-7+b1).
bat is already the newest version (0.23.0-4+b1).
pamixer is already the newest version (1.6-1+b1).
flameshot is already the newest version (12.1.0-2).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ospd-openvas (22.6.0-0kali1) ...
SyntaxError: source code string cannot contain null bytes
dpkg: error processing package ospd-openvas (--configure):
 installed ospd-openvas package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ospd-openvas
E: Sub-process /usr/bin/dpkg returned an error code (1)

[-] Failed to install some packages!
r1vs3c commented 11 months ago

Before running the script it is necessary to install the available updates.

sudo apt update
sudo apt upgrade -y
torturado commented 11 months ago

I'll try to do it (for second time) and I say you something

torturado commented 11 months ago

im getting an error with this package: ospd-openvas

Setting up ospd-openvas (22.6.0-0kali1) ...
SyntaxError: source code string cannot contain null bytes
dpkg: error processing package ospd-openvas (--configure):
 installed ospd-openvas package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ospd-openvas
E: Sub-process /usr/bin/dpkg returned an error code (1)
torturado commented 11 months ago

Nvm, chatgpt solved it hahah