[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47163] [PATCH] doc: Add snippet for running 'guix refresh' on insta
From: |
Xinglu Chen |
Subject: |
[bug#47163] [PATCH] doc: Add snippet for running 'guix refresh' on installed packages |
Date: |
Tue, 16 Mar 2021 17:19:02 +0100 |
* doc/guix.texi (Invoking guix refresh): Add snippet that runs 'guix refresh'
on all the packages installed in the current profile.
---
doc/guix.texi | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/doc/guix.texi b/doc/guix.texi
index 3e7ffc81bc..752dce9072 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -11722,6 +11722,16 @@
@code{idutils} packages. The @option{--select} option would have no
effect in this case.
+You can also quickly update all the packages installed in the current
+profile with the following snippet:
+
+@example
+$ guix refresh -u $(guix package --list-installed | cut -f1)
+@end example
+
+This is handy if you don't use manifests for installing packages into
+your profile.
+
When considering whether to upgrade a package, it is sometimes
convenient to know which packages would be affected by the upgrade and
should be checked for compatibility. For this the following option may
base-commit: 266d55dc3080475544bf45e72359c9b9bbcecd53
--
2.30.2
- [bug#47163] [PATCH] refresh: Add '--installed' option., (continued)
- [bug#47163] [PATCH] refresh: Add '--installed' option., Xinglu Chen, 2021/03/16
- [bug#47163] Using package transformations declaratively (was: [bug#47163] [PATCH] refresh: Add '--installed' option.), Xinglu Chen, 2021/03/16
- [bug#47163] Using package transformations declaratively (was: [bug#47163] [PATCH] refresh: Add '--installed' option.), zimoun, 2021/03/16
- [bug#47163] Using package transformations declaratively (was: [bug#47163] [PATCH] refresh: Add '--installed' option.), Xinglu Chen, 2021/03/16
- [bug#47163] Using package transformations declaratively, Ludovic Courtès, 2021/03/17
[bug#47163] [PATCH] doc: Add snippet for running 'guix refresh' on installed packages,
Xinglu Chen <=
[bug#47213] [PATCH v2] doc: Add snippet for running 'guix refresh' on installed, Xinglu Chen, 2021/03/17
bug#47163: [PATCH] refresh: Add '--installed' option., Xinglu Chen, 2021/03/26