[packagekit] error on remove/install
Richard Hughes
hughsient at gmail.com
Thu Nov 8 10:41:46 PST 2007
On Thu, 2007-11-08 at 11:40 -0500, Ken VanDine wrote:
> [pk_engine_remove_package] pk-engine.c:1623 (11:38:31): RemovePackage
> method called: 7;dcbaebbe;data,
> tmpwatch;2.9.10-2-2;x86;/conary.rpath.com at rpl:devel/2.9.10-2-2, 0
> [pk_strvalidate] pk-common.c:216 (11:38:31): invalid char in text!
Ahh, your package_id is tripping up the pk_strvalidate method - it
thinks you're passing the method dangerous chars and hence refuses it.
static gboolean
pk_strvalidate_char (gchar item)
{
switch (item) {
case ' ':
case '$':
case '`':
case '\'':
case '"':
case '^':
case '[':
case ']':
case '{':
case '}':
case '@':
case '#':
case '\\':
case '<':
case '>':
case '|':
return FALSE;
}
return TRUE;
}
So, your package_id is not valid because it contains an @ symbol, which
is quite clearly a bug as you guys need this char. I've removed this
char from the blacklist. Can you pull and try once again please? Thanks.
Richard.
More information about the PackageKit
mailing list