Re: No viewer for RPM files
Thomas Dodd <[email protected]>
| Newsgroups | gmane.comp.gnome.os.redhat |
|---|---|
| Message-ID | <[email protected]> |
Havoc Pennington wrote: >Thomas Dodd <[email protected]> writes: > >>What about Gnorpm? What would it take to add >>a switch to select a file? (I don't have the source handy) >> > >gnorpm is highly buggy/broken. > I didn't know. I've always prefered the command line :) one of the reasons I can't remember the nice, neat, new GUI config tools. >>Or a modified rpm2html that works on 1 file creating >>a HTML file in /tmp or /var/tmp that lists the >>info, provides, requires, and files in the rpm? >> >>I could write a perl script to do it, but python would >>probably fit Red Hat better. >> > >Not really a very good solution, though. :-/ > What should a be seen/done by a handler for rpm? I was thinking the normal action would show the above info. And then have options for intstall and upgrade, Not sure how to tell nautilus to give multiple options though. The last 2 would call rpm -[iU] porobbably with a root-wrapper like userhelper to get the correct privleges to install a package. The viewer could be tk, perl, or python to give a GUI, that uses rpm bindings to librpm to get the info. Where's a nice tutorial and sample python app to start with? -Thomas