[packagekit] New error enum: PK_ERROR_REPO_DOWNLOAD_FAILED

Mounir Lamouri mounir.lamouri at gmail.com
Fri Aug 21 06:14:51 PDT 2009


On Fri, Aug 21, 2009 at 2:45 PM, Daniel
Nicoletti<dantti85-pk at yahoo.com.br> wrote:
> I might be wrong but I think it's best to use the MESSAGE enum,
> since with apt download from a mirror migth fail but it can work with
> others, and the problem with using the error is that packagekit
> will not update it's db when refreshCache fails (afaik).
> Maybe changing pk would be better, dunno.

Maybe a message _and_ an error to let backends choose if they want the
error to make refreshCache fails or not.

Mounir


> ----- Mensagem original ----
>> De: Richard Hughes <hughsient at gmail.com>
>> Para: PackageKit users and developers list <packagekit at lists.freedesktop.org>
>> Enviadas: Sexta-feira, 21 de Agosto de 2009 7:58:31
>> Assunto: Re: [packagekit] New error enum: PK_ERROR_REPO_DOWNLOAD_FAILED
>>
>> 2009/8/21 Sebastian Heinlein :
>> > I would like to introduce a new error enum. It would be used if the
>> > download of repository information failed without any further details.
>>
>> It probably wants to be PK_ERROR_REPO_METADATA_DOWNLOAD_FAILED or
>> PK_ERROR_METADATA_DOWNLOAD_FAILED as it's not the repo we're trying to
>> download, it's the metadata.
>>
>> Richard.
>> _______________________________________________
>> PackageKit mailing list
>> PackageKit at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/packagekit
>
>
>
>      ____________________________________________________________________________________
> Veja quais são os assuntos do momento no Yahoo! +Buscados
> http://br.maisbuscados.yahoo.com
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>



More information about the PackageKit mailing list