[rkward-devel] check for debian packages

meik michalke Meik.Michalke at uni-duesseldorf.de
Wed Apr 18 11:03:27 UTC 2012


hi,

Am Dienstag, 17. April 2012 17:20:21 schrieb Milan Bouchet-Valat:
> You would just need to give PK the package name over D-Bus, and it would
> take care of everything, including PolicyKit authentication via the dialogs
> adapted to the current desktop environment.

hm, that sounds neat.

however, in a first step of the process, we'd need to check if the package is 
actually available as a *.deb package, and if not, fall back to source 
packages. i understand that PolicyKit is a graphical-desktop-only tool, so 
we'd have to see if you can also query simple package information without the 
full GUI; if not, we'll lose the advantage of looking for package formats 
other than .deb at this stage. but even if it was just .deb for now i'd be 
completely happy ;-) and of course, for the actual installation PolicyKit 
makes a lot of sense anyway.

i think i'll try to hack together something standalone like an install.deb() 
function [remove.deb() would be needed, too, but i think we could omit 
update.deb() as this is better left to the system globally]. someday^TM. as 
soon as that works, it should be easy to write a wrapper for 
install.packages() which checks if 'type="deb"' and then calls install.deb(), 
otherwise simply forwards everything to the actual base::install.packages().


viele grüße :: m.eik

-- 
  dipl. psych. meik michalke
  abt. f"ur diagnostik und differentielle psychologie
  institut f"ur experimentelle psychologie
  heinrich-heine-universit"at d"usseldorf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/rkward-devel/attachments/20120418/f12809ed/attachment.sig>


More information about the Rkward-devel mailing list