Skip to content

Commit

Permalink
Improvements to the questions about Software Management
Browse files Browse the repository at this point in the history
  • Loading branch information
Shendisx committed Jan 21, 2025
1 parent a364474 commit f8966fb
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions src/content/docs/support/faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ This means that your internet connection is either very slow or unstable causing

## Software management

### How can I fix the "unable to lock database" error in CachyOS?
### "unable to lock database" error
```sh
sudo rm /var/lib/pacman/db.lck
```
:::tip
You can achieve the same outcome by using **"Remove db lock"** function in `CachyOS Hello` in the **Apps/Tweaks** tab.
:::

### How can I fix possible keyring issues in CachyOS?
### File is corrupted (invalid or corrupted package (PGP signature))

```text
# Example:
Expand All @@ -77,17 +77,14 @@ sudo pacman-key --lsign-key F3B607488DB35A47
sudo rm -R /var/lib/pacman/sync
```

### How can I remove those annoying warnings while updating my system? Is it safe to update the system when this happens?
### warning local is newer than

#### Example:

<br />
<ImageComponent imgsrc={import('~/assets/images/update-warnings.png')} />

**Yes, it is safe to update the system.**

*To remove these errors, run the following command:*
```sh
```sh title='To remove these warnings, execute the following command:'
sudo pacman -Syuu
```

Expand Down Expand Up @@ -136,7 +133,7 @@ unable to use Discord.
In order to get around this issue, follow [Arch Wiki's fix guide](<https://wiki.archlinux.org/title/Discord#Discord_asks_for_an_update_not_yet_available_in_the_repository>).


### I got an error while trying to clear pacman cache
### error: could not remove /var/cache/pacman/pkg/download

:::tip
You can also clean the pacman cache using CachyOS Hello in **Apps/Tweaks** > **Clear package cache**
Expand All @@ -154,9 +151,9 @@ You can also clean the pacman cache using CachyOS Hello in **Apps/Tweaks** > **C
sudo rm -r /var/cache/pacman/pkg/*
```

### I got this nvidia module error when I tried to update my system.
### ERROR: module not found: 'nvidia', 'nvidia_modeset', 'nvidia_uvm', 'nvidia_drm'

```text
```sh title='Example'
==> ERROR: module not found: 'nvidia'
==> ERROR: module not found: 'nvidia_modeset'
==> ERROR: module not found: 'nvidia_uvm'
Expand Down Expand Up @@ -209,4 +206,4 @@ sudo pacman -S nvidia
<br />
<ImageComponent imgsrc={import('~/assets/images/cachy-browser-resist-fingerprint.png')} />
- *After disabling this parameter. Restart your browser and the keyboard combinations should work again.*
- *Extra tip: Search for `webgl.disabled` and set it to `false` to take advantage of an improved Hardware Acceleration in Photopea.*
- *Extra tip: Search for `webgl.disabled` and set it to `false` to take advantage of an improved Hardware Acceleration in Photopea.*

0 comments on commit f8966fb

Please sign in to comment.