On 7/3/20 12:03 PM, Qubes wrote:
> On 7/3/20 11:30 AM,
dhorf-hfre...@hashmail.org wrote:
>> On Fri, Jul 03, 2020 at 11:01:48AM +0200, Qubes wrote:
>>> Using sys-whonix as UpdateVM to download updates for Dom0; this may take
>>> some time...
>>> error: could not delete old database at
>>> /var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146
>>
>> just restarting the updatevm should clean things up, but means you have
>> to download the template RPM again.
>>
>>
> I have restarted the entire system in an effort to get it fixed. No go.
> It just keeps on complaining that it could not delete the old database.
>
There is a symlink on sys-whonix
'/var/lib/qubes/dom0-updates/home/user/.rpmdbold.3146'
that points to
'.rpmdbold.3146 -> /var/lib/qubes/dom0-updates/var/lib/rpm'
and this is where the problem is. But this gets recreated everytime
sys-whonix restarts. If I restart sys-whonix and look in
'/var/lib/qubes/dom0-updates/' it is empty. I then try to install the
fedora-32-minimal template at which time a new symlink gets created
user@host:/var/lib/qubes/dom0-updates/home/user$ ls -la
total 12
drwxr-xr-x 3 user user 4096 Jul 3 11:25 .
drwxr-xr-x 3 user user 4096 Jul 3 11:25 ..
drwxr-xr-x 2 user user 4096 Jul 3 11:25 .rpmdb
lrwxrwxrwx 1 user user 39 Jul 3 11:25 .rpmdbold.2153 ->
/var/lib/qubes/dom0-updates/var/lib/rpm
The location the symlink points to,
'/var/lib/qubes/dom0-updates/var/lib/rpm', also gets created at the same
time, but then it also complains that it cannot delete the old database
at '/var/lib/qubes/dom0-updates/var/lib/rpm'. But that was just created.
It continues despite this but eventually comes back and says there is
nothing to download.
[user@dom0 fedora-31]$ sudo qubes-dom0-update
qubes-template-fedora-32-minimal
Using sys-whonix as UpdateVM to download updates for Dom0; this may take
some time...
error: could not delete old database at
/var/lib/qubes/dom0-updates/home/user/.rpmdbold.2153
fedora/metalink | 5.8 kB
00:00
fedora | 4.3 kB
00:00
fedora/primary_db | 26 MB
00:52
qubes-dom0-current/metalink | 2.7 kB
00:00
https://mirror.linux.pizza/qubes-os.org/repo/yum/r4.0/current/dom0/fc25/repodata/repomd.xml:
[Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
qubes-dom0-current | 3.8 kB
00:00
qubes-dom0-current/primary_db | 3.7 MB
00:06
qubes-templates-itl/metalink | 2.7 kB
00:00
qubes-templates-itl | 3.0 kB
00:00
qubes-templates-itl/primary_db | 21 kB
00:00
updates/metalink | 5.5 kB
00:00
updates | 4.7 kB
00:00
https://ftp-stud.hs-esslingen.de/pub/Mirrors/archive.fedoraproject.org/fedora/linux/updates/25/x86_64/repodata/b94977172dc0781147253c23a829626a015d4fd1d2c5ed90f0739b752fce4556-primary.sqlite.bz2:
[Errno 14] curl#16 - "<Unknown>"
Trying other mirror.
updates/primary_db | 12 MB
00:18
No Match for argument qubes-template-fedora-32-minimal
Nothing to download