maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Need help I have a problem in Aegis (https://talk.maemo.org/showthread.php?t=91097)

amr.fayz 2013-08-21 13:14

Need help I have a problem in Aegis
 
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!!

coderus 2013-08-21 13:21

Re: Need help I have a problem in Aegis
 
hm. you installed Aegis into your maemo N900? why you need this?

delmar 2013-08-21 13:26

Re: Need help I have a problem in Aegis
 
Quote:

Originally Posted by coderus (Post 1368536)
hm. you installed Aegis into your maemo N900? why you need this?

Maybe the N900 was too open?

thedead1440 2013-08-21 13:38

Re: Need help I have a problem in Aegis
 
Haha this has to certainly be one of the epic fails of recent times...

People if you want your N900 to be so much like a N9; just get one instead of doing such things...

amr.fayz 2013-08-21 14:35

Re: Need help I have a problem in Aegis
 
Quote:

Originally Posted by coderus (Post 1368536)
hm. you installed Aegis into your maemo N900? why you need this?


By Mistake

amr.fayz 2013-08-21 14:39

Re: Need help I have a problem in Aegis
 
Quote:

Originally Posted by thedead1440 (Post 1368539)
Haha this has to certainly be one of the epic fails of recent times...

People if you want your N900 to be so much like a N9; just get one instead of doing such things...


I do not mean that i installed it By Mistake and I've remove aegis But the problem persists!!

I've remove it Also from /var/lib/dpkg/available and /var/lib/dpkg/info/ but
The problem exists Is there a way to solve it

marmistrz 2013-08-21 14:55

Re: Need help I have a problem in Aegis
 
Quote:

Originally Posted by amr.fayz (Post 1368548)
By Mistake

How the hell did you do it? :P aegis-enabler didn't work on N900.

javispedro 2013-08-21 15:52

Re: Need help I have a problem in Aegis
 
Just restore the old dpkg.

amr.fayz 2013-09-09 15:14

Re: Need help I have a problem in Aegis
 
Quote:

Originally Posted by marmistrz (Post 1368550)
How the hell did you do it? :P aegis-enabler didn't work on N900.


:) Well I got it when I was trying to install meego app like this


http://www.mediafire.com/convkey/92e...czjhsiwcfg.jpg

http://www.mediafire.com/convkey/930...1yfosjelfg.jpg

http://www.mediafire.com/convkey/126...x6fc7jbufg.jpg

http://www.mediafire.com/convkey/a6f...hlv1nwclfg.jpg

http://www.mediafire.com/convkey/b60...wcxha2gpfg.jpg


and i put Aegis deb file By Mistake with other deb file and i install it and have this problem Asked me some files I putting it Until I got to this problem

i solve it by use aegis-dpkg Instead of dpkg

amr.fayz 2013-09-09 15:23

Re: Need help I have a problem in Aegis
 
Quote:

Originally Posted by javispedro (Post 1368555)
Just restore the old dpkg.


i install dpkg But unresolved How can restore the old dpkg by coping it or How ? Note that the old file I don't have it


All times are GMT. The time now is 21:47.

vBulletin® Version 3.8.8