Implement a wrapper for 'dpkg' to install from a URL address (emulate rpm function)

Registered by Nathanel Titane

the rpm tool under Fedora and other similarly packaged distributions enable installing an RPM type package directly from the download url as: "rpm -ivh "http://example/adress/package.rpm"

A wrapper or bash function (added to the global bashrc under '/etc/bash.bashrc' would enable the already powerful Debian 'dpkg' tool to do so.

'dpkg -i "http://example/adress/package.deb"

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
Nathanel Titane
Direction:
Needs approval
Assignee:
None
Definition:
Drafting
Series goal:
Proposed for quantal
Implementation:
Good progress
Milestone target:
milestone icon raring-updates
Started by
Nathanel Titane

Related branches

Sprints

Whiteboard

Tested functionnality under 12.10 quantal amd64:
Include function as dpkg-url() {} within global bashrc under '/etc/bash.bashrc" and source it;
Tested and included wrapper as shell script within multiple '/bin' directories to validate function;
Launched as 'sudo dpkg-url -i "$URL"' and tested with multiple packages from varying URLs to ensure proper address parsing.

Update:

Fixed URL parsing through 'echo $package | grep http 2>&1 > /dev/null' to avoid dpkg erro for missing action --install >> less|more

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.