-
-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
amadeuspagel@penguin:~/openfreemap$ ./init-server.py tile-gen [email protected]
Run script on [email protected]? [y/N]: y
adduser: The user `ofm' already exists.
Hit:1 http://nginx.org/packages/mainline/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo -S -p '[sudo] password: ' DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends aria2 build-essential curl dnsutils git htop lsb-release pigz rsync unzip wget psmisc util-linux btrfs-progs ca-certificates gnupg-agent gnupg2 ubuntu-keyring iftop nload vnstat python3 python3-venv acpid autojump bash-completion btop ctop dbus direnv fd-find file ioping libffi-dev libssl-dev lsof man-db mc nano ncdu net-tools netbase nethogs openssh-client p7zip-full pkg-config psmisc ripgrep silversearcher-ag time tmux
Reading package lists...
Building dependency tree...
Reading state information...
acpid is already the newest version (1:2.0.33-1ubuntu1).
bash-completion is already the newest version (1:2.11-5ubuntu1).
btrfs-progs is already the newest version (5.16.2-1).
build-essential is already the newest version (12.9ubuntu3).
htop is already the newest version (3.0.5-7build2).
libffi-dev is already the newest version (3.4.2-4).
lsb-release is already the newest version (11.1.0ubuntu4).
lsof is already the newest version (4.93.2+dfsg-1.1build2).
man-db is already the newest version (2.10.2-1).
netbase is already the newest version (6.3).
pkg-config is already the newest version (0.29.2-1ubuntu3).
psmisc is already the newest version (23.4-2build3).
time is already the newest version (1.9-0.1build2).
ubuntu-keyring is already the newest version (2021.03.26).
aria2 is already the newest version (1.36.0-1).
autojump is already the newest version (22.5.1-1.1).
btop is already the newest version (1.2.3-2).
ctop is already the newest version (1.0.0-2.1).
direnv is already the newest version (2.25.2-2).
iftop is already the newest version (1.0~pre4-7).
ioping is already the newest version (1.2-1).
mc is already the newest version (3:4.8.27-1).
ncdu is already the newest version (1.15.1-1).
nethogs is already the newest version (0.8.6-3).
nload is already the newest version (0.7.4-2build3).
p7zip-full is already the newest version (16.02+dfsg-8).
pigz is already the newest version (2.6-1).
silversearcher-ag is already the newest version (2.2.0+git20200805-1).
vnstat is already the newest version (2.9-1).
ca-certificates is already the newest version (20240203~22.04.1).
curl is already the newest version (7.81.0-1ubuntu1.21).
dbus is already the newest version (1.12.20-2ubuntu4.1).
file is already the newest version (1:5.41-3ubuntu0.1).
git is already the newest version (1:2.34.1-1ubuntu1.15).
libssl-dev is already the newest version (3.0.2-0ubuntu1.20).
nano is already the newest version (6.2-1ubuntu0.1).
net-tools is already the newest version (1.60+git20181103.0eebece-1ubuntu5.4).
openssh-client is already the newest version (1:8.9p1-3ubuntu0.13).
python3 is already the newest version (3.10.6-1~22.04.1).
rsync is already the newest version (3.2.7-0ubuntu0.22.04.4).
tmux is already the newest version (3.2a-4ubuntu0.2).
unzip is already the newest version (6.0-26ubuntu3.2).
util-linux is already the newest version (2.37.2-4ubuntu3.4).
wget is already the newest version (1.21.2-2ubuntu1.1).
dnsutils is already the newest version (1:9.18.39-0ubuntu0.22.04.2).
fd-find is already the newest version (8.3.1-1ubuntu0.1).
gnupg-agent is already the newest version (2.2.27-3ubuntu2.4).
gnupg2 is already the newest version (2.2.27-3ubuntu2.4).
python3-venv is already the newest version (3.10.6-1~22.04.1).
ripgrep is already the newest version (13.0.0-2ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
{
"domain_direct": "maps.worldaudioguide.com",
"domain_roundrobin": "",
"letsencrypt_email": "[email protected]",
"skip_planet": true,
"self_signed_certs": false,
"http_host_list": [],
"telegram_token": "",
"telegram_chat_id": ""
}
pip 22.0.2 from /data/ofm/venv/lib/python3.10/site-packages/pip (python 3.10)
Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (22.0.2)
Collecting pip
Using cached pip-25.3-py3-none-any.whl (1.8 MB)
Collecting wheel
Using cached wheel-0.45.1-py3-none-any.whl (72 kB)
Requirement already satisfied: setuptools in ./venv/lib/python3.10/site-packages (59.6.0)
Collecting setuptools
Using cached setuptools-80.9.0-py3-none-any.whl (1.2 MB)
Installing collected packages: wheel, setuptools, pip
Attempting uninstall: setuptools
Found existing installation: setuptools 59.6.0
Uninstalling setuptools-59.6.0:
Successfully uninstalled setuptools-59.6.0
Attempting uninstall: pip
Found existing installation: pip 22.0.2
Uninstalling pip-22.0.2:
Successfully uninstalled pip-22.0.2
Successfully installed pip-25.3 setuptools-80.9.0 wheel-0.45.1
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package temurin*
E: Couldn't find any package by glob 'temurin*'
E: Couldn't find any package by regex 'temurin*'
Package 'openjdk-6-jre-headless' is not installed, so not removed
Package 'openjdk-14-jre-headless' is not installed, so not removed
Package 'openjdk-13-jre-headless' is not installed, so not removed
Package 'openjdk-12-jre-headless' is not installed, so not removed
Package 'openjdk-6-jre' is not installed, so not removed
Package 'openjdk-7-jre' is not installed, so not removed
Package 'openjdk-9-jre' is not installed, so not removed
Package 'openjdk-jre' is not installed, so not removed
Traceback (most recent call last):
File "/home/amadeuspagel/openfreemap/./init-server.py", line 157, in <module>
cli()
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/click/core.py", line 1462, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/click/core.py", line 1383, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/click/core.py", line 1850, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/click/core.py", line 1246, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/click/core.py", line 814, in invoke
return callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/openfreemap/./init-server.py", line 113, in tile_gen
prepare_tile_gen(c, enable_cron=cron)
File "/home/amadeuspagel/openfreemap/ssh_lib/tasks.py", line 55, in prepare_tile_gen
install_planetiler(c)
File "/home/amadeuspagel/openfreemap/ssh_lib/planetiler.py", line 15, in install_planetiler
java(c)
File "/home/amadeuspagel/openfreemap/ssh_lib/java.py", line 17, in java
apt_get_purge(c, 'openjdk* temurin*')
File "/home/amadeuspagel/openfreemap/ssh_lib/utils.py", line 166, in apt_get_purge
c.sudo(f'DEBIAN_FRONTEND=noninteractive apt-get purge -y {pkgs}')
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/fabric/connection.py", line 23, in opens
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/fabric/connection.py", line 777, in sudo
return self._sudo(self._remote_runner(), command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/invoke/context.py", line 232, in _sudo
return runner.run(cmd_str, watchers=watchers, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/fabric/runners.py", line 83, in run
return super().run(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/invoke/runners.py", line 395, in run
return self._run_body(command, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/invoke/runners.py", line 451, in _run_body
return self.make_promise() if self._asynchronous else self._finish()
^^^^^^^^^^^^^^
File "/home/amadeuspagel/.local/lib/python3.11/site-packages/invoke/runners.py", line 518, in _finish
raise UnexpectedExit(result)
invoke.exceptions.UnexpectedExit: Encountered a bad command exit code!
Command: "sudo -S -p '[sudo] password: ' DEBIAN_FRONTEND=noninteractive apt-get purge -y openjdk* temurin*"
Exit code: 100
Stdout: already printed
Stderr: already printed
Metadata
Metadata
Assignees
Labels
No labels