Skip to content

Commit 22108bc

Browse files
committed
state-mgmt: Make package and file names generic
Signed-off-by: Rune Morling <ermo@aerynos.com>
1 parent 5f8b132 commit 22108bc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/content/docs/Users/System Management/moss-state-management.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sudo moss sync --update
2525
Use keyword searches to discover software by name or summary.
2626

2727
```bash
28-
sudo moss search fractional
28+
sudo moss search something
2929
```
3030

3131
Add `--installed` (`-i`) if you only want to search software that is already present on the system.
@@ -36,7 +36,7 @@ Add `--installed` (`-i`) if you only want to search software that is already pre
3636
Look up which package delivered a specific file when you troubleshoot or audit an installation.
3737

3838
```bash
39-
sudo moss search-file libEGL.so
39+
sudo moss search-file filename
4040
```
4141

4242
`moss search-file` scans files from installed packages only.
@@ -53,7 +53,7 @@ sudo moss repo update
5353
2. Install one or more packages.
5454

5555
```bash
56-
sudo moss install howdy-git
56+
sudo moss install somepackage
5757
```
5858

5959
Moss creates a new state automatically. Confirm success with `moss state active`.
@@ -64,7 +64,7 @@ Moss creates a new state automatically. Confirm success with `moss state active`
6464
Uninstall packages you no longer need.
6565

6666
```bash
67-
sudo moss remove howdy-git
67+
sudo moss remove somepackage
6868
```
6969

7070
Moss snapshots the removal in a new state. Use `moss state list` to find the previous state if you have to recover.
@@ -170,13 +170,13 @@ If you would like to keep an archive of stones, moss supports a fetch operation.
170170
Use `moss fetch` to download one or more package `.stone` files by name without installing them on the current system.
171171

172172
```bash
173-
moss fetch howdy-git
173+
moss fetch somepackage
174174
```
175175

176176
Fetch multiple packages into a custom output directory:
177177

178178
```bash
179-
moss fetch howdy-git fractional --output-dir ~/stones
179+
moss fetch package1 package2 --output-dir ~/stones
180180
```
181181

182182
`moss fetch` writes downloaded files to the current directory by default. Add `--verbose` when you need more detailed progress output. If a package cannot be resolved, refresh repository metadata and try again.

0 commit comments

Comments
 (0)