Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10105 - emerge doesn't accept versions?
Summary: emerge doesn't accept versions?
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 14813 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-11-02 12:59 UTC by Klaus Kusche
Modified: 2011-10-30 22:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2002-11-02 12:59:13 UTC
The emerge manpage says that packages can be specified including the version.
Hence, e.g. "emerge icewm-1.2.2-r1" is expected to work. However,
it causes "there are no masked or unmasked ebuilds to satisfy "icewm-1.2.2-r1"".
Doesn't work for any package, any version, no matter if masked or unmasked, no
matter if given with or without the package category.

Bug?
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-11-03 00:24:09 UTC
try emerge \=category/package-version-revision
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2002-11-09 05:08:10 UTC
It's in the docs under the dependancy section.
Comment 3 Klaus Kusche 2002-11-09 05:18:11 UTC
Which docs, where?

The emerge manpage says:
       emerge [options]  [action]  [ebuild  |  tbz2file | class |
              dependency] ...
and
       ebuild An ebuild must be, at a minimum,  a  valid  Portage
              package  directory  name without a version or cate-
              tory, such as portage or python.   Both  categories
              and  version  numbers may be used in addition, such
              as  sys-apps/portage  or  python-2.2.1-r2.   emerge
              ignores  a  trailing slash so that filename comple-
              tion can be used.  The ebuild may also be an actual
              filename,                  such                  as
              /usr/portage/app-admin/python/python-2.2.1-r2.ebuild.

Hence, something like
    emerge openoffice-1.0.1-r1
is definitely valid and expected to work according to the man page, but in
practice fails with
    emerge: there are no masked or unmasked ebuilds to satisfy                  
    "openoffice-1.0.1-r1".
(there is an ebuild "openoffice-1.0.1-r1"!).

Hence, either the man page or emerge is broken.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2002-11-10 03:17:08 UTC
Two paragraphs down.
The specific thing you are refering to is wrong, yes.
Fixed in CVS.
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-01-31 18:43:38 UTC
*** Bug 14813 has been marked as a duplicate of this bug. ***