public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Dale <rdalek1967@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge --update - why doesn't it update my kde packages
Date: Tue, 04 May 2010 14:41:40 -0500	[thread overview]
Message-ID: <4BE07874.3090808@gmail.com> (raw)
In-Reply-To: <4BE041D5.6080903@konstantinhansen.de>

KH wrote:
> Am 04.05.2010 16:59, schrieb David W Noon:
>> On Tue, 04 May 2010 11:00:01 +0200, Helmut Jarausch wrote about
>> [gentoo-user] emerge --update - why doesn't it update my kde packages:
>>
>> [snip]
>>> Still, eix confirmed there were quite a lot of kde packages which have
>>> newer versions, and indeed,
>>> emerge -auv1 -j4 --keep-going  $(qlist -IC kde-base/)
>>> upgraded 24 packages.
>>>
>>> Where does this discrepancy come from?
>>
>> I think Portage does not consider packages that are not in your world
>> file, if the update is on world (or system).
>>
>> To overcome this, I wrote a little script, called update_orphans.sh.
>> Here it is:
>>
>> <-------cut----------->  update_orphans.sh<----------cut------------->
>> #!/bin/sh
>>
>> eix -u | gawk '/^\[U\] / { print $2; }' | xargs -r emerge -v1uD
>>
>> exit $?
>> <-------cut-----------><--------cut------><----------cut------------->
>>
>> I run it immediately after the main emerge, when I have rsync'ed the
>> Portage tree.
>
> No. --with-bdeps is not default anymore because it is considered to be 
> a bug if portage updates packages not used in any way. This is only if 
> a package is needed for buildtime.
>
> Program A is version 1.5. To build it, it needs program B which at 
> this time is version 4.7
> B is not needed for anything else!
>
> Now there is an update to B-4.9 . Portage will not update B as long as 
> there is no update to A.
>
> B is not in the world file. It is not a runtime dependency nore is it 
> a orphan.
>
> kh
>
>

I have with-bdeps set in my make.conf so that it is enabled each time.  
I just ran the command given above and it found over 40 packages that 
need to be upgraded.  I'm not even going to claim that I understand all 
the chicken scratch in that command but apparently stuff needed to be 
upgraded on my system that was being missed.

It appears to do something good even if it is not related to the OPs 
problem.

Dale

:-)  :-)



  reply	other threads:[~2010-05-04 19:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <eGm8V-4DS-1@gated-at.bofh.it>
2010-05-04 14:59 ` [gentoo-user] emerge --update - why doesn't it update my kde packages David W Noon
2010-05-04 15:48   ` KH
2010-05-04 19:41     ` Dale [this message]
2010-05-04 20:02       ` KH
2010-05-04 23:10         ` Alex Schuster
2010-05-05  0:23           ` Dale
2010-05-04  8:57 Helmut Jarausch
2010-05-04  9:43 ` Bert Swart
2010-05-04 10:09   ` Helmut Jarausch
2010-05-04 10:17     ` Bert Swart
2010-05-04 10:29       ` KH
2010-05-04 13:16 ` Alex Schuster
2010-05-04 16:19 ` Paul Hartman
2010-05-04 16:29   ` KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE07874.3090808@gmail.com \
    --to=rdalek1967@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox