2017-11-19 18:42:47 +00:00
|
|
|
#!/bin/bash
|
2017-11-19 20:44:52 +00:00
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
# drags in stock desktop dependencies without too much from testing below
|
|
|
|
apt -y install calibre-bin dirmngr
|
2017-11-19 18:42:47 +00:00
|
|
|
|
2017-11-19 20:44:52 +00:00
|
|
|
# updates calibre-bin to version 3.10 from testing
|
2017-11-19 18:42:47 +00:00
|
|
|
apt-key adv --recv-key --keyserver keyserver.ubuntu.com 7638D0442B90D010
|
|
|
|
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-19 18:42:47 +00:00
|
|
|
rm /etc/apt/sources.list.d/debian-testing.list
|
|
|
|
|
2017-11-19 20:44:52 +00:00
|
|
|
# updates to calibre & calibre-bin to 3.12 from unstable
|
2017-11-19 18:42:47 +00:00
|
|
|
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/debian-unstable.list
|
2017-11-19 20:44:52 +00:00
|
|
|
apt update
|
|
|
|
apt -y install calibre
|
2017-11-19 18:42:47 +00:00
|
|
|
rm /etc/apt/sources.list.d/debian-unstable.list
|
|
|
|
|
2017-11-19 20:44:52 +00:00
|
|
|
# clears the cache of testing and unstable
|
|
|
|
apt update
|