Package: reprepro
Version: 5.4.2

Hello,

Calling `reprepro removesrc` results in an error like in the title. This
worked correctly in 5.3.1. I don't think there is anything special about
my setup, but let me know if you need any more information.

Note this is running reprepro on Fedora, built from
https://src.fedoraproject.org/rpms/reprepro/pull-request/1

Reproduction steps, specific package I think doesn't really matter, I
can reproduce it with different packages (both 'amd64' and 'all'):

$ rm -rf reprepro-test/{db,dists,pool}

$ cat reprepro-test/conf/distributions 
Origin: Qubes OS Debian
Label: Qubes Debian
Codename: bullseye
AlsoAcceptFor: bullseye
Architectures: amd64 source
Components: main
Description: Apt repository with Qubes OS r4.2 domU support tools for Debian 
bullseye
Tracking: all includebuildinfos

$ reprepro -b reprepro-test include bullseye 
components/core-vchan-xen/4.1.7-1/vm-bullseye/build/libvchan-xen_4.1.7-1+deb11u1_amd64.changes
 
Exporting indices...

$ reprepro -b reprepro-test list bullseye
bullseye|main|amd64: libvchan-xen 4.1.7-1+deb11u1
bullseye|main|amd64: libvchan-xen-dbgsym 4.1.7-1+deb11u1
bullseye|main|amd64: libvchan-xen-dev 4.1.7-1+deb11u1
bullseye|main|source: libvchan-xen 4.1.7-1+deb11u1

$ tree reprepro-test/
reprepro-test/
├── conf
│   └── distributions
├── db
│   ├── checksums.db
│   ├── contents.cache.db
│   ├── packagenames.db
│   ├── packages.db
│   ├── references.db
│   ├── release.caches.db
│   ├── tracking.db
│   └── version
├── dists
│   └── bullseye
│       ├── Release
│       └── main
│           ├── binary-amd64
│           │   ├── Packages
│           │   ├── Packages.gz
│           │   └── Release
│           └── source
│               ├── Release
│               └── Sources.gz
└── pool
    └── main
        └── libv
            └── libvchan-xen
                ├── libvchan-xen-dbgsym_4.1.7-1+deb11u1_amd64.deb
                ├── libvchan-xen-dev_4.1.7-1+deb11u1_amd64.deb
                ├── libvchan-xen_4.1.7-1+deb11u1.debian.tar.xz
                ├── libvchan-xen_4.1.7-1+deb11u1.dsc
                ├── libvchan-xen_4.1.7-1+deb11u1_amd64.buildinfo
                ├── libvchan-xen_4.1.7-1+deb11u1_amd64.deb
                └── libvchan-xen_4.1.7.orig.tar.gz

12 directories, 22 files

$ reprepro -b reprepro-test removesrc bullseye libvchan-xen 4.1.7-1+deb11u1
Warning: tracking data might be inconsistent:
cannot find 'libvchan-xen=4.1.7-1+deb11u1_amd64' in 'bullseye|main|amd64', but 
'pool/main/libv/libvchan-xen/libvchan-xen_4.1.7-1+deb11u1_amd64.deb' should be 
there.
Warning: tracking data might be inconsistent:
cannot find 'libvchan-xen-dev=4.1.7-1+deb11u1_amd64' in 'bullseye|main|amd64', 
but 'pool/main/libv/libvchan-xen/libvchan-xen-dev_4.1.7-1+deb11u1_amd64.deb' 
should be there.
Warning: tracking data might be inconsistent:
cannot find 'libvchan-xen-dbgsym=4.1.7-1+deb11u1_amd64' in 
'bullseye|main|amd64', but 
'pool/main/libv/libvchan-xen/libvchan-xen-dbgsym_4.1.7-1+deb11u1_amd64.deb' 
should be there.
There was an inconsistency in the tracking data of 'bullseye':
'pool/main/libv/libvchan-xen/libvchan-xen_4.1.7-1+deb11u1_amd64.deb' has 
refcount > 0, but was nowhere found.
There was an inconsistency in the tracking data of 'bullseye':
'pool/main/libv/libvchan-xen/libvchan-xen-dev_4.1.7-1+deb11u1_amd64.deb' has 
refcount > 0, but was nowhere found.
There was an inconsistency in the tracking data of 'bullseye':
'pool/main/libv/libvchan-xen/libvchan-xen-dbgsym_4.1.7-1+deb11u1_amd64.deb' has 
refcount > 0, but was nowhere found.
Exporting indices...
Deleting files no longer referenced...

$ tree reprepro-test/
reprepro-test/
├── conf
│   └── distributions
├── db
│   ├── checksums.db
│   ├── contents.cache.db
│   ├── packagenames.db
│   ├── packages.db
│   ├── references.db
│   ├── release.caches.db
│   ├── tracking.db
│   └── version
├── dists
│   └── bullseye
│       ├── Release
│       └── main
│           ├── binary-amd64
│           │   ├── Packages
│           │   ├── Packages.gz
│           │   └── Release
│           └── source
│               ├── Release
│               └── Sources.gz
└── pool
    └── main
        └── libv
            └── libvchan-xen
                ├── libvchan-xen-dbgsym_4.1.7-1+deb11u1_amd64.deb
                ├── libvchan-xen-dev_4.1.7-1+deb11u1_amd64.deb
                └── libvchan-xen_4.1.7-1+deb11u1_amd64.deb

12 directories, 18 files

-- 
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab

Attachment: signature.asc
Description: PGP signature

Reply via email to