1 /* opkg_error.h - the opkg package management system
3 Copyright (C) 2008 OpenMoko Inc
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License as
7 published by the Free Software Foundation; either version 2, or (at
8 your option) any later version.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
20 OPKG_ERR_UNKNOWN
= -1,
23 OPKG_CONF_ERR_DEFAULT_DEST
, /* could not set default dest */
24 OPKG_CONF_ERR_PARSE
, /* error parsing config file */
25 OPKG_CONF_ERR_TMP_DIR
, /* could not create temporary directory */
26 OPKG_CONF_ERR_LOCK
, /* could not get opkg lock */
28 OPKG_PKG_DEPS_UNSATISFIED
,
29 OPKG_PKG_IS_ESSENTIAL
,
30 OPKG_PKG_HAS_DEPENDENTS
,
31 OPKG_PKG_HAS_NO_CANDIDATE
,
32 OPKG_PKG_HAS_NO_AVAILABLE_ARCH
,
34 OPKG_INSTALL_ERR_NOT_TRUSTED
,
35 OPKG_INSTALL_ERR_DOWNLOAD
,
36 OPKG_INSTALL_ERR_CONFLICTS
,
37 OPKG_INSTALL_ERR_ALREADY_INSTALLED
,
38 OPKG_INSTALL_ERR_DEPENDENCIES
,
39 OPKG_INSTALL_ERR_NO_DOWNGRADE
,
40 OPKG_INSTALL_ERR_NO_SPACE
,
41 OPKG_INSTALL_ERR_SIGNATURE
,
43 OPKG_INSTALL_ERR_INTERNAL
,
44 OPKG_INSTALL_ERR_SHA256
,
47 typedef enum opkg_error opkg_error_t
;
52 struct errlist
* next
;
55 #endif /* OPKG_ERROR_H */