2017-11-19 18:42:47 +00:00
|
|
|
#!/bin/bash
|
2017-11-20 14:56:20 +00:00
|
|
|
|
2018-05-11 01:15:09 +00:00
|
|
|
# Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
|
|
|
|
# breakthrough possible!
|
|
|
|
#
|
2018-06-18 20:23:50 +00:00
|
|
|
# SEE COMMENTS AT THE TOP OF scripts/calibre-install-packages.sh
|
2017-11-20 14:56:20 +00:00
|
|
|
|
2017-11-19 20:44:52 +00:00
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
2017-11-20 08:53:27 +00:00
|
|
|
# Drags in stock desktop dependencies without too much from testing below
|
2018-05-11 05:29:31 +00:00
|
|
|
apt -y install dirmngr
|
2018-05-11 03:59:58 +00:00
|
|
|
# Prepares to update to latest from testing
|
2017-11-19 18:42:47 +00:00
|
|
|
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010
|
2017-11-20 08:53:27 +00:00
|
|
|
echo "deb http://deb.debian.org/debian testing main" >> /etc/apt/sources.list.d/debian-testing.list
|
2017-11-19 20:44:52 +00:00
|
|
|
apt update
|
2018-05-11 05:29:31 +00:00
|
|
|
apt -y install libqt5core5a python-lxml calibre calibre-bin
|
2018-05-11 03:59:58 +00:00
|
|
|
# Removes last line, safer than: rm /etc/apt/sources.list.d/debian-testing.list
|
2017-11-20 08:53:27 +00:00
|
|
|
sed -i '$ d' /etc/apt/sources.list.d/debian-testing.list
|
2018-05-11 01:32:40 +00:00
|
|
|
# Clears the cache of testing
|
2017-11-19 20:44:52 +00:00
|
|
|
apt update
|