From: Marius Mauch <genone@gentoo.org>
To: gentoo-portage-dev@gentoo.org
Subject: Re: [gentoo-portage-dev] if (world file) then {no add to world when update pkg}
Date: Thu, 11 Dec 2003 20:37:26 +0100 [thread overview]
Message-ID: <20031211203726.455748db.genone@gentoo.org> (raw)
In-Reply-To: <20031211194455.18c966bf.psycho@rift.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 2110 bytes --]
On 12/11/03 Patrick Börjesson wrote:
> I just thought that if portage-ng is to rely on a world file just as
> current portage, then one idea would be to not add the packages you
> update manually with 'emerge -u <package name>' to it.
> There was a thread in gentoo-user today which took up this matter when
> someone asked for a way to update all the packages currently installed
> on his machine. One method is to run 'emerge -Du `qpkg -I -nc`', but
> as someone pointed out, this would add every single package you have
> on your system to your world file (which I guess nobody wants) if you
> didn't supply the --oneshot flag to emerge. I propose that the default
> behaviour for portage-ng would be to check whether the package you're
> trying to update is already installed on the system, else do nothing.
> And if it's installed it shouldn't add the package to world after the
> merging is completed (which it currently does).
> Would there be some negative sides of doing it this way? And if not,
> why is this not default behaviour in current portage?
> Feedback (in all its forms) appreciated.
Maybe it's just me, but I find this logic weird: you basically say that
you care about the versions of all packages, but not their existence.
The qpkg hack is nowhere mentioned in the docs, so it's up to the people
to add the --oneshot parameter if they don't want the packages in their
world file. Also I'd really discourage people from using -u with other
targets than world or system, as in 90% of all cases it's doing more
then they want (updating dependencies even if it's not strictly
necessary).
What I want to say is that the world file lists the packages you care
about and I don't really see the reason why people are interested in
updating packages they don't care about (except for security bugs, but
that is another issue with a different solution).
Marius
--
Public Key at http://www.genone.de/info/gpg-key.pub
In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2003-12-11 20:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-11 18:44 [gentoo-portage-dev] if (world file) then {no add to world when update pkg} Patrick Börjesson
2003-12-11 19:37 ` Marius Mauch [this message]
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=20031211203726.455748db.genone@gentoo.org \
--to=genone@gentoo.org \
--cc=gentoo-portage-dev@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