Gentoo Archives: gentoo-user

From: Arve Barsnes <arve.barsnes@×××××.com>
To: Gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] what's the difference between the emerge options -u and -n?
Date: Sat, 28 Nov 2020 20:16:12
Message-Id: CAJjrzcWnG3LNzXunu=2zotAhXrCr-pZiknfCzerSvdp4f7EkLA@mail.gmail.com
In Reply to: [gentoo-user] what's the difference between the emerge options -u and -n? by n952162
1 On Sat, 28 Nov 2020 at 21:04, n952162 <n952162@×××.de> wrote:
2 >
3 > Assuming no "emerge --sync" has been done, e.g.
4 >
5 > I've been using -u to mean, "don't update if there's nothing new" (which
6 > I would actually think would be the default). Maybe that's wrong? -n
7 > is better?
8
9 In my book, there's only one reason to ever use -n, and that's if
10 you've installed a package with -1 (--oneshot), and want to add it to
11 your world file, so that it doesn't get depcleaned. Use -u for your
12 regular system updates.
13
14 Regards,
15 Arve