Describe the bug
There is no directory /var/cache/apt/archives/partial after fresh system restoration from snapshot to a new drive. This specific directory is originally owned by _apt and usually is empty:
tadeuszd@W530:/var/cache/apt/archives$ ls -lh
razem 188M
[...]
-rw-r----- 1 root root 0 maj 19 21:42 lock
drwx------ 2 _apt root 4,0K maj 19 22:05 partial
Lacking of 'partial' directory causes errors when downloading updates via mintUpdate.
To fix the problem you need to recreate this directory manually.
To Reproduce
Steps to reproduce the behavior:
- Go to Timeshift and create snapshot,
- Install new drive (in my case: MSDOS partition table with 3 partitions: /boot/efi (FAT32) , / (ext4) , /home (ext4) ),
- restore system from snapshot,
- boot from a freshly restored system,
- run mintUpdate and try to download any update,
- mintUpdate throws errors, something like: "Error while downloading file XXX. The file /var/cache/apt/archives/partial/XXX doesn't exist."
Expected behavior
The specific directory structure should be recreated from a snapshot.
System:
- Linux Distribution: Linux Mint 21.3 (Virginia) x86_64
- Desktop: Cinnamon 6.0.4
- Application Version: Timeshift-gtk 24.01.1 mintUpdate 6.0.9
Describe the bug
There is no directory /var/cache/apt/archives/partial after fresh system restoration from snapshot to a new drive. This specific directory is originally owned by _apt and usually is empty:
tadeuszd@W530:/var/cache/apt/archives$ ls -lh
razem 188M
[...]
-rw-r----- 1 root root 0 maj 19 21:42 lock
drwx------ 2 _apt root 4,0K maj 19 22:05 partial
Lacking of 'partial' directory causes errors when downloading updates via mintUpdate.
To fix the problem you need to recreate this directory manually.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The specific directory structure should be recreated from a snapshot.
System: