[packagekit] Backend PPL Installing untrusted packages

Daniel Nicoletti dantti85-pk at yahoo.com.br
Wed May 25 09:17:56 PDT 2011


As nobody replied to my proposal a week ago here
is the patch to the docs and enums.

Please update your backends so our users have a nicer
user experience :D

Best.


 

> Hi,
> the way we deal with untrusted packages today is
> a bit too simple for  an user.
> We simply try to install, then the installation fails
> with some  UNTRUSTED enum error, and then we present
> a useless dialog to the user  telling there are _some_ untrusted
> packages to be installed.
> 
> The  problem here is that the user has no idea of which packages
> are untrusted,  and he has no means (other than trying a distro specific,
> cmd line tool to  tell him) to know it.
> 
> My suggestion to this problem is pertty simple but  maybe you might have
> a better Idea.
> When we simulate the  instalation/upgrade... we (backend) will emit
> all the packages to  install/remove/upgrade and re-emit the packages
> that are untrusted with this  info enum
> PK_INFO_ENUM_UNTRUSTED so that we can present the user
> which  package are going to be installed/removed/upgraded, and
> then which of these  comes from an UNTRUSTED source.
> 
> Richard suggested that the info field had  more possibilities, like
> available, untrusted, security. But imho this will  lead to adding
> too much data when there is only a simple use case.
> 
> If  you have a different idea or agrees with this...
> Comments welcome  :P
> 
> Best,
>  ________________________________
> Daniel Nicoletti - KDE  Developer
> http://dantti.wordpress.com
> When a wicked man dies, his hope  perishes;
> all he expected from his power comes to nothing. Prov.  11:7
> _______________________________________________
> PackageKit mailing  list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pk-untrusted.patch
Type: application/octet-stream
Size: 6966 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20110525/719109b5/attachment-0004.obj>


More information about the PackageKit mailing list