1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Calibre - split RPi from others to use raspbain's testing repo, split off unstable

This commit is contained in:
Jerry Vonau 2018-04-06 18:03:38 -05:00
parent 45ca0da8e6
commit fd2daca9c0
5 changed files with 55 additions and 20 deletions

View file

@ -0,0 +1,18 @@
#!/bin/bash
# Thanks to Jerry Vonau (https://github.com/jvonau) who made
# this critical breakthrough (Calibre 3.x on Raspbian) possible!
# The latest available is 3.20 available from testing
# https://packages.debian.org/search?keywords=calibre
# (SEE http://archive.raspbian.org/raspbian/pool/main/c/calibre/ ?)
# might break future updates, you have been warned
export DEBIAN_FRONTEND=noninteractive
# Updates calibre calibre-bin to version 3.20 or ... from testing
echo "deb http://raspbian.raspberrypi.org/raspbian/ testing main" > /etc/apt/sources.list.d/rpi-testing.list
apt update
apt -y install calibre calibre-bin
# Remove last line, safer than: rm /etc/apt/sources.list.d/debian-testing.list
sed -i '$ d' /etc/apt/sources.list.d/rpi-testing.list
# Clears the cache of testing
apt update

View file

@ -1,26 +1,20 @@
#!/bin/bash
# Thanks to Jerry Vonau (https://github.com/jvonau) who made
# this critical breakthrough (Calibre 3.x on Raspbian) possible!
# 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
export DEBIAN_FRONTEND=noninteractive
# Drags in stock desktop dependencies without too much from testing below
apt -y install calibre-bin dirmngr
# Updates calibre-bin to version 3.10 or 3.14 or ... from testing (SEE http://archive.raspbian.org/raspbian/pool/main/c/calibre/ ?)
# Updates calibre calibre-bin to version 3.20 or ... from testing
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
apt update
apt -y install libqt5core5a python-lxml calibre
# 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
# Updates to calibre & calibre-bin to "very latest" 3.x from unstable
echo "deb http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list.d/debian-unstable.list
apt update
apt -y install calibre
# Remove last line, safer than: rm /etc/apt/sources.list.d/debian-unstable.list
sed -i '$ d' /etc/apt/sources.list.d/debian-unstable.list
# Clears the cache of testing and unstable
apt update

View file

@ -0,0 +1,18 @@
#!/bin/bash
# Thanks to Jerry Vonau (https://github.com/jvonau) who made
# this critical breakthrough possible!
# might break future updates, you have been warned
# The latest available is 3.20 available from testing
# https://packages.debian.org/search?keywords=calibre
# might break future updates, you have been warned
export DEBIAN_FRONTEND=noninteractive
# Updates to calibre & calibre-bin to "very latest" 3.x from unstable
echo "deb http://deb.debian.org/debian unstable main" >> /etc/apt/sources.list.d/unstable.list
apt update
apt -y install calibre calibre-bin
# Remove last line, safer than: rm /etc/apt/sources.list.d/debian-unstable.list
sed -i '$ d' /etc/apt/sources.list.d/unstable.list
# Clears the cache of testing and unstable
apt update