Skip to content

Instantly share code, notes, and snippets.

@DiogenesAnalytics
Forked from RagingTiger/config-ubuntu.md
Last active June 7, 2024 19:27
Show Gist options
  • Save DiogenesAnalytics/3a0a3b7ad0c7d4618fab022777ede261 to your computer and use it in GitHub Desktop.
Save DiogenesAnalytics/3a0a3b7ad0c7d4618fab022777ede261 to your computer and use it in GitHub Desktop.
Setting up a new Ubuntu machine

About

A simple install script for setting up a fresh Ubuntu environment.

Usage

Download the script:

cd /tmp && \
curl -o config-ubuntu.sh https://gist.githubusercontent.com/RagingTiger/93c50d0d65ab5e81aba6188e58f7ca59/raw/config-ubuntu.sh || \
wget https://gist.githubusercontent.com/RagingTiger/93c50d0d65ab5e81aba6188e58f7ca59/raw/config-ubuntu.sh

Review contents of script:

cat config-ubuntu.sh

Finally, run the script

bash config-ubuntu.sh

References

#!/bin/bash
prompt(){
# prompt user
printf "\n"
echo -n "$1"
}
get_response(){
# get user input
local response
read response
# determine action
case $response in
$2)
# execute function
$1
;;
*)
# do nothing
:
;;
esac
# optional return
if $3; then
echo "$response"
fi
}
install_tools(){
# notify user
echo ">>> installing packages: $@"
sudo apt-get update && sudo apt-get install -y "$@"
}
# getting necessary system packages with apt-get
setup_common_tools(){
# now install
install_tools curl htop git gnupg lm-sensors make tree xclip xsel
}
# setting up tmux
setup_tmux(){
install_tools git tmux && \
cd && \
git clone https://github.com/RagingTiger/.tmux.git && \
ln -s -f .tmux/.tmux.conf && \
cp .tmux/.tmux.conf.local .
}
# install gopass
setup_gopass(){
# create string for gopass sources entry
local gopass_sources=$(printf '%s\n' \
"Types: deb" \
"URIs: https://packages.gopass.pw/repos/gopass" \
"Suites: stable" \
"Architectures: all amd64 arm64 armhf" \
"Components: main" \
"Signed-By: /usr/share/keyrings/gopass-archive-keyring.gpg"
)
# get dependencies
install_tools curl gnupg && \
# setup and install
curl https://packages.gopass.pw/repos/gopass/gopass-archive-keyring.gpg | \
sudo tee /usr/share/keyrings/gopass-archive-keyring.gpg >/dev/null && \
echo "${gopass_sources}" | sudo tee /etc/apt/sources.list.d/gopass.sources && \
install_tools gopass gopass-archive-keyring
}
# installing docker
setup_docker(){
# install prerequisite tools for docker
install_tools ca-certificates curl gnupg && \
# add Docker’s official GPG key
sudo install -m 0755 -d /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | \
sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
sudo chmod a+r /etc/apt/keyrings/docker.gpg && \
# set up the Docker repository
echo \
"deb [arch="$(dpkg --print-architecture)" \
signed-by=/etc/apt/keyrings/docker.gpg] \
https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && \
# install Docker Engine, containerd, and Docker Compose.
install_tools \
docker-ce \
docker-ce-cli \
containerd.io \
docker-buildx-plugin \
docker-compose-plugin && \
# confirm install: https://docs.docker.com/engine/install/linux-postinstall/
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
}
setup_nvidia_container_toolkit(){
# get dependencies
install_tools curl gnupg && \
# check for docker
if ! which docker > /dev/null; then
setup_docker
fi && \
# setup the package repository and the GPG key
local distribution=$(. /etc/os-release;echo $ID$VERSION_ID) && \
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | \
sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg && \
curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list && \
# now install toolkit
install_tools nvidia-container-toolkit && \
# now configure Docker daemon to recognize the NVIDIA Container Runtime
sudo nvidia-ctk runtime configure --runtime=docker && \
# restart the Docker daemon to complete the installation
sudo systemctl restart docker && \
# test by running a CUDA container:
sudo docker run \
--rm \
--runtime=nvidia \
--gpus all \
nvidia/cuda:11.6.2-base-ubuntu20.04 \
nvidia-smi
}
# install snaps template
install_snaps(){
sudo snap install $1 $2
}
# getting snaps
setup_snaps(){
install_snaps atom --classic
install_snaps indicator-sensors
install_snaps kdenlive
install_snaps rpi-imager
}
# install Kinto
setup_kinto(){
/bin/bash -c "$(wget -qO- https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh || \
curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh)"
}
# for a procedural/interactive install/config UI
interactive_config(){
# get common tools
prompt "Would you like to install common tools? [Y/n]: "
get_response setup_common_tools 'Y' false
# get Tmux
prompt "Would you like to install Tmux? [Y/n]: "
get_response setup_tmux 'Y' false
# get GoPass
prompt "Would you like to install GoPass? [Y/n]: "
get_response setup_gopass 'Y' false
# get Docker
prompt "Would you like to install Docker? [Y/n]: "
get_response setup_docker 'Y' false
# get NVIDIA Container Toolkit
prompt "Would you like to install NVIDIA Container Toolkit? [Y/n]: "
get_response setup_nvidia_container_toolkit 'Y' false
# setup Ubuntu Snaps
prompt "Would you like to install Snaps? [Y/n]: "
get_response setup_snaps 'Y' false
# setup Kinto for keyboard
prompt "Would you like to install Kinto? [Y/n]: "
get_response setup_kinto 'Y' false
# now exit
exit
}
# for a non-interactive install/config UI
automated_config(){
# run all setup functions
setup_common_tools
setup_tmux
setup_gopass
setup_docker
setup_nvidia_container_toolkit
setup_snaps
setup_kinto
# now exit
exit
}
# executable section
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
# prompt user for interactive mode
prompt "Would you like to run an interactive configuration? [Y/n]: "
get_response interactive_config 'Y' false
# check for automatic mode
prompt "Would you like to run the entire configuration? [Y/n]: "
get_response automated_config 'Y' false
fi
@DiogenesAnalytics
Copy link
Author

DiogenesAnalytics commented Apr 30, 2024

Ubuntu 24.04: Kinto Problems Thread

This comment is to track the issues I have encountered with installing kinto on Ubuntu 24.04.

Install Output

$ /bin/bash -c "$(wget -qO- https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh || curl -fsSL https://raw.githubusercontent.com/rbreaves/kinto/HEAD/install/linux.sh)"
--2024-04-30 21:43:16--  https://github.com/rbreaves/kinto/archive/refs/heads/master.zip
Resolving github.com (github.com)... 140.82.113.3
Connecting to github.com (github.com)|140.82.113.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/rbreaves/kinto/zip/refs/heads/master [following]
--2024-04-30 21:43:18--  https://codeload.github.com/rbreaves/kinto/zip/refs/heads/master
Resolving codeload.github.com (codeload.github.com)... 140.82.113.10
Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘/home/ubuntu/Downloads/kinto.zip’

/home/ubuntu/Downlo     [       <=>          ] 678.65K   378KB/s    in 1.8s    

2024-04-30 21:43:20 (378 KB/s) - ‘/home/ubuntu/Downloads/kinto.zip’ saved [694941]

Archive:  /home/ubuntu/Downloads/kinto.zip
4a3bfe79e2578dd85cb6ff2ebc5505f758c64ab6
   creating: /home/ubuntu/Downloads/kinto-master/
  inflating: /home/ubuntu/Downloads/kinto-master/.gitattributes  
   creating: /home/ubuntu/Downloads/kinto-master/.github/
   creating: /home/ubuntu/Downloads/kinto-master/.github/ISSUE_TEMPLATE/
  inflating: /home/ubuntu/Downloads/kinto-master/.github/ISSUE_TEMPLATE/bug_report.md  
  inflating: /home/ubuntu/Downloads/kinto-master/.github/ISSUE_TEMPLATE/feature_request.md  
  inflating: /home/ubuntu/Downloads/kinto-master/.github/ISSUE_TEMPLATE/gratitude.md  
  inflating: /home/ubuntu/Downloads/kinto-master/.github/ISSUE_TEMPLATE/question.md  
   creating: /home/ubuntu/Downloads/kinto-master/.github/workflows/
  inflating: /home/ubuntu/Downloads/kinto-master/.github/workflows/01-ubuntu-budgie.yml  
  inflating: /home/ubuntu/Downloads/kinto-master/.gitignore  
  inflating: /home/ubuntu/Downloads/kinto-master/LICENSE  
  inflating: /home/ubuntu/Downloads/kinto-master/README.md  
   creating: /home/ubuntu/Downloads/kinto-master/assets/
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-black-invert.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-black.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-color-black-invert.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-color-black.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-color-invert-border.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-color-invert.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-color-white-invert.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-color.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-white-invert.ico  
  inflating: /home/ubuntu/Downloads/kinto-master/assets/kinto-white.ico  
   creating: /home/ubuntu/Downloads/kinto-master/install/
  inflating: /home/ubuntu/Downloads/kinto-master/install/linux.sh  
  inflating: /home/ubuntu/Downloads/kinto-master/install/windows.ps1  
   creating: /home/ubuntu/Downloads/kinto-master/linux/
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gnome_logoff.sh  
   creating: /home/ubuntu/Downloads/kinto-master/linux/gui/
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/capslock_1200x720.png  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/keys_1200x720.png  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/kinto-gui.py  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/kinto.desktop  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/tuxbg.png  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/tuxcry4.png  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/tuxerror.png  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/gui/tuxuninstall.png  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/initkb  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/killdups.sh  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/kinto-service.sh  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/kinto.py  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/limitedadmins  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/prexk.sh  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/root_logoff.sh  
   creating: /home/ubuntu/Downloads/kinto-master/linux/system-config/
  inflating: /home/ubuntu/Downloads/kinto-master/linux/system-config/dename.sh  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/system-config/unipkg.sh  
   creating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/
   creating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/
   creating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto-color-16.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto-color.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto-invert-16.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto-invert.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto-solid-16.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto-solid.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/icons/kinto.svg  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/kintotray.desktop  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/trayapps/appindicator/kintotray.py  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/vscode_keybindings.json  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/xkeysnail.desktop  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/xkeysnail.service  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/xkeysnail_sysv.desktop  
  inflating: /home/ubuntu/Downloads/kinto-master/linux/xkeystart.sh  
  inflating: /home/ubuntu/Downloads/kinto-master/prekinto.py  
  inflating: /home/ubuntu/Downloads/kinto-master/setup.py  
   creating: /home/ubuntu/Downloads/kinto-master/windows/
  inflating: /home/ubuntu/Downloads/kinto-master/windows/NoShell.vbs  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/WinToMac_AltWin_swap.skl  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/autohotkey.ps1  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/detectUSB.ahk  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/kinto-start.vbs  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/kinto.ahk  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/standard_ctrlalt_swap.skl  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/theme_ubuntu.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/toggle_kb.bat  
   creating: /home/ubuntu/Downloads/kinto-master/windows/unused/
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/macbook_winctrl_capsesc_swap.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/macbook_winctrl_swap.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/macbook_winctrl_swap.skl  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/remove_keyswap.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/standard_ctrlalt_capsesc_swap.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/standard_ctrlalt_swap.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/theme_campbell.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/theme_legacy.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/theme_onehalfdark.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/unused/theme_onehalflight.reg  
  inflating: /home/ubuntu/Downloads/kinto-master/windows/usb.vbs  
  inflating: /home/ubuntu/Downloads/kinto-master/xkeysnail_service.sh  
Installing Kinto...
/home/ubuntu/Downloads/kinto-master/./setup.py:43: SyntaxWarning: invalid escape sequence '\C'
  p = subprocess.Popen(['powershell.exe', "Remove-ItemProperty -Path HKLM:'SYSTEM\CurrentControlSet\Control\Keyboard Layout' -Name 'Scancode Map' -ErrorAction SilentlyContinue"], stdout=sys.stdout)
/home/ubuntu/Downloads/kinto-master/./setup.py:56: SyntaxWarning: invalid escape sequence '\/'
  os.system('C:\\Strawberry\\perl\\bin\\perl.exe -pi -e "s/(; )(.*)(; WinModifiers\/CB)/$2$3/gm" ' + homedir + '\\kinto-new.ahk')
/home/ubuntu/Downloads/kinto-master/./setup.py:58: SyntaxWarning: invalid escape sequence '\/'
  os.system('C:\\Strawberry\\perl\\bin\\perl.exe -pi -e "s/(; )(.*)(; CB\/IBM)/$2$3/gm" ' + homedir + '\\kinto-new.ahk')
/home/ubuntu/Downloads/kinto-master/./setup.py:59: SyntaxWarning: invalid escape sequence '\/'
  os.system('C:\\Strawberry\\perl\\bin\\perl.exe -pi -e "s/(; )(.*)(; WinModifiers\/CB\/IBM)/$2$3/gm" ' + homedir + '\\kinto-new.ahk')
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found
/bin/sh: 1: git: not found

Kinto  build 
Type in Linux like it's a Mac.

Overlay key,  'Super_L' , detected. Will be removing so Super-Space can remap to Cmd-Space for app launching..
Will need to install git...
Debian
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Ign:1 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble InRelease
Hit:2 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble Release
Get:4 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]              
Get:5 http://security.ubuntu.com/ubuntu noble-security InRelease [89.7 kB]     
Get:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease [89.7 kB]       
Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease    
Get:8 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1401 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/main i386 Packages [17.4 kB]
Get:10 http://archive.ubuntu.com/ubuntu noble/main i386 Packages [1041 kB]
Get:11 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [21.5 kB]
Get:12 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [6544 B]
Get:13 http://security.ubuntu.com/ubuntu noble-security/universe i386 Packages [3172 B]
Get:14 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [8248 B]
Get:15 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [3672 B]
Get:16 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]     
Get:17 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
Get:18 http://archive.ubuntu.com/ubuntu noble/universe i386 Packages [8514 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble/restricted amd64 Packages [93.9 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble/restricted Translation-en [18.7 kB]
Get:22 http://archive.ubuntu.com/ubuntu noble-updates/main i386 Packages [17.4 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [21.5 kB]
Get:24 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [6544 B]
Get:25 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [8248 B]
Get:26 http://archive.ubuntu.com/ubuntu noble-updates/universe i386 Packages [3172 B]
Get:27 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [3672 B]
Fetched 33.2 MB in 10s (3234 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  git-man liberror-perl
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
  git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 16 not upgraded.
Need to get 4797 kB of archives.
After this operation, 24.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu noble/main amd64 liberror-perl all 0.17029-2 [25.6 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 git-man all 1:2.43.0-1ubuntu7 [1098 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble/main amd64 git amd64 1:2.43.0-1ubuntu7 [3674 kB]
Fetched 4797 kB in 4s (1098 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 210655 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17029-2_all.deb ...
Unpacking liberror-perl (0.17029-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.43.0-1ubuntu7_all.deb ...
Unpacking git-man (1:2.43.0-1ubuntu7) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.43.0-1ubuntu7_amd64.deb ...
Unpacking git (1:2.43.0-1ubuntu7) ...
Setting up liberror-perl (0.17029-2) ...
Setting up git-man (1:2.43.0-1ubuntu7) ...
Setting up git (1:2.43.0-1ubuntu7) ...
Processing triggers for man-db (2.12.0-4build2) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
Will need to install python3-pip...
Debian
Warning: The unit file, source configuration file or drop-ins of apt-news.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of esm-cache.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Ign:1 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble InRelease
Hit:2 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble Release
Hit:4 http://security.ubuntu.com/ubuntu noble-security InRelease            
Hit:5 http://archive.ubuntu.com/ubuntu noble InRelease                      
Hit:6 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev
  fakeroot g++ g++-13 g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13
  gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu javascript-common
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libasan8 libbinutils libcc1-0 libctf-nobfd0 libctf0 libdpkg-perl
  libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-13-dev libgprofng0
  libhwasan0 libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0
  libpython3-dev libpython3.12-dev libquadmath0 libsframe1 libstdc++-13-dev
  libtsan2 libubsan1 lto-disabled-list make python3-dev python3-setuptools
  python3-wheel python3.12-dev zlib1g-dev
Suggested packages:
  binutils-doc gprofng-gui debian-keyring g++-multilib g++-13-multilib
  gcc-13-doc gcc-multilib autoconf automake libtool flex bison gcc-doc
  gcc-13-multilib gcc-13-locales gdb-x86-64-linux-gnu apache2 | lighttpd
  | httpd bzr libstdc++-13-doc make-doc python-setuptools-doc
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev
  fakeroot g++ g++-13 g++-13-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-13
  gcc-13-x86-64-linux-gnu gcc-x86-64-linux-gnu javascript-common
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libasan8 libbinutils libcc1-0 libctf-nobfd0 libctf0 libdpkg-perl
  libexpat1-dev libfakeroot libfile-fcntllock-perl libgcc-13-dev libgprofng0
  libhwasan0 libitm1 libjs-jquery libjs-sphinxdoc libjs-underscore liblsan0
  libpython3-dev libpython3.12-dev libquadmath0 libsframe1 libstdc++-13-dev
  libtsan2 libubsan1 lto-disabled-list make python3-dev python3-pip
  python3-setuptools python3-wheel python3.12-dev zlib1g-dev
0 upgraded, 50 newly installed, 0 to remove and 16 not upgraded.
Need to get 9605 kB/65.8 MB of archives.
After this operation, 252 MB of additional disk space will be used.
Get:1 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 binutils-common amd64 2.42-4ubuntu2 [239 kB]
Get:2 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libsframe1 amd64 2.42-4ubuntu2 [14.8 kB]
Get:3 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libbinutils amd64 2.42-4ubuntu2 [572 kB]
Get:4 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libctf-nobfd0 amd64 2.42-4ubuntu2 [97.1 kB]
Get:5 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libctf0 amd64 2.42-4ubuntu2 [94.5 kB]
Get:6 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libgprofng0 amd64 2.42-4ubuntu2 [851 kB]
Get:7 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 binutils-x86-64-linux-gnu amd64 2.42-4ubuntu2 [2469 kB]
Get:8 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 binutils amd64 2.42-4ubuntu2 [18.0 kB]
Get:9 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libcc1-0 amd64 14-20240412-0ubuntu1 [47.7 kB]
Get:10 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libitm1 amd64 14-20240412-0ubuntu1 [28.9 kB]
Get:11 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libasan8 amd64 14-20240412-0ubuntu1 [3024 kB]
Get:12 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 liblsan0 amd64 14-20240412-0ubuntu1 [1313 kB]
Get:13 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libtsan2 amd64 14-20240412-0ubuntu1 [2736 kB]
Get:14 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libubsan1 amd64 14-20240412-0ubuntu1 [1175 kB]
Get:15 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libhwasan0 amd64 14-20240412-0ubuntu1 [1632 kB]
Get:16 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libquadmath0 amd64 14-20240412-0ubuntu1 [153 kB]
Get:17 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libgcc-13-dev amd64 13.2.0-23ubuntu4 [2688 kB]
Get:18 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 gcc-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [21.9 MB]
Get:19 http://archive.ubuntu.com/ubuntu noble/main amd64 javascript-common all 11+nmu1 [5936 B]
Get:20 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 gcc-13 amd64 13.2.0-23ubuntu4 [482 kB]
Get:21 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 gcc-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [1212 B]
Get:22 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 gcc amd64 4:13.2.0-7ubuntu1 [5018 B]
Get:23 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libstdc++-13-dev amd64 13.2.0-23ubuntu4 [2399 kB]
Get:24 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 g++-13-x86-64-linux-gnu amd64 13.2.0-23ubuntu4 [12.5 MB]
Get:25 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 g++-13 amd64 13.2.0-23ubuntu4 [14.5 kB]
Get:26 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 g++-x86-64-linux-gnu amd64 4:13.2.0-7ubuntu1 [964 B]
Get:27 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 g++ amd64 4:13.2.0-7ubuntu1 [1100 B]
Get:28 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 make amd64 4.3-4.1build2 [180 kB]
Get:29 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libdpkg-perl all 1.22.6ubuntu6 [268 kB]
Get:30 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 lto-disabled-list all 47 [12.4 kB]
Get:31 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 dpkg-dev all 1.22.6ubuntu6 [1074 kB]
Get:32 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 build-essential amd64 12.10ubuntu1 [4928 B]
Get:33 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libfakeroot amd64 1.33-1 [32.4 kB]
Get:34 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 fakeroot amd64 1.33-1 [67.2 kB]
Get:35 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libalgorithm-diff-perl all 1.201-1 [41.8 kB]
Get:36 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libalgorithm-diff-xs-perl amd64 0.04-8build3 [11.2 kB]
Get:37 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libalgorithm-merge-perl all 0.08-5 [11.4 kB]
Get:38 cdrom://Ubuntu 24.04 LTS _Noble Numbat_ - Release amd64 (20240424) noble/main amd64 libfile-fcntllock-perl amd64 0.22-4ubuntu5 [30.7 kB]
Get:39 http://archive.ubuntu.com/ubuntu noble/main amd64 libexpat1-dev amd64 2.6.1-2build1 [139 kB]
Get:40 http://archive.ubuntu.com/ubuntu noble/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB]
Get:41 http://archive.ubuntu.com/ubuntu noble/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB]
Get:42 http://archive.ubuntu.com/ubuntu noble/main amd64 libjs-sphinxdoc all 7.2.6-6 [149 kB]
Get:43 http://archive.ubuntu.com/ubuntu noble/main amd64 zlib1g-dev amd64 1:1.3.dfsg-3.1ubuntu2 [894 kB]
Get:44 http://archive.ubuntu.com/ubuntu noble/main amd64 libpython3.12-dev amd64 3.12.3-1 [5671 kB]
Get:45 http://archive.ubuntu.com/ubuntu noble/main amd64 libpython3-dev amd64 3.12.3-0ubuntu1 [10.2 kB]
Get:46 http://archive.ubuntu.com/ubuntu noble/main amd64 python3.12-dev amd64 3.12.3-1 [498 kB]
Get:47 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-dev amd64 3.12.3-0ubuntu1 [26.7 kB]
Get:48 http://archive.ubuntu.com/ubuntu noble/main amd64 python3-setuptools all 68.1.2-2ubuntu1 [396 kB]
Get:49 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-wheel all 0.42.0-2 [53.1 kB]
Get:50 http://archive.ubuntu.com/ubuntu noble/universe amd64 python3-pip all 24.0+dfsg-1ubuntu1 [1316 kB]
Fetched 9605 kB in 8s (1230 kB/s)                                              
Extracting templates from packages: 100%
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 211739 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.42-4ubuntu2_amd64.deb ...
Unpacking binutils-common:amd64 (2.42-4ubuntu2) ...
Selecting previously unselected package libsframe1:amd64.
Preparing to unpack .../01-libsframe1_2.42-4ubuntu2_amd64.deb ...
Unpacking libsframe1:amd64 (2.42-4ubuntu2) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.42-4ubuntu2_amd64.deb ...
Unpacking libbinutils:amd64 (2.42-4ubuntu2) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../03-libctf-nobfd0_2.42-4ubuntu2_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.42-4ubuntu2) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../04-libctf0_2.42-4ubuntu2_amd64.deb ...
Unpacking libctf0:amd64 (2.42-4ubuntu2) ...
Selecting previously unselected package libgprofng0:amd64.
Preparing to unpack .../05-libgprofng0_2.42-4ubuntu2_amd64.deb ...
Unpacking libgprofng0:amd64 (2.42-4ubuntu2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../06-binutils-x86-64-linux-gnu_2.42-4ubuntu2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.42-4ubuntu2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../07-binutils_2.42-4ubuntu2_amd64.deb ...
Unpacking binutils (2.42-4ubuntu2) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../08-libcc1-0_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libcc1-0:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../09-libitm1_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libitm1:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libasan8:amd64.
Preparing to unpack .../10-libasan8_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libasan8:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../11-liblsan0_14-20240412-0ubuntu1_amd64.deb ...
Unpacking liblsan0:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libtsan2:amd64.
Preparing to unpack .../12-libtsan2_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libtsan2:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../13-libubsan1_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libubsan1:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libhwasan0:amd64.
Preparing to unpack .../14-libhwasan0_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libhwasan0:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../15-libquadmath0_14-20240412-0ubuntu1_amd64.deb ...
Unpacking libquadmath0:amd64 (14-20240412-0ubuntu1) ...
Selecting previously unselected package libgcc-13-dev:amd64.
Preparing to unpack .../16-libgcc-13-dev_13.2.0-23ubuntu4_amd64.deb ...
Unpacking libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ...
Selecting previously unselected package gcc-13-x86-64-linux-gnu.
Preparing to unpack .../17-gcc-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ...
Unpacking gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ...
Selecting previously unselected package gcc-13.
Preparing to unpack .../18-gcc-13_13.2.0-23ubuntu4_amd64.deb ...
Unpacking gcc-13 (13.2.0-23ubuntu4) ...
Selecting previously unselected package gcc-x86-64-linux-gnu.
Preparing to unpack .../19-gcc-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ...
Unpacking gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package gcc.
Preparing to unpack .../20-gcc_4%3a13.2.0-7ubuntu1_amd64.deb ...
Unpacking gcc (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package libstdc++-13-dev:amd64.
Preparing to unpack .../21-libstdc++-13-dev_13.2.0-23ubuntu4_amd64.deb ...
Unpacking libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ...
Selecting previously unselected package g++-13-x86-64-linux-gnu.
Preparing to unpack .../22-g++-13-x86-64-linux-gnu_13.2.0-23ubuntu4_amd64.deb ...
Unpacking g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ...
Selecting previously unselected package g++-13.
Preparing to unpack .../23-g++-13_13.2.0-23ubuntu4_amd64.deb ...
Unpacking g++-13 (13.2.0-23ubuntu4) ...
Selecting previously unselected package g++-x86-64-linux-gnu.
Preparing to unpack .../24-g++-x86-64-linux-gnu_4%3a13.2.0-7ubuntu1_amd64.deb ...
Unpacking g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package g++.
Preparing to unpack .../25-g++_4%3a13.2.0-7ubuntu1_amd64.deb ...
Unpacking g++ (4:13.2.0-7ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../26-make_4.3-4.1build2_amd64.deb ...
Unpacking make (4.3-4.1build2) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../27-libdpkg-perl_1.22.6ubuntu6_all.deb ...
Unpacking libdpkg-perl (1.22.6ubuntu6) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../28-lto-disabled-list_47_all.deb ...
Unpacking lto-disabled-list (47) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../29-dpkg-dev_1.22.6ubuntu6_all.deb ...
Unpacking dpkg-dev (1.22.6ubuntu6) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../30-build-essential_12.10ubuntu1_amd64.deb ...
Unpacking build-essential (12.10ubuntu1) ...
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack .../31-libfakeroot_1.33-1_amd64.deb ...
Unpacking libfakeroot:amd64 (1.33-1) ...
Selecting previously unselected package fakeroot.
Preparing to unpack .../32-fakeroot_1.33-1_amd64.deb ...
Unpacking fakeroot (1.33-1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../33-javascript-common_11+nmu1_all.deb ...
Unpacking javascript-common (11+nmu1) ...
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack .../34-libalgorithm-diff-perl_1.201-1_all.deb ...
Unpacking libalgorithm-diff-perl (1.201-1) ...
Selecting previously unselected package libalgorithm-diff-xs-perl:amd64.
Preparing to unpack .../35-libalgorithm-diff-xs-perl_0.04-8build3_amd64.deb ...
Unpacking libalgorithm-diff-xs-perl:amd64 (0.04-8build3) ...
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack .../36-libalgorithm-merge-perl_0.08-5_all.deb ...
Unpacking libalgorithm-merge-perl (0.08-5) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../37-libexpat1-dev_2.6.1-2build1_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.6.1-2build1) ...
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack .../38-libfile-fcntllock-perl_0.22-4ubuntu5_amd64.deb ...
Unpacking libfile-fcntllock-perl (0.22-4ubuntu5) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../39-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ...
Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../40-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ...
Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../41-libjs-sphinxdoc_7.2.6-6_all.deb ...
Unpacking libjs-sphinxdoc (7.2.6-6) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../42-zlib1g-dev_1%3a1.3.dfsg-3.1ubuntu2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2) ...
Selecting previously unselected package libpython3.12-dev:amd64.
Preparing to unpack .../43-libpython3.12-dev_3.12.3-1_amd64.deb ...
Unpacking libpython3.12-dev:amd64 (3.12.3-1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../44-libpython3-dev_3.12.3-0ubuntu1_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.12.3-0ubuntu1) ...
Selecting previously unselected package python3.12-dev.
Preparing to unpack .../45-python3.12-dev_3.12.3-1_amd64.deb ...
Unpacking python3.12-dev (3.12.3-1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../46-python3-dev_3.12.3-0ubuntu1_amd64.deb ...
Unpacking python3-dev (3.12.3-0ubuntu1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../47-python3-setuptools_68.1.2-2ubuntu1_all.deb ...
Unpacking python3-setuptools (68.1.2-2ubuntu1) ...
Selecting previously unselected package python3-wheel.
Preparing to unpack .../48-python3-wheel_0.42.0-2_all.deb ...
Unpacking python3-wheel (0.42.0-2) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../49-python3-pip_24.0+dfsg-1ubuntu1_all.deb ...
Unpacking python3-pip (24.0+dfsg-1ubuntu1) ...
Setting up javascript-common (11+nmu1) ...
Setting up lto-disabled-list (47) ...
Setting up python3-setuptools (68.1.2-2ubuntu1) ...
Setting up libfile-fcntllock-perl (0.22-4ubuntu5) ...
Setting up libalgorithm-diff-perl (1.201-1) ...
Setting up binutils-common:amd64 (2.42-4ubuntu2) ...
Setting up libctf-nobfd0:amd64 (2.42-4ubuntu2) ...
Setting up python3-wheel (0.42.0-2) ...
Setting up libsframe1:amd64 (2.42-4ubuntu2) ...
Setting up libfakeroot:amd64 (1.33-1) ...
Setting up fakeroot (1.33-1) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up libexpat1-dev:amd64 (2.6.1-2build1) ...
Setting up make (4.3-4.1build2) ...
Setting up libquadmath0:amd64 (14-20240412-0ubuntu1) ...
Setting up python3-pip (24.0+dfsg-1ubuntu1) ...
Setting up libdpkg-perl (1.22.6ubuntu6) ...
Setting up libubsan1:amd64 (14-20240412-0ubuntu1) ...
Setting up zlib1g-dev:amd64 (1:1.3.dfsg-3.1ubuntu2) ...
Setting up libhwasan0:amd64 (14-20240412-0ubuntu1) ...
Setting up libasan8:amd64 (14-20240412-0ubuntu1) ...
Setting up libtsan2:amd64 (14-20240412-0ubuntu1) ...
Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ...
Setting up libbinutils:amd64 (2.42-4ubuntu2) ...
Setting up libalgorithm-diff-xs-perl:amd64 (0.04-8build3) ...
Setting up libcc1-0:amd64 (14-20240412-0ubuntu1) ...
Setting up liblsan0:amd64 (14-20240412-0ubuntu1) ...
Setting up libitm1:amd64 (14-20240412-0ubuntu1) ...
Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ...
Setting up libalgorithm-merge-perl (0.08-5) ...
Setting up libctf0:amd64 (2.42-4ubuntu2) ...
Setting up libpython3.12-dev:amd64 (3.12.3-1) ...
Setting up libgprofng0:amd64 (2.42-4ubuntu2) ...
Setting up python3.12-dev (3.12.3-1) ...
Setting up libjs-sphinxdoc (7.2.6-6) ...
Setting up libgcc-13-dev:amd64 (13.2.0-23ubuntu4) ...
Setting up libstdc++-13-dev:amd64 (13.2.0-23ubuntu4) ...
Setting up binutils-x86-64-linux-gnu (2.42-4ubuntu2) ...
Setting up libpython3-dev:amd64 (3.12.3-0ubuntu1) ...
Setting up gcc-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ...
Setting up binutils (2.42-4ubuntu2) ...
Setting up dpkg-dev (1.22.6ubuntu6) ...
Setting up python3-dev (3.12.3-0ubuntu1) ...
Setting up gcc-13 (13.2.0-23ubuntu4) ...
Setting up g++-13-x86-64-linux-gnu (13.2.0-23ubuntu4) ...
Setting up gcc-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
Setting up gcc (4:13.2.0-7ubuntu1) ...
Setting up g++-x86-64-linux-gnu (4:13.2.0-7ubuntu1) ...
Setting up g++-13 (13.2.0-23ubuntu4) ...
Setting up g++ (4:13.2.0-7ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.10ubuntu1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
Using systemd...
localuser:root being added to access control list
Cloning into 'xkeysnail'...
remote: Enumerating objects: 116, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 116 (delta 70), reused 94 (delta 62), pack-reused 0
Receiving objects: 100% (116/116), 35.81 KiB | 421.00 KiB/s, done.
Resolving deltas: 100% (70/70), done.
Processing /home/ubuntu/Downloads/kinto-master/xkeysnail
  Preparing metadata (setup.py) ... done
Collecting evdev (from xkeysnail==0.3.0)
  Downloading evdev-1.7.0.tar.gz (30 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Collecting inotify_simple (from xkeysnail==0.3.0)
  Downloading inotify_simple-1.3.5.tar.gz (9.7 kB)
  Preparing metadata (setup.py) ... done
Collecting python-xlib (from xkeysnail==0.3.0)
  Downloading python_xlib-0.33-py2.py3-none-any.whl.metadata (6.2 kB)
Requirement already satisfied: six>=1.10.0 in /usr/lib/python3/dist-packages (from python-xlib->xkeysnail==0.3.0) (1.16.0)
Downloading python_xlib-0.33-py2.py3-none-any.whl (182 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 182.2/182.2 kB 3.5 MB/s eta 0:00:00
Building wheels for collected packages: xkeysnail, evdev, inotify_simple
  Building wheel for xkeysnail (setup.py) ... done
  Created wheel for xkeysnail: filename=xkeysnail-0.3.0-py3-none-any.whl size=17525 sha256=d47fe84315db574aaaa21d7564fc98c36bbaf3bec4e575a0135e767e0c2b6bf1
  Stored in directory: /tmp/pip-ephem-wheel-cache-wxg92mun/wheels/28/ce/3e/ba4c0db62d75eab7e7317b733b634f502e37b2f4f2e4afc0f4
  Building wheel for evdev (pyproject.toml) ... done
  Created wheel for evdev: filename=evdev-1.7.0-cp312-cp312-linux_x86_64.whl size=93431 sha256=bf2491b7f1f5672ad59b4fe9e73cf05b4acb9b73e126658da22fd5317d6cd2f1
  Stored in directory: /root/.cache/pip/wheels/2c/b2/d9/926c89e8f18ea097266d4f710fa95cf08b3c9915605c20e6d5
  Building wheel for inotify_simple (setup.py) ... done
  Created wheel for inotify_simple: filename=inotify_simple-1.3.5-py3-none-any.whl size=7689 sha256=de6b1ea2b82bced709d8b47a05091fe30e6714477992e0604d5713beb8a60b3d
  Stored in directory: /root/.cache/pip/wheels/89/e9/48/e4607c1046febffffe68a7751ac54cfaded951ba92808af87a
Successfully built xkeysnail evdev inotify_simple
Installing collected packages: python-xlib, inotify_simple, evdev, xkeysnail
Successfully installed evdev-1.7.0 inotify_simple-1.3.5 python-xlib-0.33 xkeysnail-0.3.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/local/bin/xkeysnail
Service file added to /usr/lib/systemd/system/xkeysnail.service
Ownership set for root...
Permissions set to 644...
Created soft symlink...
Created soft symlink for graphical target...
Failed to disable unit: Refusing to operate on alias name or linked unit file: xkeysnail.service
Warning: The unit file, source configuration file or drop-ins of xkeysnail.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Adding xhost fix...

Kinto install is complete.

If the setup wizard fails to appear then please run this command.
~/.config/kinto/gui/kinto-gui.py

You can then either Google what dependencies you may be missing
or open an issue ticket.

Gnome may not support appindicators well, so by default you may need to install packages before enabling the System Tray.
You may try one of the following extensions.
    1) AppIndicator and KStatusNotifierItem Support
    2) TopIcons Plus

Note: you may want these supporting packages
'sudo apt install gnome-tweaks gnome-shell-extension-appindicator gir1.2-appindicator3-0.1'

References

@DiogenesAnalytics
Copy link
Author

DiogenesAnalytics commented Apr 30, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment