RPM packages are reported as corrupted

Bug #289308 reported by PetrB
4
Affects Status Importance Assigned to Milestone
gdebi
Fix Released
Undecided
Unassigned

Bug Description

"gdebi foobar-1.0.rpm" produces
Unkown package type '/home/petr/Desktop/cdk-avr-simulavr-doc-ps-0.1.1-20021103.i386.rpm', exiting (note: missing newline)

"gdebi-gtk foobar-1.0.rpm" produces message box
Could not open 'foobar-1.0.rpm'
The package might be corrupted or you are not allowed to open the file: please check the permissions of the file.

Expected behavior:
Message (example) "File 'foobar-1.0.rpm' is a RPM package, download DEB package instead or use Synaptic or do this-and-that to install it."

It is acceptable that gdebi does not know how to install RPMs. However RPM is one of the two most popular package formats, certainly it is not true that RPM "is corrupted" :-). An user:
a) may not know RPMs are not supported
b) downloaded the RPM mechanically (causual user of RPM based distro), may suspect media and try the rpm again.

Bug https://bugs.launchpad.net/gdebi/+bug/192939 may be architecturally related, may be worthing solving with this one.

Related branches

István Nyitrai (sianis)
Changed in gdebi:
status: New → Confirmed
Revision history for this message
István Nyitrai (sianis) wrote :

Please review my patch!

Revision history for this message
István Nyitrai (sianis) wrote :

Here is a screenshot.

Michael Vogt (mvo)
Changed in gdebi:
assignee: nobody → mvo
status: Confirmed → Fix Committed
Revision history for this message
Vadim Peretokin (vperetokin) wrote :

It's nice that it tells the user that it can't install it now, but it should tell them what it *can* install (so a Debian/Ubuntu package with a .deb extension).

István Nyitrai (sianis)
Changed in gdebi:
assignee: mvo → nobody
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.