1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-07-19 05:19:40 +02:00

fix broken packages

This commit is contained in:
dbarzin 2023-03-05 15:01:44 +01:00
parent 97fcb14487
commit 41511081a4

View file

@ -77,6 +77,9 @@ chown -R $SUDO_USER kvrocks
#---------------------
su - $SUDO_USER -c "git clone https://github.com/pandora-analysis/pandora.git"
# fix broken packages
apt-get install --fix-broken -y
# install packages
apt install -y python3-dev # for compiling things
apt install -y libpango-1.0-0 libharfbuzz0b libpangoft2-1.0-0 # For HTML -> PDF
@ -86,6 +89,9 @@ apt install -y unrar # for extracting rar files
apt install -y libxml2-dev libxslt1-dev antiword unrtf poppler-utils pstotext tesseract-ocr flac ffmpeg lame libmad0 libsox-fmt-mp3 sox libjpeg-dev swig # for textract
apt install -y rsyslog cron # log logging
# autoremove old stuff
apt autoremove -y
# set .env
cd /home/$SUDO_USER/pandora
echo PANDORA_HOME="`pwd`" >> .env