2017-11-19 18:42:47 +00:00
|
|
|
#!/bin/bash
|
2017-11-20 14:56:20 +00:00
|
|
|
|
2017-11-20 14:58:55 +00:00
|
|
|
# Thanks to Jerry Vonau (https://github.com/jvonau) who made
|
2018-04-06 23:03:38 +00:00
|
|
|
# this critical breakthrough for Calibre 3.x possible!
|
|
|
|
# The latest available is 3.20 available from testing
|
|
|
|
# https://packages.debian.org/search?keywords=calibre
|
|
|
|
# (SEE http://deb.debian.org/debian/pool/main/c/calibre/ ?)
|
|
|
|
# might break future updates, you have been warned
|
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
|
2017-11-19 20:44:52 +00:00
|
|
|
apt -y install calibre-bin dirmngr
|
2018-04-06 23:03:38 +00:00
|
|
|
# Updates calibre calibre-bin to version 3.20 or ... 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
|
2017-11-19 21:05:28 +00:00
|
|
|
apt -y install libqt5core5a python-lxml calibre
|
2017-11-20 08:53:27 +00:00
|
|
|
# Remove last line, safer than: rm /etc/apt/sources.list.d/debian-testing.list
|
|
|
|
sed -i '$ d' /etc/apt/sources.list.d/debian-testing.list
|
2017-11-19 20:44:52 +00:00
|
|
|
apt update
|