View Single Post
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#1
This F.A.Q. contains frequent harmattan terminal errors and warnings meanings.

dpkg: status database area is locked by another process
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory(/var/lib/dpkg/), is another process using it?

It means: status database area is locked by another process
For dummies: another process doing package installation/removal or refreshing packages cache
How to solve:
A (easy). wait until process finished.
B (faster). kill pkgmgrd process
C (stupid). reboot

W: Duplicate sources.list entry
It means: sources list contains duplicate entries
For dummies: you enabled same repository twice or more
How to solve: search in /etc/apt/sources.list.d folder for duplicate entries in all files inside. Remove duplicate lines.

Aegis rejecting [filename]: package '[package name]' already installed from 'com.nokia.maemo' -- not replacing it from unknown origin
It means: package already installed from trusted source, it can't be replaced from unknow origin.
For dummies: you trying to install unsigned package (from untrusted source), but it already installed from trusted one.
How to solve: STOP if you trying to replace system package. You dong wrong. But if package is not a system part, you need to remove package before.

Package [package name]: denied '[origin name]' -- origin '' does not allow it
It means: Package's aegis manifest requires extra credentials, but it can't be allowed by origin
For dummies: You trying to install package which requires extra credentials without using inception/openmode methods.
How to solve: Use Inception/Openmode methods for installing package. If you have no idea how to do it - go away and read instruction before

Reinstallation of [package name] is not possible, it cannot be downloaded.
It means: package cannot be downloaded
For dummies: package installer application can't locate file to install.
How to solve:
A. apt-get update. Probably your package indexes are outdated
B. Check your internet connection.

aegis-loader: Failed loading policy for '[policy name]'
warning, in file '/var/lib/dpkg/available' near line [number] package '[package name]':

It means: restok config malformed
For dummies: aegis configuration malformed. you installed package requires extra credentials without using Inception/Openmode methods
How to solve: change device owner. current one is stupid.

W: Failed to fetch [repository]
W: Some index files failed to download, they have been ignored, or old ones used instead.

It means: cannot fetch repository packages list
For dummies: Repository host down, moved or unavailable.
How to solve: remove repository entry from sources list

Aegis rejecting [filename]: Could not open debian archive
It means: debian archive can't be opened
For dummies: file does not exists.
How to solve check file path, escape special characters like space, add with backslashes.

Aegis rejecting [filename]: package '[package name]' origin cannot be determined -- signature check failed
It means: cannot get package signature info
For dummies: package origin source is removed or source information malformed
How to solve:
A. Refresh packages list.
B. Restore package source/remove package source properly. Do not disable aegis added sources manually.
C. Do not use two repositories contain same package, if one of repositories untrusted.

W: GPG error : [repository url]
Release: Following signs aren't veryfied because public key isn't avialable: No_PUBKEY [pubkey value]

It means: no installed public key found for signed repositoru
For dummies: repository support pubkey verification as certified source, but pubkey wasn't installed
How to solve: check repository installation notes on repository author's web page.
For example for OpenRepos you should add pubkey as following:
Code:
devel-su
wget -O - http://harmattan.openrepos.net/openrepos.key | apt-key add -
if you have troubles with wget, you can just download
http://harmattan.openrepos.net/openrepos.key
and add it:
Code:
devel-su
apt-key add /path/to/openrepos.key
W: Ignoring Provides line with DepCompareOp for package [packagename]
It means: [packagename] have broken contol file (maybe port from debian?)
For dummies: Installation process ignored some lines from package contol file
How to solve: It is not an error and [packagename] not related to installing package. Just ignore.

Package [packagename]: <for> refers to '[other packagename]::[binary path]', not installed by that package -- ignored
It means: Package have invalid aegis manifest structure, some lines ignored
For dummies: Some credentials requests from aegis manifest for current package can't be allowed, because requested credentials not related to installed package
How to solve: It is not an error and package will work as it should. Just ignore.

dpkg: requested operation requires superuser privileges
It means: dpkg should be launched with root privileges
For dummies: you executing dpkg command as regular user, but it requires root
How to solve: you need to gain root privileges using devel-su or sudo
__________________
Telegram | Openrepos | GitHub | Revolut donations

Last edited by coderus; 2014-05-21 at 12:46.
 

The Following 34 Users Say Thank You to coderus For This Useful Post: