Project

General

Profile

Bug #2007

[db-import-pkg] Can't re-add previously removed packages

lukeshu - almost 4 years ago - . Updated almost 4 years ago.

Status:
fixed
Priority:
bug
Assignee:
% Done:

100%


Description

From the db-update step:

Sep 23 08:13:16 db-import-pkg[23947]: ==> ERROR: Package community/catdoc-0.95-1.1-i686.pkg.tar.xz already exists in another repository
Sep 23 08:13:16 db-import-pkg[23947]: ==> Removing left over lock from [community] (i686)
Sep 23 08:13:16 db-import-pkg[23947]: ==> ERROR: An unknown error has occurred. Exiting...
Sep 23 08:13:16 systemd[1]: db-import@archlinux32.service: Main process exited, code=killed, status=10/USR1

This is caused by the fact that /srv/repo/main/pool/archlinux32/catdoc-0.95-1.1-i686.pkg.tar.xz exists but isn't part of any repo, but hasn't been cleaned up yet (db-cleanup should claim it at next run).

History

#1

Updated by lukeshu almost 4 years ago

Maybe add a step between db-move and db-update that calls db-repo-add on packages present in the pool but not present in other repos?

#2

Updated by lukeshu almost 4 years ago

Or just have $PKGPOOL as an implicit member of INHERIT=(), and modify db-update to allow that.

#3

Updated by lukeshu almost 4 years ago

  • % Done changed from 0 to 100
  • Assignee set to lukeshu

Fixed in v20180924.

#4

Updated by lukeshu almost 4 years ago

  • Status changed from open to fixed

Also available in: Atom PDF