You are not logged in.
Pages: 1
Hello,
I am using arch linux at the moment as my main OS for like a year or so. But I still find myself a newbie, since I do not now very well what is going on on my system. I am willing to learn more about arch, but time is always the problem... right? So I hope that some of you are willing to help me with this (probably) silly question.
I am trying to install q-gis, since I need it for my study program. First I tried to install qgis 2.18.4-1 , but there were some packages missing. This was a problem also reported in the comments, but I tried it a week ago and then this installation did not work. I do not remember the exact errors, but the long term release will do the job for me too.
error: target not found: sip<4.19.1
error: target not found: python2-sip<4.19.1
error: target not found: python-qscintilla-qt4-common<2.10
error: target not found: python2-qscintilla-qt4<2.10
error: target not found: qscintilla-qt4<2.10
Then I tried to install the ltr version; qgis-ltr 2.14.12-1. During the building of qtwebkit-2.3.4 it went wrong. After a while I got every time this error:
warning: suggest parentheses around operand of ‘!’ or change ‘&’ to ‘&&’ or ‘!’ to ‘~’ [-Wparentheses]
But that inside a lot of text. I do not know how to post what is in the terminal ( and I think it will not be very helpful since it is a lot of text and at a regular basis this error gets back ). Yesterday I waited 2.5 hours, because I read somewhere that it had something to do with running out of memory. But I have 10 gb RAM, so I will assume that that would be enough to install a package. At the same time I was on internet, but I do not think that that will have a big influence for running out of memory?
I have the feeling that it is stuck in a loop or something, but I find it very strange. Before I had qgis running on my laptop, but a month ago I did a clean install and now it is not possible to install the same package.
If there is a way to post the errors in a better way, or post log files or something, pleas tell me where to find the log fills that you may need to help me. As I say, I use linux for a while now, but I do not now the system well enough to determine which files are useful for you (and me).
Kind regards,
pepijntje02
Last edited by pepijntje02 (2017-03-21 22:48:01)
Offline
Look at the comments on the AUR page. You're not alone https://aur.archlinux.org/packages/qgis/
Apparently this seems to be the solution after downloading the right packages (I have not tried it)
sudo pacman -U '/var/cache/pacman/pkg/qscintilla-qt4-2.9.4-1-x86_64.pkg.tar.xz' '/var/cache/pacman/pkg/python2-qscintilla-qt4-2.9.4-1-x86_64.pkg.tar.xz' '/var/cache/pacman/pkg/python-qscintilla-qt4-common-2.9.4-1-x86_64.pkg.tar.xz' '/var/cache/pacman/pkg/sip-4.19-1-x86_64.pkg.tar.xz' '/var/cache/pacman/pkg/python2-sip-4.19-1-x86_64.pkg.tar.xz' Offline
Hello,
Thank you for your answer. I have tried that option, but that did not work for me. Sorry for not mention that, I was forgotten that I had tried it because it was a few days ago.
The error that I receive is that pacman could not find or read the package. Is it needed to download each package offline first of something?
I hope that you can tell me how I can also use this solution.
Kind regards,
pepijntje02
Offline
If you don't have the older packages in your pacman cache, you'd need to download them from the arch linux archive.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Hello,
Thank you very much for your help. I learned something new with the arch linux archive. This was very helpful!
Now I have q-gis running. I am left with two questions (about pacman) so I know what is done exactly.
First I downloaded the packages into the download folder. Then I installed the packages form there. Are those packages automatically copied to my pacman cache?
Second, to prevent for updating again I looked for a solution. This is what I found: IgnorePkg=linux from the ArchWiki. Is this a good idea to make sure the needed packages will not be updated? And when I want them to update (when it is not needed for qgis to use older packages) how can I remove them from the "black-list"? That I found not in the ArchWiki.
Kind regards,
pepijntje02
Offline
Why are you ignoring the linux package?
You need to ignore the packages you've just downgraded...
IgnorePkg=qscintilla-qt4 python2-qscintilla-qt4 python-qscintilla-qt4-common python2-sip sipWhen you no longer wish to ignore a package, just remove it from the list.
Bear in mind that while ignoring packages you are running an unsupported system, any issues you have you are on your own with.
Last edited by Slithery (2017-03-21 21:36:02)
Offline
First I downloaded the packages into the download folder. Then I installed the packages form there. Are those packages automatically copied to my pacman cache?
No
This is what I found: IgnorePkg=linux from the ArchWiki. Is this a good idea to make sure the needed packages will not be updated? And when I want them to update (when it is not needed for qgis to use older packages) how can I remove them from the "black-list"? That I found not in the ArchWiki.
IgnorePkg will prevent the packages from being updated. In general this is not a good idea as it can lead to partial upgrades
In this case the package is maintained by Doug Newgard <scimmia at archlinux dot info> the arch bug wrangler so this should have already been considered and you could upgrade sip/python2sip again after building the package as noted in the pinned comment on the package.
Remving the entries from the IgnorePKg line will allow the packages to be updated again.
Offline
Hello,
I did not ignoring the linux package, I copied the example from the wiki. I did not ignore any package before I had an answer to make sure if it was a smart thing to do.
I did not understand the last pinnend comment well, but now I understand that it is possible to upgrade after the installation. So I tried it, but then my update get an error.
:: qgis: installing qscintilla-qt4 (2.10-1) breaks dependency 'qscintilla-qt4<2.10'
:: qgis: installing python2-qscintilla-qt4 (2.10-1) breaks dependency 'python2-qscintilla-qt4<2.10'
:: qgis: installing python-qscintilla-qt4-common (2.10-1) breaks dependency 'python-qscintilla-qt4-common<2.10'
well that are the packages that I had to downgrade for the installation. On the internet I found the solution by ignoring those packages by hand, but then those packages will not be updated. According to the comment I thought that it is the aim to update all packages on the system after the installation of qgis. So do I have to ignore those packages until there is no dependency anymore? Or do I have to force an update? Or... is there some other solution that I do not know and some of you have experience with?
Kind regards,
pepijntje02
ps, I am very thankful for all your help, from the community. The main problem is solved, and I am glad that I am able to use qgis again!
Offline
error: target not found: sip<4.19.1
error: target not found: python2-sip<4.19.1
error: target not found: python-qscintilla-qt4-common<2.10
error: target not found: python2-qscintilla-qt4<2.10
error: target not found: qscintilla-qt4<2.10That is five packages listed in post #1
:: qgis: installing qscintilla-qt4 (2.10-1) breaks dependency 'qscintilla-qt4<2.10'
:: qgis: installing python2-qscintilla-qt4 (2.10-1) breaks dependency 'python2-qscintilla-qt4<2.10'
:: qgis: installing python-qscintilla-qt4-common (2.10-1) breaks dependency 'python-qscintilla-qt4-common<2.10'That is three packages listed in post #8 the two packages not generating dependency errors are sip and python2-sip which I assume you did downgrade in order to install qgis.
you could upgrade sip/python2sip again after building the package as noted in the pinned comment on the package
That seems to be consistent to me with what I wronte in post #7.
To exemplify from the PKGBUILD
depends=('expat' 'gcc-libs' 'gdal' 'geos' 'glibc' 'libspatialite' 'postgresql-libs' 'proj'
'qca-qt4' 'qscintilla-qt4<2.10' 'qt4' 'qwt' 'qwtpolar' 'spatialindex' 'sqlite'
'python2' 'python2-httplib2' 'python2-future' 'python2-qscintilla-qt4<2.10' 'python2-sip' 'python2-six' 'python-qscintilla-qt4-common<2.10')
makedepends=('cmake' 'gsl' 'perl' 'txt2tags' 'sip<4.19.1' 'python2-sip<4.19.1')'qscintilla-qt4<2.10' 'python2-qscintilla-qt4<2.10' 'python-qscintilla-qt4-common<2.10' all come from the depends array so those dependencies must be satisfied while building the package and while the package is installed.
'sip<4.19.1' 'python2-sip<4.19.1' come from the makedepends array those dependencies only need to be satisfied while the package is being built.
If the three packages generating dependency errors where put on ignore then the system should be able to perform an upgrade which should include the two makedpends.
Edit also please use code tags for command output https://bbs.archlinux.org/help.php#bbcode and please post the full output of a command plus also the command that generated it.
Edit2:
Off by one on counting the posts post #6 should be post #7 and post #7 should be post #8
Last edited by loqs (2017-03-21 22:50:49)
Offline
Thank you for the clarification.
Now I have updated my system, and I will do it this way until the dependencies change. Thank you for the explanation about the difference between depends and makedepends. When you say it this way, it sounds very logical!
Thank you all for your help, I am very pleased with the fast responses and that it is working so fast.
Offline
Pages: 1