View previous topic :: View next topic |
Author |
Message |
Crazor Tux's lil' helper
Joined: 23 Apr 2003 Posts: 131
|
Posted: Wed May 12, 2004 11:12 am Post subject: openoffice-ximian-bin-1.1.52 dependency problem |
|
|
Hi there,
I added app-office/openoffice-ximian-bin ~x86 to /etc/portage/package.keywords.
But emerge -ka openoffice-ximian-bin gives
Code: | These are the packages that I would merge, in order:
Calculating dependencies
!!! Problem in app-office/openoffice-ximian-bin dependencies.
!!! "Specific key requires an operator (app-office/openoffice-ximian-bin-1.1.52) (try adding an '=')" |
Very unspecific error, I think.
Looked at the dependencies in the ebuild file, but I don't know enough about ebuilds.
Any help would be appreciated. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Wed May 12, 2004 2:11 pm Post subject: |
|
|
That is a binary package by itself. You don't need the -k option. Try Code: | emerge -a openoffice-ximian-bin |
_________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
Crazor Tux's lil' helper
Joined: 23 Apr 2003 Posts: 131
|
Posted: Wed May 12, 2004 3:28 pm Post subject: |
|
|
agree, -k is unnecessary.
but -a, -p or no parameter all give the same =/
I just always state -ka, cause I use binary packages. But that cannot be the problem, because there exists no binary package.
FYI, portage can create a binary package of a -bin ebuild. It just takes the contents of the downloaded file, unpacks it in an image dir and tbz2's it again for storage in /usr/portage/packages. This should not affect the behaviour of -bin packages, although it doesn't do much useful besides wasting space =) |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Wed May 12, 2004 3:36 pm Post subject: |
|
|
Well, I can't reproduce the error. If you didn't put also the version number in /etc/portage/package.keywords it may be an error in your copy of the ebuild. How does the RDEPEND section of the ebuild look? _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
langthang Retired Dev
Joined: 27 Nov 2003 Posts: 620
|
Posted: Wed May 12, 2004 3:41 pm Post subject: |
|
|
I can't reproduce either using portage-2.0.50-r6. |
|
Back to top |
|
|
robmoss Retired Dev
Joined: 27 May 2003 Posts: 2634 Location: Jesus College, Oxford
|
Posted: Wed May 12, 2004 4:07 pm Post subject: |
|
|
Lemme guess: in /etc/portage/package.keywords, you've got:
Code: | app-office/openoffice-ximian-bin-1.1.52 ~x86 |
instead of:
Code: | =app-office/openoffice-ximian-bin-1.1.52 ~x86 |
Personally, I would have (if I used it):
Code: | app-office/openoffice-ximian-bin ~x86 |
You can't use a specific key (i.e., -1.1.52) without an operator (such as >, <, >=, <=, =, ~ etc.) _________________ Reality is for those who can't face Science Fiction.
emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts |
|
Back to top |
|
|
Crazor Tux's lil' helper
Joined: 23 Apr 2003 Posts: 131
|
Posted: Wed May 12, 2004 9:05 pm Post subject: |
|
|
Thanks, robmoss, you were right, I had the version in package.keywords... Even though I looked at the file before I posted, I didn't notice the error. And I had the right entry in my post, didn't I? =) |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|