Please support downloading of remote packages

Bug #34133 reported by Reinhard Tartler
8
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

I'd like a new use case for gdebi to be added: Fetching .debs from remote hosts. A typical call to gdebi would be this:

gdebi http://archive.ubuntu.com/ubuntu/pool/main/g/gnome-power-manager/gnome-power-manager_2.13.93-0ubuntu2_i386.deb

currently gebi fails with this message:

gdebi error, file not found: http://archive.ubuntu.com/ubuntu/pool/main/g/gnome-power-manager/gnome-power-manager_2.13.93-0ubuntu2_i386.deb

Thanks for considering

Revision history for this message
Sebastian Heinlein (glatzor) wrote :

Using gnomevfs would allow to install packages from a lot of locations. But I don't know what the KDE users would think about this.

Dapper is alread in freature freezy. But I wrote it on the TODO.

Regards,

Sebastian

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 34133] Please support downloading of remote packages

On Wed, Mar 08, 2006 at 09:13:33PM -0000, Sebastian Heinlein wrote:
> Using gnomevfs would allow to install packages from a lot of locations.
> But I don't know what the KDE users would think about this.

How about downloading it via urllib to /var/cache/apt/archives and
install from there? I could imagine that this could be implemented in
less than 10 lines of code.

> Dapper is alread in freature freezy. But I wrote it on the TODO.

Thats right.
>

Changed in gdebi:
status: Unconfirmed → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Using the build-in apt_pkg package retrierer is probably a better solution. Otherwise the xfce people will not like us anymore :)

Revision history for this message
Endolith (endolith) wrote :

Michael Vogt:

I had no idea what you meant, but eventually found it: apt_pkg.GetPkgAcqFile for which there is an example in /usr/share/doc/python-apt/examples/acquire.py

István Nyitrai (sianis)
Changed in gdebi:
status: Confirmed → In Progress
Revision history for this message
Luca Falavigna (dktrkranz) wrote :
Changed in gdebi (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdebi - 0.7.0

---------------
gdebi (0.7.0) unstable; urgency=low

  [ Luca Falavigna ]
  * GDebi/Gdebi.py:
    - Add Launchpad integration (LP: #520353).
    - Assign a proper title to dialog_deb_install (LP: #576566).
  * GDebi/GDebiCli.py:
    - Handle FetchFailedException when a package is not available in
      the mirrors (LP: #442172).
  * GDebi/GdebiKDE.py:
    - Fix status output to correctly display utf-8 chars (LP: #606549).
  * GDebi/Gdebi.py, GDebi/GdebiKDE.py:
    - Use correct IEC prefix name to display Installed-Size (LP: #44286).
  * GDebi/GDebiCli.py:
    - Try to determine correct localized value for "Y" answer by parsing
      first value located into square brackets instead of relying on an
      hardcoded value (Closes: #605147) (LP: #577140).
  * po/*.po:
    - Refresh translations exported from Rosetta.
  * setup.py:
    - Do not ship gdebi.xml mime-info, the .deb mime info is part
      of the shared-mime-info package (Closes: #502717)
  * debian/source/format:
    - Switch to format 3.0 (native).
  * debian/control:
    - Build-depend on python (>= 2.6.5-2~) for dh_python2.
    - Drop python-central build-dependency.
    - Drop obsolete Conflicts/Replaces fields.
  * debian/rules:
    - Switch to dh_python2.

  [ Michael Vogt ]
  * debian/control:
    - recommend on libgtk2-perl instead of libgnome2-perl
  * gio support, thanks to István Nyitrai (LP: #34133, #80862).
 -- Luca Falavigna <email address hidden> Tue, 08 Feb 2011 16:25:28 +0000

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

Other bug subscribers

Remote bug watches

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