2022-02-28 10:37:47 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2022-04-19 09:12:49 -04:00
|
|
|
# Prefer Debian packages over Ubuntu packages
|
2024-01-10 03:50:48 -05:00
|
|
|
echo 'APT::Default-Release "bookworm";' >/etc/apt/apt.conf.d/default-release
|
2022-04-13 14:32:02 -04:00
|
|
|
|
2019-02-21 04:09:07 -05:00
|
|
|
# The following aspell packages exist in Ubuntu but not Debian:
|
2022-04-19 09:12:49 -04:00
|
|
|
# aspell-af, aspell-id, aspell-nr, aspell-ns, aspell-st, aspell-tn, aspell-ts, aspell-xh
|
2022-03-01 10:07:37 -05:00
|
|
|
echo "deb [arch=amd64] http://archive.ubuntu.com/ubuntu/ focal main universe" > /etc/apt/sources.list.d/focal-amd.list
|
|
|
|
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ focal main universe" > /etc/apt/sources.list.d/focal-ports-arm.list
|
2019-01-25 06:33:23 -05:00
|
|
|
apt-key adv --no-tty --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
|
2019-02-21 05:15:23 -05:00
|
|
|
|
2024-01-10 03:50:48 -05:00
|
|
|
# aspell is leaking memory in bookworm, we'll obtain it from trixie
|
|
|
|
echo "deb http://deb.debian.org/debian trixie main" > /etc/apt/sources.list.d/trixie.list
|
2023-04-19 10:15:31 -04:00
|
|
|
|
2018-05-22 06:40:15 -04:00
|
|
|
apt-get update
|
2023-04-19 10:15:31 -04:00
|
|
|
|
2024-01-10 03:50:48 -05:00
|
|
|
# aspell is leaking memory in bookworm, we'll obtain it from trixie
|
2024-01-10 04:46:28 -05:00
|
|
|
apt satisfy -y -t trixie 'aspell (>=0.60.8.1)'
|
2024-01-10 03:50:48 -05:00
|
|
|
|
|
|
|
apt-get install -y \
|
|
|
|
aspell-af \
|
|
|
|
aspell-ar \
|
|
|
|
aspell-ar-large \
|
|
|
|
aspell-bg \
|
|
|
|
aspell-br \
|
|
|
|
aspell-ca \
|
|
|
|
aspell-cs \
|
|
|
|
aspell-cy \
|
|
|
|
aspell-da \
|
|
|
|
aspell-de \
|
|
|
|
aspell-de-1901 \
|
|
|
|
aspell-el \
|
|
|
|
aspell-en \
|
|
|
|
aspell-eo \
|
|
|
|
aspell-es \
|
|
|
|
aspell-et \
|
|
|
|
aspell-eu-es \
|
|
|
|
aspell-fa \
|
|
|
|
aspell-fo \
|
|
|
|
aspell-fr \
|
|
|
|
aspell-ga \
|
|
|
|
aspell-gl-minimos \
|
|
|
|
aspell-hr \
|
|
|
|
aspell-hsb \
|
|
|
|
aspell-id \
|
|
|
|
aspell-it \
|
|
|
|
aspell-kk \
|
|
|
|
aspell-ku \
|
|
|
|
aspell-lt \
|
|
|
|
aspell-lv \
|
|
|
|
aspell-nl \
|
|
|
|
aspell-no \
|
|
|
|
aspell-nr \
|
|
|
|
aspell-ns \
|
|
|
|
aspell-pa \
|
|
|
|
aspell-pl \
|
|
|
|
aspell-pt-br \
|
|
|
|
aspell-pt-pt \
|
|
|
|
aspell-ro \
|
|
|
|
aspell-ru \
|
|
|
|
aspell-sk \
|
|
|
|
aspell-sl \
|
|
|
|
aspell-st \
|
|
|
|
aspell-sv \
|
|
|
|
aspell-tl \
|
|
|
|
aspell-tn \
|
|
|
|
aspell-ts \
|
|
|
|
aspell-xh \
|
|
|
|
|
|
|
|
rm -rf /var/lib/apt/lists/*
|