View previous topic :: View next topic |
Author |
Message |
curmudgeon Veteran

Joined: 08 Aug 2003 Posts: 1639
|
Posted: Sun Jul 06, 2014 9:31 pm Post subject: more portage behavior I don't understand |
|
|
I recently did emerge -DN system, and afterwards decided to check it with emerge -ep system. One package was missed:
Code: |
$ emerge -DN system
These are the packages that would be merged, in order:
Calculating dependencies... done!
Total: 0 packages, Size of downloads: 0 kB
Nothing to merge; quitting.
$ emerge -p file
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/file-5.17 USE="zlib -python -static-libs" PYTHON_TARGETS="python3_3 (-python2_6) -python2_7 -python3_2 (-pypy2_0%)" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
$ grep sys-apps/file /usr/portage/profiles/base/packages
*sys-apps/file
|
File is indeed a "system" package. Why isn't it being picked up? |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 47118 Location: 56N 3W
|
Posted: Sun Jul 06, 2014 9:45 pm Post subject: |
|
|
curmudgeon,
means nothing has changed.
Its already built without pypy2_0 which is new and forced off, so there is no change to the installed binary. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6877
|
Posted: Sun Jul 06, 2014 9:47 pm Post subject: |
|
|
Because you asked portage to update packages with changed use flags and that one only changes the number of flags you don't have set. That's what the ()s mean. |
|
Back to top |
|
 |
curmudgeon Veteran

Joined: 08 Aug 2003 Posts: 1639
|
Posted: Mon Jul 07, 2014 3:37 am Post subject: |
|
|
This appears similar (but I do notice that in this case the "-pypy2_0%" has a star at the end. The difference is not clear to me (in practice, at least - I did look up that the asterisk means "transition to or from the enabled state", but I am not sure why there is an asterisk in the example below).
Code: |
$ emerge -DNp world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/python-exec-2.0.1-r1:2 PYTHON_TARGETS="(jython2_5) (jython2_7) (pypy) (python2_6) (python2_7) (python3_2) (python3_3) (-python3_4) (-pypy2_0%*)" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
|
|
|
Back to top |
|
 |
Ant P. Watchman

Joined: 18 Apr 2009 Posts: 6877
|
Posted: Mon Jul 07, 2014 6:07 pm Post subject: |
|
|
(-...%*) means a masked [(...)] flag changed state [*] to being unset [-] because it no longer exists [%] (presumably because that pypy flag replaces it). |
|
Back to top |
|
 |
Yamakuzure Advocate


Joined: 21 Jun 2006 Posts: 2277 Location: Bardowick, Germany
|
Posted: Tue Jul 08, 2014 10:41 am Post subject: |
|
|
A little hint: Code: | # man emerge
--verbose [ y | n ] (-v short option)
Tell emerge to run in verbose mode. Currently this flag causes emerge to
print out GNU info errors, if any, and to show the USE flags that will be used
for each package when pretending. The following symbols are affixed to USE
flags in order to indicate their status:
Symbol Location Meaning
──────────────────────────────────────────────────────────────
- prefix not enabled (either disabled or removed)
* suffix transition to or from the enabled state
% suffix newly added or removed
() circumfix forced, masked, or removed
{} circumfix state is bound to FEATURES settings | I know the man pages of portage, emerge and make.conf are huge, but reading them at least once briefly can save many hours of puzzlement.  _________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
 |
|