mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			30 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable file
		
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| # Calibre 3.29 requires this approach, to overcome error:
 | |
| #
 | |
| #    calibre-bin : Depends: qtbase-abi-5-10-0 but it is not installable
 | |
| #   E: Unable to correct problems, you have held broken packages.
 | |
| #
 | |
| # Above error proved insurmountable when trying most all scripts in /opt/iiab/iiab/scripts -- even those that DID solve this error:
 | |
| #
 | |
| #    calibre : Depends: python-pyqt5 (>= 5.11.2+dfsg-1+b1)
 | |
| 
 | |
| # Thanks to Jerry Vonau (https://github.com/jvonau) who made this critical
 | |
| # breakthrough possible!
 | |
| #
 | |
| # Might break future updates; you have been warned.
 | |
| # SEE NOTES AT TOP OF scripts/calibre-install-packages.sh
 | |
| 
 | |
| export DEBIAN_FRONTEND=noninteractive
 | |
| # Drags in stock desktop dependencies without too much from testing below
 | |
| apt -y install dirmngr
 | |
| # Prepares to update to latest from debian 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 calibre-bin
 | |
| apt -y install calibre calibre-bin
 | |
| #sed -i '$ d' /etc/apt/sources.list.d/debian-testing.list    # Removes last line
 | |
| rm /etc/apt/sources.list.d/debian-testing.list
 | |
| # Clears the cache of debian/testing
 | |
| apt update
 |