[paludis-user] Why's that?

Dirk Heinrichs dirk.heinrichs.ext at nsn.com
Wed Aug 22 14:01:45 UTC 2007


Am Mittwoch, 22. August 2007 schrieb ext Bo Ørsted Andresen:
> On Wednesday 22 August 2007 14:08:06 Dirk Heinrichs wrote:
> > just stumbled accross this:
> >
> > # paludis -ip kaffeine
> > Building target list...
> > Building dependency list...
> > These packages will be installed:
> >
> > * media-libs/flac-1.1.4 {:0} [U 1.1.2-r8] -3dnow -debug doc ogg sse
> > * media-video/kaffeine-0.8.5 {:0} [N] arts -debug -dvb -encode
> > gstreamer kdehiddenvisibility vorbis -xcb -xinerama
> >
> > Total: 2 packages (1 new, 1 upgrade)
> >
> > # paludis -ip world
> > Building target list...
> > Building dependency list...
> > These packages will be installed:
> >
> > Total: 0 packages
> >
> > Why is flac not included in world update?
>
> Because nothing in world rdepends on it?

But flac is _installed_, so I want it updated. I now played with the 
various --dl*deps* options, some of them list a bunch of packages which 
need an update, but interestingly none lists flac.

> From what you've shown kaffeine isn't even installed.

Why does that matter?

# paludis -ip amarok
Building target list...
Building dependency list...

These packages will be installed:

* media-libs/flac-1.1.4 {:0} [U 1.1.2-r8] -3dnow -debug doc ogg sse
* media-sound/amarok-1.4.6-r1 {:0} [R] arts -daap -debug -ifp -ipod kde 
mp4 -mtp musicbrainz -mysql -njb -noamazon opengl postgres python 
real -visualization -xinerama 
linguas: -af -ar -az -be -bg -bn -br -ca -cs -cy -da 
de -el -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -he -hi -hu -id -is -it -ja -km -ko -ku -lo -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr at Latn -ss -sv -ta -tg -th -tr -uk -uz -zh_CN -zh_TW

Total: 2 packages (1 upgrade, 1 rebuild)


> Use `paludis --with-dependencies -up flac` for a 
> recursive list of what requires flac. Use `adjutrix -r flac -D
> /var/db/pkg` for a non-recursive list.

I don't even want to know. I want _all_ installed packages to be updated (if 
update available) when I do a world update (like emerge -D). Any idea how 
to achieve this?

I ended up using a somewhat complicated shell construct to find out which 
packages have updates:

paludis --no-colour --list-packages --repository installed|awk -F"/" '/*/ 
{print $NF}'|sort|while read PKG
do
  paludis -ip --no-colour $PKG
done 2>/dev/null |awk '/\[U/'|sort -u

Bye...

	Dirk
-- 
Dirk Heinrichs          | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: dirk.heinrichs at capgemini.com
Wanheimerstraße 68      | Web:  http://www.capgemini.com
D-40468 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20070822/0097458a/attachment.asc>


More information about the paludis-user mailing list