Project

General

Profile

Bug #594

Duplicated files in pools, and without repository symlinks

alfplayer - about 5 years ago - . Updated over 4 years ago.

Status:
open
Priority:
bug
Assignee:
-
% Done:

0%


Description

I'll take one package file as example: acpi-1.6-1-i686

No symlinks:

$ cd /srv/repo/main
$ find . -name 'acpi-1.6-1-i686*'
./pool/community/acpi-1.6-1-i686.pkg.tar.xz
./pool/community/acpi-1.6-1-i686.pkg.tar.xz.sig
./pool/packages/acpi-1.6-1-i686.pkg.tar.xz
./pool/packages/acpi-1.6-1-i686.pkg.tar.xz.sig

File types are "regular":

  File: ‘pool/packages/acpi-1.6-1-i686.pkg.tar.xz’
  Size: 8504          Blocks: 24         IO Block: 4096   regular file
Device: 803h/2051d    Inode: 4660584     Links: 1
Access: (0644/-rw-r--r--)  Uid: (10001/    repo)   Gid: (   33/    http)
Access: 2014-09-29 03:33:08.942750235 +0100
Modify: 2012-01-30 03:42:01.000000000 +0000
Change: 2014-10-03 20:10:08.521235241 +0100
 Birth: -

  File: ‘pool/community/acpi-1.6-1-i686.pkg.tar.xz’
  Size: 8504          Blocks: 24         IO Block: 4096   regular file
Device: 803h/2051d    Inode: 829724074   Links: 1
Access: (0644/-rw-r--r--)  Uid: (10001/    repo)   Gid: (   33/    http)
Access: 2014-09-29 02:51:54.969715237 +0100
Modify: 2012-03-04 23:41:52.000000000 +0000
Change: 2014-10-03 20:10:07.407345242 +0100
 Birth: -

Same hash:

dcf992f0baedc97e1df7fab0f40def24  pool/packages/acpi-1.6-1-i686.pkg.tar.xz
dcf992f0baedc97e1df7fab0f40def24  pool/community/acpi-1.6-1-i686.pkg.tar.xz

History

#1

Updated by lukeshu over 4 years ago

It just so-happened that the specific example you chose hadn't been cleaned up by db-cleanup yet, many of them are symlinked.

I don't know why packages are being duplicated into the wrong pools.

The one with the most recent timestamp (as of 2015-06-15) is liboxr-0.1.1-3 (timestamp: 2015-06-03) being in both /pool/community/ and /pool/packages/.

So it's not an old issue sticking around, something current is doing it.

Also available in: Atom PDF