apturl says package not found, after adding new ppa

Bug #369324 reported by dobey
34
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apturl
Fix Released
Undecided
Michael Vogt
apturl (Ubuntu)
Fix Released
Undecided
Michael Vogt
Jaunty
Fix Released
Undecided
Unassigned
Karmic
Fix Released
Undecided
Michael Vogt

Bug Description

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.

Michael Vogt (mvo)
description: updated
Revision history for this message
Elliot Murphy (statik) wrote : Re: [Bug 369324] Re: apturl says package not found, after adding new ppa

Thanks for fixing this!

--
Elliot Murphy

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted apturl into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in apturl (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Michael, please close the upstream branch if this is fixed in trunk.

Changed in apturl:
assignee: nobody → Michael Vogt (mvo)
status: New → Fix Committed
Changed in apturl (Ubuntu Karmic):
assignee: nobody → Michael Vogt (mvo)
status: New → Fix Committed
Revision history for this message
dobey (dobey) wrote :

The updated apturl does indeed solve the issue. Thanks! When will it be pushed out to regular jaunty updates?

Revision history for this message
Steve Beattie (sbeattie) wrote :

I have reproduced the failure to reopen the cache issue in jaunty's apturl, 0.3.3ubuntu1, and can confirm that the version in jaunty-proposed, 0.3.3ubuntu1.1, fixes the issue. Cursory testing with apturl also didn't show any introduced regressions.
Marking verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Steve Beattie (sbeattie) wrote :

This was fixed in karmic in apturl 0.3.5ubuntu1 without a launchpad reference in the changelog, closing this task.

Changed in apturl (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apturl - 0.3.3ubuntu1.1

---------------
apturl (0.3.3ubuntu1.1) jaunty-proposed; urgency=low

  * AptUrl/AptUrl.py:
    - reopen the cache properly after a refresh=yes
      (LP: #369324)
  * debian/control:
    - point to jaunty bzr branch

 -- Michael Vogt <email address hidden> Wed, 29 Apr 2009 17:30:36 +0200

Changed in apturl (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Xan (dxpublica) wrote :

I have to:
1) add ppa
2) Reload synaptic
3) Install client

So double click does not work for me. I have 8.04.

Xan.

Revision history for this message
Lacho (listas-hmr) wrote :

I have spent the better part of this morning attempting to install Ubuntu One in Jaunty, clicking the install button more than once, deleting the downloaded file, and downloading it again, but always get the same message: "Could not find package 'ubuntuone-client-gnome'."

Revision history for this message
dobey (dobey) wrote : Re: [Bug 369324] Re: apturl says package not found, after adding new ppa

Did you click the "Add PPA" button and install the ubuntuone-ppa-beta
package first? The only possibilities that I can think of are that you
either haven't got the PPA configured, due to the above question, or
your apt cache is outdated and it's not getting refreshed. Does clicking
the "Install" button bring up a dialog that shows it refreshing the
package information?

On Thu, 2009-07-16 at 21:14 +0000, Lacho wrote:
> I have spent the better part of this morning attempting to install
> Ubuntu One in Jaunty, clicking the install button more than once,
> deleting the downloaded file, and downloading it again, but always get
> the same message: "Could not find package 'ubuntuone-client-gnome'."
>

Revision history for this message
Lacho (listas-hmr) wrote :

I do click the Add PPA Button first every time, I have even deleted the downloaded file many times in the hope that downloading it again would solve anything. First the system asks for my Admin password, then a progress bar informs that files are being downloaded, it disappears, and then the could not install message appears.

This goes on every time.

Just now I ran a "sudo aptitude update", did the whole process again, and same results.

Michael Vogt (mvo)
Changed in apturl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.