ParrotSecurity 4.2: Install byobu for terminal multiplexer

This article will describe installing byobu and avoiding install error.

1 Error with installing byobu

The following error will be occured when installing byobu.

$ sudo apt install -y byobu
<snip>
update-parrot-menu: error: can't open
/usr/share/applications/byobu.desktop: No such file or directory
E: Problem executing scripts DPkg::Post-Invoke '[ ! -x
/usr/share/parrot-menu/update-parrot-menu ] ||
/usr/share/parrot-menu/update-parrot-menu wait_dpkg'
E: Sub-process returned an error code

2 Install byobu

Create lacked file after installing byobu and reinstall byobu.

$ sudo apt install -y byobu || true
$ cat <<EOF | sudo tee /usr/share/applications/byobu.desktop
[Desktop Entry]
Name=Byobu Terminal
Comment=Advanced Command Line and Text Window Manager
Icon=byobu
Exec=gnome-terminal --app-id us.kirkland.terminals.byobu -e byobu
Type=Application
Categories=GNOME;GTK;Utility;
X-GNOME-Gettext-Domain=byobu
EOF
$ sudo apt install --reinstall -y byobu