How to fix Conflicting distribution for my local apt repo?

Viewed 296

I was trying to make an apt repo. I have this deb which is not architecture dependant and this is the structure of my repo:

.
├── dists
│   └── testing
│       ├── InRelease
│       ├── main
│       │   ├── Packages
│       │   └── Packages.gz
│       ├── Release
│       └── Release.gpg
├── KEY.gpg
└── pool
    └── testing
        └── main
            └── s
                └── savcli
                    └── savcli_0.0.1_all.deb

I add deb <uri-to-repo> testing main to my sources.list. I also add the key, But when I apt update I get these errors:

W: Conflicting distribution: <uri-to-repo> testing InRelease (expected testing but got )
W: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository '<uri-to-repo> testing InRelease' does not seem to provide it (sources.list entry misspelt?)
W: Skipping acquire of configured file 'main/binary-i386/Packages' as repository '<uri-to-repo> testing InRelease' does not seem to provide it (sources.list entry misspelt?)

I'm not sure what's wrong and how I can fix this. I don't want to make a flat repo and add [trusted=yes]. So what have I done wrong?

0 Answers
Related