2009-04-29 18:52:53 |
Michael Vogt |
description |
If I create a foo.list in /etc/apt/sources.list.d/ with a new set of sources for a PPA or repo, and then run 'xdg-open "apt://package-only-in-new-repo?refresh=yes"' apturl errors that it is unable to find the package after the refresh happened. If i run the xdg-open command a second time with no other changes, it will work as expected. Looks like the cache is not getting reloaded properly after the refresh. |
The problem is that the cache is not properly reopened after a update. The version in jaunty-proposed fixes this.
TEST CASE:
1. use jaunty (with universe enabled)
2. run "sudo rm /var/lib/apt/lists/*universe*"
3. run "apturl apt:2vcard?refresh=yes"
4. verify that this command gives a error message and does not install 2vcard
5. install apturl from jaunty-proposed
6. repeat step 2,3
7. verify that 2vcard gets installed
If I create a foo.list in /etc/apt/sources.list.d/ with a new set of sources for a PPA or repo, and then run 'xdg-open "apt://package-only-in-new-repo?refresh=yes"' apturl errors that it is unable to find the package after the refresh happened. If i run the xdg-open command a second time with no other changes, it will work as expected. Looks like the cache is not getting reloaded properly after the refresh. |
|