Skip to content

Commit

Permalink
Update broken package check (#532)
Browse files Browse the repository at this point in the history
* Update broken package check

Add -r to xargs so if the check for broken packages finds none there is no confusing output.

Minor grammatical fixes.

---------

Co-authored-by: David Harder <[email protected]>
  • Loading branch information
TraceyC77 and davidjharder authored May 5, 2024
1 parent e5c5474 commit c0b6e15
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/user/troubleshooting/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ summary: Basic troubleshooting for some of the most common Solus problems.

# Troubleshooting Common Issues

This guide provides some basic troubleshooting instructions for when you have an issue in Solus. Before reporting bugs, it is important to validate your Solus installation doesn't suffer from missing files or disk corruption. Also ensuring the system is fully up to date as the bug may have already been fixed.
This guide provides some basic troubleshooting instructions for when you have an issue in Solus. Before reporting bugs, it is important to check that your Solus installation is not missing files, or suffering from a corrupted disk. You should also ensure your system is fully up to date as the bug may have already been fixed.

First of all perform a full system update `sudo eopkg up` (or via the Software Center). Then validate that packages are installed correctly and aren't missing files: (run this once, it will take some time and may not show much output)
First, perform a full system update on command line with `sudo eopkg up` (or using the Software Center).

Next, validate that packages are installed correctly and aren't missing files. Run this once, it will take some time. If there are no broken packages on your system, there will be no output. Otherwise, you will see packages be reinstalled.

```bash
sudo eopkg check | grep Broken | awk '{print $4}' | xargs sudo eopkg it --reinstall
sudo eopkg check | grep Broken | awk '{print $4}' | xargs -r sudo eopkg it --reinstall
```

Then reboot the system to make sure the issue still persists on a clean system.
Reboot the system and see if the issue is resolved.

## Issues with Software Center or eopkg

Expand Down

0 comments on commit c0b6e15

Please sign in to comment.