View Single Post
Posts: 224 | Thanked: 132 times | Joined on Jun 2012 @ Cairo ;Egypt
#1
hi

I've installed Aegis And directed me some problems Possible help especially from coderus


When I made upgrade to busybox-power This message appears


HTML Code:
Aegis rejecting /var/cache/apt/archives/busybox-power_1.21.1power1_armel.deb: package 'busybox-power' origin cannot be determined  -- signature check failed
Failed '/var/lib/aegis/restok/restok.conf' signature check -- retrying without check
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
E: Sub-process /usr/bin/dpkg returned an error code (255)
Nokia-N900:~#

i installed it with dpkg This message appears


HTML Code:
/opt/var/cache/apt/archives # dpkg --force-all -i busybox-pow
er_1.21.1power1_armel.deb
Failed '/var/lib/aegis/restok/restok.conf' signature check -- retrying without check
Aegis rejecting busybox-power_1.21.1power1_armel.deb: package 'busybox-power' origin cannot be determined  -- signature check failed
Failed '/var/lib/aegis/restok/restok.conf' signature check -- retrying without check
aegis aborting dpkg -- all listed package files rejected
Compilation failed in require.
/opt/var/cache/apt/archives #

I solve it by add AEGIS_FIXED_ORIGIN=com.nokia.maemo


HTML Code:
/opt/var/cache/apt/archives # AEGIS_FIXED_ORIGIN=com.nokia.maemo dpkg --force-all -i busybox-pow
er_1.21.1power1_armel.deb
dpkg: serious warning: files list file for package `aegis-crypto-tools' missing, assuming package has no files currently installed.
Preparing to replace busybox-power 1.21.0power2+thumb1 (using busybox-power_1.21.1power1_armel.deb) ...
Removing `diversion of /bin/busybox to /opt/busybox-power/busybox.distrib by busybox-power'
Unpacking replacement busybox-power ...
Setting up busybox-power (1.21.1power1) ...
Adding `diversion of /bin/busybox to /opt/busybox-power/busybox.distrib by busybox-power'
aegis-installing busybox-power (from 'com.nokia.maemo')
apscli.cpp(754): ERROR: Error renaming '/var/lib/aegis/restok/restok.conf.new' to '/var/lib/aegis/restok/restok.conf' (No such file or directory)
aegis-loader: File '/var/lib/aegis/restok/restok.conf' fails 'tcb' signature
aegis-loader: Rejecting untrusted configuration -- policy not loaded
Failed aegis-loader
/opt/var/cache/apt/archives #

Is there another way to solve this problem


I found a solution by modify /root/.bashrc script by adding following line:
Code:

alias tcb='AEGIS_FIXED_ORIGIN=com.nokia.maemo'

then just use "tcb" alias:
Code:

tcb apt-get install package

or
Code:

tcb dpkg -i package.deb


http://talk.maemo.org/showpost.php?p...&postcount=238


But It did not succeed because in maemo There are no tcb And so there is no /var/lib/aegis/refhashlist


Is there another solution to these messages does not appear Knowing I've remove aegis But the problem persists!!