Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duperemove service sqlite3 error #959

Closed
PVermeer opened this issue Apr 8, 2024 · 1 comment · Fixed by #881
Closed

Duperemove service sqlite3 error #959

PVermeer opened this issue Apr 8, 2024 · 1 comment · Fixed by #881

Comments

@PVermeer
Copy link
Contributor

PVermeer commented Apr 8, 2024

Describe the bug

sqlite3 Is not installed on image for:

ExecStart=-sh -c '[ "$(sqlite3 -readonly duperemove.hash "SELECT keyval FROM config where keyname=''version_major''")" -ge 4 ] || rm -f duperemove.hash'

apr 08 14:42:46 desktop-bazzite cp[46202]: cp: cannot stat '/var/home/.duperemove.hash': No such file or directory
apr 08 14:43:05 desktop-bazzite compsize[46204]: Processed 593523 files, 3216161 regular extents (3620099 refs), 246036 inline.
apr 08 14:43:05 desktop-bazzite compsize[46204]: Type       Perc     Disk Usage   Uncompressed Referenced
apr 08 14:43:05 desktop-bazzite compsize[46204]: TOTAL       87%      635G         730G         769G
apr 08 14:43:05 desktop-bazzite compsize[46204]: none       100%      521G         521G         525G
apr 08 14:43:05 desktop-bazzite compsize[46204]: zstd        54%      113G         208G         244G
apr 08 14:43:05 desktop-bazzite compsize[46204]: prealloc   100%      259M         259M          59M
apr 08 14:43:05 desktop-bazzite sh[46890]: sh: line 1: sqlite3: command not found
apr 08 14:43:05 desktop-bazzite sh[46889]: sh: line 1: [: : integer expression expected
apr 08 14:43:05 desktop-bazzite duperemove[46892]: Adding exclude pattern: /var/home/.duperemove.hash
apr 08 14:43:05 desktop-bazzite duperemove[46892]: Adding exclude pattern: /var/home/@swapfile/swapfile
apr 08 14:43:05 desktop-bazzite duperemove[46892]: process_extents: unable to get extent
apr 08 14:43:05 desktop-bazzite duperemove[46892]: file /var/home/pimv/.config/Code/GPUCache/data_0 changed
apr 08 14:43:05 desktop-bazzite duperemove[46892]: process_extents: unable to get extent
apr 08 14:43:05 desktop-bazzite duperemove[46892]: file /var/home/pimv/.config/Code/GPUCache/data_1 changed
apr 08 14:43:05 desktop-bazzite duperemove[46892]: process_extents: unable to get extent
apr 08 14:43:05 desktop-bazzite duperemove[46892]: file /var/home/pimv/.config/Code/DawnCache/data_1 changed
apr 08 14:43:05 desktop-bazzite duperemove[46892]: process_extents: unable to get extent
apr 08 14:43:05 desktop-bazzite duperemove[46892]: file /var/home/pimv/.config/Code/GPUCache/data_2 changed
apr 08 14:43:05 desktop-bazzite duperemove[46892]: process_extents: unable to get extent
apr 08 14:43:05 desktop-bazzite duperemove[46892]: file /var/home/pimv/.config/Code/GPUCache/data_3 changed
apr 08 14:43:11 desktop-bazzite duperemove[46892]: dbfile_update_scanned_file()/46899: Database error 5 while executing statement: database is locked

What did you expect to happen?

Service to run without sqlite3 error

Output of rpm-ostree status

Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome:stable
                   Digest: sha256:ca205fdd24ad7ecbfad8f2a3ee5335dbf9ab2ddbfe29b85fb6fdc6821b0154ef
                  Version: 39.20240406.0 (2024-04-07T01:31:06Z)
          LayeredPackages: btrfs-assistant code containerd.io docker-buildx-plugin docker-ce docker-ce-cli docker-compose-plugin gnome-boxes grsync megasync mullvad-vpn nautilus-dropbox nextcloud-client-nautilus
            LocalPackages: sunshine-0.23.0-1.x86_64
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf"'

Hardware

No response

Extra information or context

This might be an oversight when rmlint got removed in:
e1c139e

I think it's a recursive dependency and nothing requires sqlite3 anymore.

@PVermeer PVermeer changed the title Duperemove service Duperemove service sqlite3 error Apr 8, 2024
@KyleGospo
Copy link
Member

Thank you, this will be fixed in the next update.

KyleGospo added a commit that referenced this issue Apr 10, 2024
fix: Add missing sqlite package for duperemove, fixes #959
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants