Open dbart opened 4 years ago
Ok, I think I've solved it.
To get the debug packages to show up I needed to have a line in my sources.list that has the component main/debug
in addition to the main
component. It can either be a separate line or on the same line like so:
deb <url> bionic main main/debug
That seems to have things sorted and the dbgsym packages are showing up like they should.
It does leave me with the following warnings on bionic whenever I do an apt update
:
W: Skipping acquire of configured file 'main/debug/i18n/Translation-en_US' as repository '<url> bionic InRelease' doesn't have the component 'main/debug' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/debug/i18n/Translation-en' as repository '<url> bionic InRelease' doesn't have the component 'main/debug' (component misspelt in sources.list?)
W: Skipping acquire of configured file 'main/debug/cnf/Commands-amd64' as repository '<url> bionic InRelease' doesn't have the component 'main/debug' (component misspelt in sources.list?)
These warnings don't show up on Focal. So maybe it's an error with apt in bionic that got fixed in focal? Not sure. At least they're only warnings and not errors. Still annoying though.
FYI, some additional information on the above two warnings for people who find this via a search engine in the future:
First, the warnings I think come from this bug in Debian: https://bugs.debian.org/879591 It's been fixed in Debian and Ubuntu, but is still present in Ubuntu Bionic.
Second, if you see these warnings with a repository and want to suppress them, you need to add [ lang=none target-=CNF ]
to the deb line of the repository config. The lang=none
option supresses the missing "Translation" warnings, and the target-=CNF
option removes cnf from the list of "targets" that apt tries to fetch (that's why it's -=
and not =
).
I always appreciate folks who take time to update their issues (an entire year later!) rather than take the "I fixed it" and never reply approach. Thank you!
I've switched to using this fork of reprepro for my repos for its ability to have multiple versions and support for .ddeb files.
I've created repos and I think I've successfully imported the .ddeb packages. The command
reprepro -T ddeb list bionic
shows them, and they're there in the repository if you browse the filesystem tree of the repository using a web browser, but when accessing the repository from a remote machine using apt or apt-get it can't find any of the -dbgsym packages.The Components/DDebComponents lines in my conf/distributions file are:
And my sources.list on the remote machine is just has the standard:
If I'm doing something wrong either with importing the .ddeb files into the repo, or how my sources.list for the repo is configured, I don't know what it is.
The only thing I can think of is that maybe it has something to do with the .ddeb packages not showing up in the
main/binary-amd64/Packages
file but instead in themain/debug/binary-amd64/Packages
file. But I'm not sure what to do on the sources.list side to get apt to see them.Thanks.