pamac somehow skipped to do a backup snapshot
Pamac --version
Pamac 10.3.0-4 - libpamac 11.2.0
Variant in use
CLI
Distribution
Manjaro
Desktop environment
KDE
What's not working
Timeshift backup snapshot was not created before the chromium
package installation
How to reproduce?
terminal sequence
~/Desktop ❯ strace
zsh: correct 'strace' to 'xtrace' [nyae]? n
The application strace is not installed. It may be found in the following packages:
extra/strace 5.16-1 /usr/bin/strace
Do you want to Install package strace? (y/N) y
Executing command: pamac install strace
Preparing...
Synchronizing package databases...
Refreshing core.db...
Refreshing extra.db...
Refreshing community.db...
Refreshing multilib.db...
Refreshing chaotic-aur.db...
Refreshing AUR...
Resolving dependencies...
Checking inter-conflicts...
To upgrade (4):
fontconfig 2:2.13.96-1 (2:2.13.94-2) extra 371.7 kB
ghostscript 9.55.0-4 (9.55.0-3) extra 17.5 MB
imagemagick 7.1.0.23-1 (7.1.0.22-1) extra 2.7 MB
libreoffice-still 7.2.5-3 (7.2.5-2) extra 144.6 MB
To install (1):
strace 5.16-1 extra 483.2 kB
Total download size: 165.7 MB
Total installed size: 1.9 MB
Apply transaction ? [y/N] y
Download of ghostscript (9.55.0-4) started
Download of imagemagick (7.1.0.23-1) started
Download of imagemagick (7.1.0.23-1) finished
Download of fontconfig (2:2.13.96-1) started
Download of fontconfig (2:2.13.96-1) finished
Download of strace (5.16-1) started
Download of strace (5.16-1) finished
Download of libreoffice-still (7.2.5-3) started
Download of ghostscript (9.55.0-4) finished
Download of libreoffice-still (7.2.5-3) finished
Checking keyring... [5/5]
Checking integrity... [5/5]
Loading package files... [5/5]
Checking file conflicts... [5/5]
Checking available disc space... [5/5]
Running pre-transaction hooks...
Creating Timeshift snapshot before upgrade... [1/1]
First run mode (config file not found)
Selected default snapshot type: BTRFS
Using system disk as snapshot device for creating snapshots in BTRFS mode
/dev/dm-0 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,space_cache=v2,autodefrag,subvolid=5,subvol=/
Creating new backup...(BTRFS)
Saving to device: /dev/dm-0, mounted at path: /run/timeshift/backup
Created directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-06_17-06-48
Created subvolume snapshot: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-06_17-06-48/@
Created control file: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-06_17-06-48/info.json
BTRFS Snapshot saved successfully (12s)
Tagged snapshot '2022-02-06_17-06-48': ondemand
------------------------------------------------------------------------------
First run mode (config file not found)
Selected default snapshot type: BTRFS
/dev/dm-0 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,space_cache=v2,autodefrag,subvolid=5,subvol=/
Selected default snapshot device: /dev/dm-0
------------------------------------------------------------------------------
Removing snapshot: 2022-02-05_20-55-25
Deleting subvolume: @ (Id:320)
Deleted subvolume: @ (Id:320)
Destroying qgroup: 0/320
Destroyed qgroup: 0/320
Deleted directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-05_20-55-25
Removed snapshot: 2022-02-05_20-55-25
------------------------------------------------------------------------------
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.17-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.17-x86_64.img
Found initrd fallback image: /boot/initramfs-5.17-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Detecting snapshots ...
Found snapshot: 2022-02-06 17:06:48 | timeshift-btrfs/snapshots/2022-02-06_17-06-48/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-02-06 00:55:36 | timeshift-btrfs/snapshots/2022-02-06_00-55-36/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-02-05 21:10:34 | timeshift-btrfs/snapshots/2022-02-05_21-10-32/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 3 snapshot(s)
Unmount /tmp/grub-btrfs.lYxD5QqDU2 .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
Upgrading fontconfig (2:2.13.94-2 -> 2:2.13.96-1)... [1/5]
Rebuilding fontconfig cache...
Upgrading ghostscript (9.55.0-3 -> 9.55.0-4)... [2/5]
Upgrading imagemagick (7.1.0.22-1 -> 7.1.0.23-1)... [3/5]
Upgrading libreoffice-still (7.2.5-2 -> 7.2.5-3)... [4/5]
Installing strace (5.16-1)... [5/5]
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/8]
Updating the MIME type database... [2/8]
Updating fontconfig configuration... [3/8]
Refreshing PackageKit... [4/8]
Warn about old perl modules [5/8]
Updating fontconfig cache... [6/8]
Updating icon theme caches... [7/8]
Updating the desktop file MIME type cache... [8/8]
Transaction successfully finished.
~/Desktop 6m 9s ❯ pamac install chromium
Preparing...
Synchronizing package databases...
Refreshing chaotic-aur.db...
Refreshing AUR...
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
Choose optional dependencies for chromium:
1: kdialog: support for native dialogs in Plasma
2: org.freedesktop.secrets: password storage backend on GNOME / Xfce
Enter a selection (default=none):
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
Resolving dependencies...
Checking inter-conflicts...
To install (1):
chromium 98.0.4758.80-1 extra 85.6 MB
Total download size: 85.6 MB
Total installed size: 267.1 MB
Apply transaction ? [y/N] y
Download of chromium (98.0.4758.80-1) started
Download of chromium (98.0.4758.80-1) finished
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading package files... [1/1]
Checking file conflicts... [1/1]
Checking available disc space... [1/1]
Installing chromium (98.0.4758.80-1)... [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/4]
Refreshing PackageKit... [2/4]
Updating icon theme caches... [3/4]
Updating the desktop file MIME type cache... [4/4]
Transaction successfully finished.
~/Desktop 2m 15s ❯
More information (optional)
zsh
used in the konsole
terminal emulator, unstable
branch of updates.
if to procceed then it was
~/Desktop 2m 15s ❯ pamac info libpamac | grep 'Ver'
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
Version : 11.2.0-6
~/Desktop 6s ❯ pamac info libpamac | grep 'Ver'
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
Version : 11.2.0-6
~/Desktop 6s ❯ pamac info pamac | grep 'Ver'
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
~/Desktop 9s ❯ pamac info pamac
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
Error: target not found: pamac
~/Desktop 7s ❯ pamac info pamac-cli | grep 'Ver'
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz : <data>:73957:259: Parse error: unexpected number `158878', expected string constant
Version : 10.3.0-4
~/Desktop 6s ❯ pamac update
Preparing...
Synchronizing package databases...
Refreshing chaotic-aur.db...
Refreshing AUR...
Nothing to do.
Transaction successfully finished.
~/Desktop 21s ❯ pamac info pamac-cli | grep 'Ver'
Version : 10.3.0-4
~/Desktop 6s ❯ pamac info libpamac | grep 'Ver'
Version : 11.2.0-6
~/Desktop ❯ pamac --version
Pamac 10.3.0-4 - libpamac 11.2.0
Copyright © 2019-2022 Guillaume Benoit
This program is free software, you can redistribute it under the terms of the GNU GPL.
~/Desktop ❯ pamac install chromium
Preparing...
Warning: chromium-98.0.4758.80-1 is up to date -- skipping
Nothing to do.
Transaction successfully finished.
~/Desktop ❯ pamac install pinxi
Error: target not found: pinxi
~/Desktop 6s ❯ pamac install inxi-git
Preparing...
Synchronizing package databases...
Refreshing AUR...
(pamac:50920): Json-CRITICAL **: 17:40:46.805: json_parser_load_from_data: assertion 'data != NULL' failed
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz
Choose optional dependencies for inxi-git:
1: bluez-tools: bt-adapter: -E bluetooth data (if no hciconfig)
2: bluez-utils-compat: hciconfig: -E bluetooth HCI data
3: bind: -i wlan IP
4: freeipmi: ipmi-sensors: -s IPMI sensors
5: hddtemp: inxi -Dx show hdd temp
6: ipmitool: -s IPMI sensors
7: mesa-utils: inxi -G glx info
8: net-tools: inxi -i ip lan-deprecated
9: perl-io-socket-ssl: -U; -w,-W; -i (if dig not installed)
10: perl-cpanel-json-xs: --output json - required for export
11: perl-json-xs: --output json - required for export (legacy)
12: perl-xml-dumper: --output xml - Crude and raw
13: tree: --debugger 20,21 /sys tree
14: wmctrl: -S active window manager (not all wm)
15: xorg-xdpyinfo: inxi -G multi screen resolution
Enter a selection (default=none):
(pamac:50920): Json-CRITICAL **: 17:40:49.421: json_parser_load_from_data: assertion 'data != NULL' failed
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz
Resolving dependencies...
Checking inter-conflicts...
To install (1):
inxi-git 3.3.12.r0.g1da75146-1 chaotic-aur 315.2 kB
To remove (1):
inxi 3.3.12.1-1 (Conflicts With: inxi-git) community
Total download size: 315.2 kB
Total installed size: 1.0 MB
Total removed size: 1.0 MB
Apply transaction ? [y/N] n
Transaction cancelled.
~/Desktop 25s ❯ pamac reinstall chromium
Preparing...
Warning: chromium-98.0.4758.80-1 is up to date -- reinstalling
Resolving dependencies...
Checking inter-conflicts...
To reinstall (1):
chromium 98.0.4758.80-1 extra
Apply transaction ? [y/N] y
Checking keyring... [1/1]
Checking integrity... [1/1]
Loading package files... [1/1]
Checking file conflicts... [1/1]
Checking available disc space... [1/1]
First run mode (config file not found)
Selected default snapshot type: BTRFS
Using system disk as snapshot device for creating snapshots in BTRFS mode
/dev/dm-0 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,space_cache=v2,autodefrag,subvolid=5,subvol=/
Creating new backup...(BTRFS)
Saving to device: /dev/dm-0, mounted at path: /run/timeshift/backup
Created directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-06_17-42-01
Created subvolume snapshot: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-06_17-42-01/@
Created control file: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-06_17-42-01/info.json
BTRFS Snapshot saved successfully (10s)
Tagged snapshot '2022-02-06_17-42-01': ondemand
------------------------------------------------------------------------------
First run mode (config file not found)
Selected default snapshot type: BTRFS
/dev/dm-0 is mounted at: /run/timeshift/backup, options: rw,relatime,compress=zstd:3,space_cache=v2,autodefrag,subvolid=5,subvol=/
Selected default snapshot device: /dev/dm-0
------------------------------------------------------------------------------
Removing snapshot: 2022-02-05_21-10-32
Deleting subvolume: @ (Id:321)
Deleted subvolume: @ (Id:321)
Destroying qgroup: 0/321
Destroyed qgroup: 0/321
Deleted directory: /run/timeshift/backup/timeshift-btrfs/snapshots/2022-02-05_21-10-32
Removed snapshot: 2022-02-05_21-10-32
------------------------------------------------------------------------------
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
Found linux image: /boot/vmlinuz-5.17-x86_64
Found initrd image: /boot/intel-ucode.img /boot/initramfs-5.17-x86_64.img
Found initrd fallback image: /boot/initramfs-5.17-x86_64-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Detecting snapshots ...
Found snapshot: 2022-02-06 17:42:01 | timeshift-btrfs/snapshots/2022-02-06_17-42-01/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-02-06 17:06:48 | timeshift-btrfs/snapshots/2022-02-06_17-06-48/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found snapshot: 2022-02-06 00:55:36 | timeshift-btrfs/snapshots/2022-02-06_00-55-36/@ | ondemand | {timeshift-autosnap} {created before upgrade} |
Found 3 snapshot(s)
Unmount /tmp/grub-btrfs.Mz2xpWSTDp .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
done
Reinstalling chromium (98.0.4758.80-1)... [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate... [1/4]
Refreshing PackageKit... [2/4]
Updating icon theme caches... [3/4]
Updating the desktop file MIME type cache... [4/4]
Transaction successfully finished.
~/Desktop 1m 9s ❯