Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on linux Mint 18.3 & Ubuntu 16.04.3 #22

Open
Bryantdl7 opened this issue Feb 23, 2018 · 3 comments
Open

Error on linux Mint 18.3 & Ubuntu 16.04.3 #22

Bryantdl7 opened this issue Feb 23, 2018 · 3 comments

Comments

@Bryantdl7
Copy link

Here's the error I get. I have followed all steps to install this on ubuntu, which is what Linux Mint is based off of. Any ideas?

bryantdl7@bryantdl7-Precision-M4600 ~ $ sudo apt-get install shticker-book-rewritten
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
shticker-book-rewritten : Depends: libqt5core5a (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed
Depends: libqt5gui5 (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed or
libqt5gui5-gles (>= 5.7.0) but it is not going to be installed
Depends: libqt5webkit5 (>= 5.6.0~rc) but 5.5.1+dfsg-2ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

@1fyme
Copy link

1fyme commented Feb 24, 2018

Though Linux Mint is based on Ubuntu, the versions of the packages that shticker-book-rewritten needs are different.

Certain, if not all, Qt packages available for your system are of version 5.5.1, but version 5.7.0 or newer are needed.

@Bryantdl7
Copy link
Author

Bryantdl7 commented Feb 26, 2018 via email

@Bryantdl7
Copy link
Author

Bryantdl7 commented Feb 26, 2018

On Ubuntu 16.04.3 with all latest updates installed I am getting the error as well.

The following packages have unmet dependencies:
shticker-book-rewritten : Depends: libqt5core5a (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed
Depends: libqt5gui5 (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed or
libqt5gui5-gles (>= 5.7.0) but it is not going to be installed
Depends: libqt5webkit5 (>= 5.6.0~rc) but 5.5.1+dfsg-2ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

I have done all prep work as instructed on the main github page, here is the output from running those commands in ubuntu 16.04.3

==============================================

bryantdl7@bryantdl7-Precision-M4600:~$ sudo apt-get install shticker-book-rewritten
[sudo] password for bryantdl7:
Reading package lists... Done
Building dependency tree
Reading state information... Done
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:
shticker-book-rewritten : Depends: libqt5core5a (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed
Depends: libqt5gui5 (>= 5.7.0) but 5.5.1+dfsg-16ubuntu7.5 is to be installed or
libqt5gui5-gles (>= 5.7.0) but it is not going to be installed
Depends: libqt5webkit5 (>= 5.6.0rc) but 5.5.1+dfsg-2ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
bryantdl7@bryantdl7-Precision-M4600:
$ sudo apt-get install qt5-qmake build-essential libbz2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
libbz2-dev is already the newest version (1.0.6-8).
qt5-qmake is already the newest version (5.5.1+dfsg-16ubuntu7.5).
The following package was automatically installed and is no longer required:
libllvm4.0
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
bryantdl7@bryantdl7-Precision-M4600:$ export QT_SELECT=qt5
bryantdl7@bryantdl7-Precision-M4600:
$ qmake
Usage: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
be built,
defaults to *; *; *; *.ts; *.xlf; *.qrc
Note: The created .pro file probably will
need to be edited. For example add the QT variable to
specify what modules are required.
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory

Warnings Options:
-Wnone Turn off all warnings; specific ones may be re-enabled by
later -W options
-Wall Turn on all warnings
-Wparser Turn on parser warnings
-Wlogic Turn on logic warnings (on by default)
-Wdeprecated Turn on deprecation warnings (on by default)

Options:

  • You can place any variable assignment in options and it will be *
  • processed as if it was in [files]. These assignments will be parsed *
  • before [files]. *
    -o file Write output to file
    -d Increase debug level
    -t templ Overrides TEMPLATE as templ
    -tp prefix Overrides TEMPLATE so that prefix is prefixed into the value
    -help This help
    -v Version information
    -after All variable assignments after this will be
    parsed after [files]
    -norecursive Don't do a recursive search
    -recursive Do a recursive search
    -set Set persistent property
    -unset Unset persistent property
    -query Query persistent property. Show all if is empty.
    -cache file Use file as cache [makefile mode only]
    -spec spec Use spec as QMAKESPEC [makefile mode only]
    -nocache Don't use a cache file [makefile mode only]
    -nodepend Don't generate dependencies [makefile mode only]
    -nomoc Don't generate moc targets [makefile mode only]
    -nopwd Don't look for files in pwd [project mode only]
    bryantdl7@bryantdl7-Precision-M4600:$ make
    make: *** No targets specified and no makefile found. Stop.
    bryantdl7@bryantdl7-Precision-M4600:
    $ sudo make install
    make: *** No rule to make target 'install'. Stop.
    bryantdl7@bryantdl7-Precision-M4600:~$

======================================================

@Bryantdl7 Bryantdl7 changed the title Error on linux Mint 18.3 Error on linux Mint 18.3 & Ubuntu 16.04.3 Feb 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants