Conflicting Files

 ╭─rick@rickshit in ~ took 2s
[🔴] × sudo pacman -S python2-viv-utils --overwrite /usr/bin/
error: failed to init transaction (unable to lock database)
error: could not lock database: File exists
  if you're sure a package manager is not already
  running, you can remove /var/lib/pacman/db.lck

so i ran the following command

sudo rm -r /var/lib/pacman/db.lck

now i get this when doing the overwrite:


╰─λ sudo pacman -S python2-viv-utils --overwrite /usr/bin/

warning: python2-viv-utils-0.3.17-1 is up to date -- reinstalling

resolving dependencies...

looking for conflicting packages...

Packages (1) python2-viv-utils-0.3.17-1

Total Download Size: 0.03 MiB

Total Installed Size: 0.16 MiB

Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] y

:: Retrieving packages...

python2-viv-utils-0.3.17-1-any.pkg.tar.zst failed to download

error: failed retrieving file 'python2-viv-utils-0.3.17-1-any.pkg.tar.zst' from mirrors.fosshost.org : The requested URL returned error: 404

error: failed retrieving file 'python2-viv-utils-0.3.17-1-any.pkg.tar.zst' from mirrors.fossho.st : The requested URL returned error: 404

warning: failed to retrieve some files

error: failed to commit transaction (failed to retrieve some files)

Errors occurred, no packages were upgraded.

does this have anything to do with the server maintenance being down at the moment?

1 Like