Comment 4 for bug 448619

Revision history for this message
Terence Simpson (tsimpson) wrote : Re: Info plugin doesn't provide a way to get further info

I looked into this some more, it turns out it's more complicated that it seems. With packages.ubuntu.com you need to know if the package is in <dist> or <dist-updates> as well as what section it's in, eg: http://packages.ubuntu.com/hardy/base/bash http://packages.ubuntu.com/hardy-updates/base/bash
Right now we put <dist> and <dist-updates> in the same .list file, so that will cause issues.
Extracting the section is not difficult as we parse the output of apt-cache, determining if it's in -updates or not is more difficult.
I could split out the normal and -updates repos to different files, but then "!info bash intrepid" would show only the non -updates version, but we expect all users to have -updates enabled.

The only solution forming in my head at the moment is writing some code to detect an ubuntu repo and treat it specially, but that won't work for non *.archicve.ubuntu.com URLs.