SoftCreatR / imei

IMEI - ImageMagick Easy Install
ISC License
309 stars 36 forks source link

Libraqm Errors on Xenial Install #21

Closed fangar closed 3 years ago

fangar commented 3 years ago

I attempted to install the script on xenial and ran into some issues with libraqm-dev and libraqm0 not being available and the script fails. Is there a workaround for this or is IM on Xenial a no-go at this point?

################################################
 Welcome to IMEI - ImageMagick Easy Install 6.0.2
 ################################################

 Detected OS     : Ubuntu 16.04.7 LTS
 Detected Arch   : x86_64
 Detected Cores  : 16

 Used web client : curl

 Work Dir        : /usr/local/src/imei
 Build Dir       : /usr/local
 Log File        : /var/log/imei.log

 Force Build     : no
 CI Build        : no
 Signature Check : yes

 #####################
 Installation Process
 #####################

 Installing dependencies       [FAILURE]

Please check /var/log/imei.log for details.

I checked the logs and had this:

cat /var/log/imei.log
Verified OK
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
Reading package lists...
Building dependency tree...
Reading state information...
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
E: Unable to locate package libraqm-dev
E: Unable to locate package libraqm0
fangar commented 3 years ago

I kept plugging away at dependency errors and have it down to one that I don't know to do with. I would search on apt-browse.org for the latest version number or the log file would give it to me. I would then look for PPA on launchpad that had the correct version. I think I added 3 altogether.

But currently it is telling me that libgs-dev and libpng12-0-dev are the problem. But it seems to me that they are currently installed with the latest version available.

libpng12-dev is already the newest version (1.2.54-1ubuntu1.1)
libgs-dev is already the newest version (9.26~dfsg+0-0ubuntu0.16.04.14)

The three PPA's that I added:

sudo add-apt-repository ppa:litenstein/libicu60-xenial
sudo add-apt-repository ppa:savoury1/fonts
sudo add-apt-repository ppa:savoury1/gtk-xenial

Is this a situation where I am just not going to get it to work on an EOL OS?

cat /var/log/imei.log
Verified OK
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
Reading package lists...
Building dependency tree...
Reading state information...
g++ is already the newest version (4:5.3.1-1ubuntu1).
g++ set to manually installed.
libjpeg-dev is already the newest version (8c-2ubuntu8).
libjpeg-dev set to manually installed.
make is already the newest version (4.1-6).
make set to manually installed.
pkg-config is already the newest version (0.29.1-0ubuntu1).
yasm is already the newest version (1.3.0-2).
ghostscript is already the newest version (9.26~dfsg+0-0ubuntu0.16.04.14).
ghostscript set to manually installed.
libbrotli-dev is already the newest version (1.0.3-1ubuntu1~16.04.2).
libbrotli-dev set to manually installed.
libgs-dev is already the newest version (9.26~dfsg+0-0ubuntu0.16.04.14).
libtiff5-dev is already the newest version (4.0.6-1ubuntu0.8).
libtiff5-dev set to manually installed.
perl is already the newest version (5.22.1-9ubuntu0.9).
perl set to manually installed.
ffmpeg is already the newest version (7:2.8.17-0ubuntu0.1).
libraqm0 is already the newest version (0.7.0-4~16.04.sav0).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgs-dev : Depends: libpng12-0-dev
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/imei.list:1
E: Unable to correct problems, you have held broken packages
SoftCreatR commented 3 years ago

I'll try to fix that.

SoftCreatR commented 3 years ago

Made it work on a fresh Xenial installation (without aom/libheif or JXL because of the low cmake version) using the latest IMEI version.