Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world update without dependencies?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Wed Nov 16, 2011 10:48 pm    Post subject: world update without dependencies? Reply with quote

I ever though, dependencies (i.e. a lib) of a packet from world will be updated by executing 'emerge world -uDN' when a new version is available and not masked for any reason.

Today I noticed that this isn't the case, at least not in my world. Can u pls enlighten me? Thx!
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Wed Nov 16, 2011 10:52 pm    Post subject: Reply with quote

build dependencies aren't if you don't enable with-bdep (can't remember the switch name, just look at help)
and runtime dependencies won't if the new library cannot be use by the current install program in your portage (a rare, but possible case).
Back to top
View user's profile Send private message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Wed Nov 16, 2011 11:08 pm    Post subject: Reply with quote

I thought so too and just noticed that eix is the problem. It doesn't reflect the actual world and it dependencies correctly.

What could be the reason for that?

eix-0.23.3 (updated and synced)
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Thu Nov 17, 2011 8:35 am    Post subject: Reply with quote

Maybe it's a typical issue: world doesn't actually mean "all installed packages". It means "packages in /var/lib/portage/world and their dependencies".

I wonder what's the output of "emerge --depclean --ask" on your system... You can add packages to your world file either manually or using emerge --noreplace.
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Thu Nov 17, 2011 12:45 pm    Post subject: Reply with quote

I know, I was just in question as I saw the output from eix -u, which is still wrong.
It actually claims that more than 20 packages (from world and pure deps) haven't been upgraded.

i.e.
Code:

seven catfish # eix app-emulation/spice -u
[U] app-emulation/spice
     Available versions:  0.8.1 ~0.8.2 ~0.8.2-r1 (~)0.10.0 {+client +gui sasl static static-libs}
     Installed versions:  0.8.1(00:56:43 11/17/11)(gui -static-libs) 0.10.0(01:06:50 11/17/11)(client gui sasl -static -static-libs)
     Homepage:            http://spice-space.org/
     Description:         SPICE server and client.

[U] app-emulation/spice-protocol
     Available versions:  0.8.1 (~)0.10.0
     Installed versions:  0.8.1(23:37:10 11/16/11) 0.10.0(01:06:21 11/17/11)
     Homepage:            http://spice-space.org/
     Description:         Headers defining the SPICE protocol.


seven catfish # e spice -s
Searching...   
[ Results for search key : spice ]
[ Applications found : 8 ]

*  app-emulation/spice
      Latest version available: 0.10.0
      Latest version installed: 0.10.0
      Size of files: 1,158 kB
      Homepage:      http://spice-space.org/
      Description:   SPICE server and client.
      License:       LGPL-2.1

*  app-emulation/spice-protocol
      Latest version available: 0.10.0
      Latest version installed: 0.10.0
      Size of files: 64 kB
      Homepage:      http://spice-space.org/
      Description:   Headers defining the SPICE protocol.
      License:       BSD



The eix version is use is a testing one. Maybe that's the cause - going to check that now.
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Thu Nov 17, 2011 12:48 pm    Post subject: Reply with quote

katfish wrote:
I know, I was just in question as I saw the output from eix -u, which is still wrong.
It actually claims that more than 20 packages (from world and pure deps) haven't been upgraded.


eix uses a different logic than emerge -uDNa world:

Code:

       -u, --upgrade, --upgrade+,  --upgrade-
              Only match packages which have at least one slotted version installed which is not the best version within that slot.  This  means
              usually that you should either upgrade or downgrade that package.

              However, the test takes also UPGRADE_TO_HIGHEST_SLOT (see below) into account.

              If  you use --upgrade+ or --upgrade-, then the test acts as if LOCAL_PORTAGE_CONFIG is true or false.  Otherwise, this decision is
              based upon UPGRADE_LOCAL_MODE.

              If you want to see only packages with downgrade recommendations, you might make use of the FORMATSTRING features described below.


Could you post the output of "emerge --depclean --pretend" on your system?
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
katfish
Tux's lil' helper
Tux's lil' helper


Joined: 14 Nov 2011
Posts: 147

PostPosted: Thu Nov 17, 2011 1:23 pm    Post subject: Reply with quote

edc (my alias for emerge --depclean -av) prints:

Packages installed: 1372
Packages in world: 425
Packages in system: 44
Required packages: 1337
Number to remove: 0

wiping eix's db and downgrading itself to current stable also didn't change anything related to my issue.
Back to top
View user's profile Send private message
phajdan.jr
Retired Dev
Retired Dev


Joined: 23 Mar 2006
Posts: 1777
Location: Poland

PostPosted: Thu Nov 17, 2011 1:36 pm    Post subject: Reply with quote

It may be either portage or eix bug then.
_________________
http://phajdan-jr.blogspot.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum