Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Volker Armin Hemmann
On Thursday 25 September 2008, Thomas Kahle wrote:
 Hi,

 ~  Then, revdep-rebuild display like this.

 | [ebuild   R   ] media-libs/tiff-3.8.2-r5
 | [ebuild   R   ] media-gfx/imagemagick-6.4.3.5
 | [ebuild   R   ] media-libs/lcms-1.17
 | [ebuild U ] media-libs/vigra-1.6.0 [1.5.0-r1]
 | [ebuild   R   ] net-print/cups-1.3.8-r1
 | [ebuild   R   ] x11-libs/gtk+-2.12.12
 | [ebuild   R   ] app-text/ghostscript-gpl-8.63
 | [ebuild   R   ] app-text/evince-2.22.2-r1
 | [ebuild   R   ] media-gfx/gthumb-2.10.9

 ~  But there is no vigra in result of emerge -p --update world(with

 | --deep also).
 | Of course, it still shows flag U if I do emerge -p vigra
 |
 | What is difference with emerge --update world and emerge vigra?
 | And how can I update all new package without exceptions?

 I am also curious to know why portage just forgets to update certain
 packages. What I used to do to find them is a plain
 eix -I | grep \[U\]
 which just greps for the pattern [U] marking an upgradeable package.
 Then you can format this list and run
 emerge -1 `insert packagelist here`
 The -1 is important to not register these packages in your world file,
 which you probably don't wont for some package that only is a dependency.

 Still, I would like to know how this happens...

 hth
 Tom

a) dependencies are not listed in world.

b) an 'orphaned' dependency wouldn't get caught with --deep.



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Alan McKinnon
On Thursday 25 September 2008 06:05:20 SOrCErEr wrote:
 As you can see, there is a package vigra with flag U.
 As I know, U is need to update, and if I do emerge --update world, it will
 be update.

 But there is no vigra in result of emerge -p --update world(with --deep
 also).
 Of course, it still shows flag U if I do emerge -p vigra

 What is difference with emerge --update world and emerge vigra?
 And how can I update all new package without exceptions?

try using --with-bdeps=y

Ref: man emerge

The difference is that some dependant packages are only required to *build* 
something else, not to *run* it. So, the dependant package is only remerged 
when the package is depends on is itself rebuilt. --with-bdeps=y removes this 
exception

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread SOrCErEr
$  eix -l|grep \[U\]
[U] app-arch/rpm2targz
[U] app-editors/gedit
[U] app-text/build-docbook-catalog
[U] app-text/docbook-xml-dtd
[U] app-text/docbook-xsl-stylesheets
[U] app-text/libspectre
[U] dev-lang/python
[U] dev-lang/swig
[U] dev-libs/libcdio
[U] dev-perl/Compress-Raw-Zlib
[U] dev-perl/Compress-Zlib
[U] dev-perl/IO-Compress-Base
[U] dev-perl/IO-Compress-Zlib
[U] dev-python/pyopengl
[U] dev-util/cmake
[U] gnome-base/gdm
[U] gnome-extra/gnome-system-monitor
[U] gnome-extra/gtkhtml
[U] gnome-extra/yelp
[U] media-gfx/eog
[U] media-libs/musicbrainz
[U] media-libs/swfdec
[U] media-libs/vigra
[U] media-sound/cdparanoia
[U] media-sound/sound-juicer
[U] media-video/ffmpeg
[U] net-analyzer/traceroute
[U] net-libs/gtk-vnc
[U] net-misc/whois
[U] sys-apps/ed
[U] sys-libs/db
[U] sys-libs/gpm
[U] www-client/epiphany
[U] x11-libs/gtksourceview


$ emerge -p --update --deep --with-bdeps=y world
...
[ebuild U ] app-text/build-docbook-catalog-1.4 [1.2]
[ebuild U ] app-arch/rpm2targz-9.0.0.3g [9.0-r7]
[ebuild U ] dev-perl/Compress-Raw-Zlib-2.015 [2.012] USE=-test%
[ebuild U ] dev-perl/IO-Compress-Base-2.015 [2.012] USE=-test%
[ebuild U ] dev-perl/IO-Compress-Zlib-2.015 [2.012] USE=-test%
[ebuild U ] dev-perl/Compress-Zlib-2.015 [2.012] USE=-test%
[ebuild U ] sys-apps/ed-1.0 [0.9]
[ebuild U ] app-text/docbook-xsl-stylesheets-1.74.0 [1.73.2]
[ebuild  N] dev-libs/xmlrpc-c-1.14.07-r1  USE=curl cxx
[ebuild U ] dev-util/cmake-2.6.1 [2.4.6-r1] USE=-qt4%
[ebuild U ] dev-lang/swig-1.3.36 [1.3.34] USE=-octave%


As you can see, result of eix has vigra, but of emerge still doesn't have.
Also, many of flag U package is excepted from emerge --update.

If so, I think Gentoo's world is not whole world.

Package was installed and it needs to be update. But it's not in world.
So... I don't know.
It's very... odd.




2008/9/25 Alan McKinnon [EMAIL PROTECTED]

 On Thursday 25 September 2008 06:05:20 SOrCErEr wrote:
  As you can see, there is a package vigra with flag U.
  As I know, U is need to update, and if I do emerge --update world, it
 will
  be update.
 
  But there is no vigra in result of emerge -p --update world(with
 --deep
  also).
  Of course, it still shows flag U if I do emerge -p vigra
 
  What is difference with emerge --update world and emerge vigra?
  And how can I update all new package without exceptions?

 try using --with-bdeps=y

 Ref: man emerge

 The difference is that some dependant packages are only required to *build*
 something else, not to *run* it. So, the dependant package is only remerged
 when the package is depends on is itself rebuilt. --with-bdeps=y removes
 this
 exception

 --
 alan dot mckinnon at gmail dot com




Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Vladimir Rusinov
On Thu, Sep 25, 2008 at 1:54 PM, SOrCErEr [EMAIL PROTECTED] wrote:

 $  eix -l|grep \[U\]
 [U] app-arch/rpm2targz
 [U] app-editors/gedit
 [U] app-text/build-docbook-catalog
 [U] app-text/docbook-xml-dtd
 [U] app-text/docbook-xsl-stylesheets
 [U] app-text/libspectre
 [U] dev-lang/python
 [U] dev-lang/swig
 [U] dev-libs/libcdio
 [U] dev-perl/Compress-Raw-Zlib
 [U] dev-perl/Compress-Zlib
 [U] dev-perl/IO-Compress-Base
 [U] dev-perl/IO-Compress-Zlib
 [U] dev-python/pyopengl
 [U] dev-util/cmake
 [U] gnome-base/gdm
 [U] gnome-extra/gnome-system-monitor
 [U] gnome-extra/gtkhtml
 [U] gnome-extra/yelp
 [U] media-gfx/eog
 [U] media-libs/musicbrainz
 [U] media-libs/swfdec
 [U] media-libs/vigra
 [U] media-sound/cdparanoia
 [U] media-sound/sound-juicer
 [U] media-video/ffmpeg
 [U] net-analyzer/traceroute
 [U] net-libs/gtk-vnc
 [U] net-misc/whois
 [U] sys-apps/ed
 [U] sys-libs/db
 [U] sys-libs/gpm
 [U] www-client/epiphany
 [U] x11-libs/gtksourceview


 $ emerge -p --update --deep --with-bdeps=y world
 ...
 [ebuild U ] app-text/build-docbook-catalog-1.4 [1.2]
 [ebuild U ] app-arch/rpm2targz-9.0.0.3g [9.0-r7]
 [ebuild U ] dev-perl/Compress-Raw-Zlib-2.015 [2.012] USE=-test%
 [ebuild U ] dev-perl/IO-Compress-Base-2.015 [2.012] USE=-test%
 [ebuild U ] dev-perl/IO-Compress-Zlib-2.015 [2.012] USE=-test%
 [ebuild U ] dev-perl/Compress-Zlib-2.015 [2.012] USE=-test%
 [ebuild U ] sys-apps/ed-1.0 [0.9]
 [ebuild U ] app-text/docbook-xsl-stylesheets-1.74.0 [1.73.2]
 [ebuild  N] dev-libs/xmlrpc-c-1.14.07-r1  USE=curl cxx
 [ebuild U ] dev-util/cmake-2.6.1 [2.4.6-r1] USE=-qt4%
 [ebuild U ] dev-lang/swig-1.3.36 [1.3.34] USE=-octave%


 As you can see, result of eix has vigra, but of emerge still doesn't have.
 Also, many of flag U package is excepted from emerge --update.

 If so, I think Gentoo's world is not whole world.


Gentoo's world only contains packages you have installed manually (emerge
package). and without -1 option. Would does not contains packages that have
been installed as dependencies to other packages.
You could view /var/lib/portage/world to see what it contains.

If you really need vigra, it is a good idea to add it to world file: emerge
--noreplace vigra
Howewer, I don't recommend add any dependencies which you are no using
directly to world. It would make --depclean useless.

-- 
Vladimir Rusinov
http://greenmice.info/


Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Neil Bothwick
On Thu, 25 Sep 2008 18:54:06 +0900, SOrCErEr wrote:

 As you can see, result of eix has vigra, but of emerge still doesn't
 have. Also, many of flag U package is excepted from emerge --update.
 
 If so, I think Gentoo's world is not whole world.

No it's not. A world update affects only the packages you installed and
their dependencies.

 Package was installed and it needs to be update. But it's not in world.

Why does it need to update? Is your system not running correctly because
of this? I suspect you don't need vigra at all,that it was installed as a
dependency of a package you no longer have, or that no longer depends on
it. What does emerge --depclean -p show?


-- 
Neil Bothwick

Thou shalt not battle over operating systems. I am wise and in My wisdom
have created diverse and various operating systems.
  The Ten Usenet Commandments: One


signature.asc
Description: PGP signature


Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Alan McKinnon
On Thursday 25 September 2008 12:12:23 Vladimir Rusinov wrote:
 Gentoo's world only contains packages you have installed manually (emerge
 package). and without -1 option. Would does not contains packages that have
 been installed as dependencies to other packages.
 You could view /var/lib/portage/world to see what it contains.

 If you really need vigra, it is a good idea to add it to world file: emerge
 --noreplace vigra
 Howewer, I don't recommend add any dependencies which you are no using
 directly to world. It would make --depclean useless.

I think he understands that by now. His question is more like:

If eix tells me that an update to vigra is available, then why does emerge -uD 
world not pick it up?

sorcerer, what is your arch, and what is the outputs from 'eix -e vigra' 
and 'emerge -pv media-libs/vigra'

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Daniel Pielmeier
2008/9/25 SOrCErEr [EMAIL PROTECTED]:

 What is difference with emerge --update world and emerge vigra?
 And how can I update all new package without exceptions?

 If you know, please let me know.


When looking at the packages to be merged, I guess you are running
unstable gentoo. Which version of portage do you use. 2.2_rc9?
Many things have changed with portage-2.2. So I recommend reading the
documentation of portage first.

I am not using portage 2.2, but with stable portage the following
almost everytime helps to get a sane state:

emerge -uND --with-bdeps=y world
revdep-rebuild -i
emerge -p --depclean

Before you let depclean remove anything make sure you really don't
need it and you have run python-updater (there is something like this
for perl too which I don't recall at the moment).

Also make sure you have a clean world file, which means if there is an
entry which is already needed by something else it should normally be
removed as this could cause problems.



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Hilco Wijbenga
On Thu, Sep 25, 2008 at 03:27, Daniel Pielmeier
[EMAIL PROTECTED] wrote:
 Also make sure you have a clean world file, which means if there is an
 entry which is already needed by something else it should normally be
 removed as this could cause problems.

I can understand that if I have both package P and dependency D in
world, and I remove P then depclean will not remove D. I assume that's
not what you're talking about, though, as it's harmless and probably
intended (since I listed D in world).

Moreover, I would think this is quite common. You might have
Java/Perl/Python/Ruby/* explicitely listed in world (because you write
programs/scripts) and several packages that are either
Java/Perl/Python/Ruby/* based or provide bindings. I *want* to be
explicit here as I don't want Java/Perl/Python/Ruby/* removed should I
remove those other packages.

So what kind of problems are we talking about?



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread Alan McKinnon
On Thursday 25 September 2008 17:51:42 Hilco Wijbenga wrote:
 On Thu, Sep 25, 2008 at 03:27, Daniel Pielmeier

 [EMAIL PROTECTED] wrote:
  Also make sure you have a clean world file, which means if there is an
  entry which is already needed by something else it should normally be
  removed as this could cause problems.

 I can understand that if I have both package P and dependency D in
 world, and I remove P then depclean will not remove D. I assume that's
 not what you're talking about, though, as it's harmless and probably
 intended (since I listed D in world).

 Moreover, I would think this is quite common. You might have
 Java/Perl/Python/Ruby/* explicitely listed in world (because you write
 programs/scripts) and several packages that are either
 Java/Perl/Python/Ruby/* based or provide bindings. I *want* to be
 explicit here as I don't want Java/Perl/Python/Ruby/* removed should I
 remove those other packages.

 So what kind of problems are we talking about?

Most probably the problem that arises is when a mere dep cannot be removed 
by --depclean anymore because it is in world. It is a problem because of the 
unnecessary clutter it creates.

Also, sometimes deps come and go, and libs get split into two packages. Say 
you have libA which is a dep of some package Z. The dev sees that libA can 
benefit from USE flags in some way and this in turn benefits package Z. So 
libA gets split into libAa and libAb, both of which block the old libA. 
Package Z can install libAa or libAb or both depending on USE. If the user 
put the old libA in world (incorrectly), portage will not uninstall it to 
replace it with the new split libA. Instead it will display the blockers, 
which has to be resolved manually - and we all know how much mass hysteria 
and confusion blockers seem to cause amongst users...

This of course is the exact opposite of what you describe above

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-25 Thread SOrCErEr
2008/9/25 Alan McKinnon [EMAIL PROTECTED]

 On Thursday 25 September 2008 12:12:23 Vladimir Rusinov wrote:
  Gentoo's world only contains packages you have installed manually (emerge
  package). and without -1 option. Would does not contains packages that
 have
  been installed as dependencies to other packages.
  You could view /var/lib/portage/world to see what it contains.
 
  If you really need vigra, it is a good idea to add it to world file:
 emerge
  --noreplace vigra
  Howewer, I don't recommend add any dependencies which you are no using
  directly to world. It would make --depclean useless.

 I think he understands that by now. His question is more like:

 If eix tells me that an update to vigra is available, then why does emerge
 -uD
 world not pick it up?


Yeah
That's the point what I want to say.

Fortunately, I can be understand it while I'm reading this thread.

Package vigra does not need on my system. So world doesn't contain that.
And I need to do emerge --depclean to remove packages like vigra.

Keyworld was dependency. I could realize this If I did --depclean only one
time.

It's a good answers in this thread although question was stupid.
THANKS.




 sorcerer, what is your arch, and what is the outputs from 'eix -e vigra'
 and 'emerge -pv media-libs/vigra'

 --
 alan dot mckinnon at gmail dot com




-- 
SOrCErEr


[gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-24 Thread SOrCErEr
Hello~

Yesterday, I did update my gentoo like this.

$ sudo emerge --update --deep --newuse world

As a result, one of the updated package tiff said like this.
 * Messages for package media-libs/tiff-3.8.2-r5:

 * JBIG support is intended for Hylafax fax compression, so we
 * really need more feedback in other areas (most testing has
 * been done with fax).  Be sure to recompile anything linked
 * against tiff if you rebuild it with jbig support.

So I checked what package linked with libtiff(Actually, there is no need to
do this. I just want to know).

$ revdep-rebuild -p --library /usr/lib/libtiff.so.3

Then, revdep-rebuild display like this.
[ebuild   R   ] media-libs/tiff-3.8.2-r5
[ebuild   R   ] media-gfx/imagemagick-6.4.3.5
[ebuild   R   ] media-libs/lcms-1.17
[ebuild U ] media-libs/vigra-1.6.0 [1.5.0-r1]
[ebuild   R   ] net-print/cups-1.3.8-r1
[ebuild   R   ] x11-libs/gtk+-2.12.12
[ebuild   R   ] app-text/ghostscript-gpl-8.63
[ebuild   R   ] app-text/evince-2.22.2-r1
[ebuild   R   ] media-gfx/gthumb-2.10.9


As you can see, there is a package vigra with flag U.
As I know, U is need to update, and if I do emerge --update world, it will
be update.

But there is no vigra in result of emerge -p --update world(with --deep
also).
Of course, it still shows flag U if I do emerge -p vigra

What is difference with emerge --update world and emerge vigra?
And how can I update all new package without exceptions?

If you know, please let me know.


Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-24 Thread Thomas Kahle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

~  Then, revdep-rebuild display like this.
| [ebuild   R   ] media-libs/tiff-3.8.2-r5
| [ebuild   R   ] media-gfx/imagemagick-6.4.3.5
| [ebuild   R   ] media-libs/lcms-1.17
| [ebuild U ] media-libs/vigra-1.6.0 [1.5.0-r1]
| [ebuild   R   ] net-print/cups-1.3.8-r1
| [ebuild   R   ] x11-libs/gtk+-2.12.12
| [ebuild   R   ] app-text/ghostscript-gpl-8.63
| [ebuild   R   ] app-text/evince-2.22.2-r1
| [ebuild   R   ] media-gfx/gthumb-2.10.9
|
|
~  But there is no vigra in result of emerge -p --update world(with
| --deep also).
| Of course, it still shows flag U if I do emerge -p vigra
|
| What is difference with emerge --update world and emerge vigra?
| And how can I update all new package without exceptions?

I am also curious to know why portage just forgets to update certain
packages. What I used to do to find them is a plain
eix -I | grep \[U\]
which just greps for the pattern [U] marking an upgradeable package.
Then you can format this list and run
emerge -1 `insert packagelist here`
The -1 is important to not register these packages in your world file,
which you probably don't wont for some package that only is a dependency.

Still, I would like to know how this happens...

hth
Tom
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjbHhQACgkQrpEWPKIUt7MaBwCghPThHp8lCQbfQyvSG/UwaYN+
zgsAmgL3W8mcNfvjEJZxc+aUKTeNTLX1
=luJw
-END PGP SIGNATURE-



Re: [gentoo-user] Question about difference between emerge --update world and emerge vigra

2008-09-24 Thread Marc Joliet
Am Thu, 25 Sep 2008 13:05:20 +0900
schrieb SOrCErEr [EMAIL PROTECTED]:

 Hello~
 
 Yesterday, I did update my gentoo like this.
 
 $ sudo emerge --update --deep --newuse world
 
 As a result, one of the updated package tiff said like this.
  * Messages for package media-libs/tiff-3.8.2-r5:
 
  * JBIG support is intended for Hylafax fax compression, so we
  * really need more feedback in other areas (most testing has
  * been done with fax).  Be sure to recompile anything linked
  * against tiff if you rebuild it with jbig support.
 
 So I checked what package linked with libtiff(Actually, there is no need to
 do this. I just want to know).
 
 $ revdep-rebuild -p --library /usr/lib/libtiff.so.3
 
 Then, revdep-rebuild display like this.
 [ebuild   R   ] media-libs/tiff-3.8.2-r5
 [ebuild   R   ] media-gfx/imagemagick-6.4.3.5
 [ebuild   R   ] media-libs/lcms-1.17
 [ebuild U ] media-libs/vigra-1.6.0 [1.5.0-r1]
 [ebuild   R   ] net-print/cups-1.3.8-r1
 [ebuild   R   ] x11-libs/gtk+-2.12.12
 [ebuild   R   ] app-text/ghostscript-gpl-8.63
 [ebuild   R   ] app-text/evince-2.22.2-r1
 [ebuild   R   ] media-gfx/gthumb-2.10.9
 
 
 As you can see, there is a package vigra with flag U.
 As I know, U is need to update, and if I do emerge --update world, it will
 be update.
 
 But there is no vigra in result of emerge -p --update world(with --deep
 also).
 Of course, it still shows flag U if I do emerge -p vigra
 
 What is difference with emerge --update world and emerge vigra?
 And how can I update all new package without exceptions?
 
 If you know, please let me know.

I think it should show up with 

emerge -p --update [--deep] --with-bdeps=y world

if it's only a build-time dependency.

-- 
Marc Joliet
--
People who think they know everything really annoy those of us who
know we don't - Bjarne Stroustrup


signature.asc
Description: PGP signature