Notices


Reply
Thread Tools
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#421
Originally Posted by gerstavros View Post
At me, using ramzez, shows wrong values. Exactly apm doesnīt understand the space used by ramzswap. It seems that it takes the values from "free". 412b, when you complete your current work, it would be nice to try to make apm to take the memory state from /proc/meminfo (where values are right)
It does take it from /proc/meminfo, so deeper investigation needed.
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#422
Originally Posted by corsac View Post
Running on an N900 (from ssh as root)
What version are you using? 0.5.1-3?
I think, I'm gonna add extra version info in output
And try run it directly on device. It shouldn't make any difference, but all can happen

EDIT: -src packages had wrong files Fixed the building script, so everything should be right.

Last edited by 412b; 2010-01-09 at 22:20. Reason: Found the reason of such behaviour on N900
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#423
Can we upgrade normally, or we still need to remove completely the previous version? (Although i donīt see any problem)

EDIT: i couldnīt upgrade. I īll reinstall

Last edited by gerstavros; 2010-01-10 at 11:39.
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#424
Big problem here. I removed advanced-power, but cannot remove or reinstall the advanced-power-monitor! What can i do?
Code:
Upgrading advanced-power-monitor 0.5.1-3 to 0.5.1-4
Selecting previously deselected package advanced-power-monitor.
(Reading database ... 21840 files and directories currently installed.)
Preparing to replace advanced-power-monitor 0.5.1-3 (using .../advanced-power-monitor_0.5.1-4_all.deb) ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S60apmonitord"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S60apmonitord"
dpkg: warning - old pre-removal script returned error exit status 102
dpkg - trying script from the new package instead ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S60apmonitord"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S60apmonitord"
dpkg: error processing /media/mmc2/.apt-archive-cache/advanced-power-monitor_0.5.1-4_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 102
invoke-rc.d: not a symlink: "/etc/rc2.d/S60apmonitord"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S60apmonitord"
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
 /media/mmc2/.apt-archive-cache/advanced-power-monitor_0.5.1-4_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code:
Uninstalling advanced-power-monitor 0.5.1-3
dpkg: error processing advanced-power-monitor (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 advanced-power-monitor
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#425
Originally Posted by gerstavros View Post
Big problem here. I removed advanced-power, but cannot remove or reinstall the advanced-power-monitor! What can i do?
Hmmm... You didn't made the symlinks fix as I can see... Well, nevertheless you can download advanced-power-monitor-0.5.1-3, install and then remove it, after that install 0.5.1-4. E.g.:
Code:
sudo apt-get --reinstall install advanced-power-monitor && sudo apt-get remove advanced-power-monitor && sudo apt-get install advanced-power-monitor
It's kinda proper way. And make symlinks fix

EDIT: Btw, I've installed ramzez. All seems to be OK.

Last edited by 412b; 2010-01-10 at 12:48.
 
Saturn's Avatar
Posts: 1,647 | Thanked: 2,116 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#426
You can also fix it by doing the following (as root):

Code:
mv /etc/rc2.d/S60apmonitord /etc/rc2.d/S60apmonitord.old
apt-get update
apt-get -f install
apt-get install advanced-power-monitor
mv /etc/rc2.d/S60apmonitord.old /etc/rc2.d/S60apmonitord
hope is helps.
 

The Following User Says Thank You to Saturn For This Useful Post:
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#427
Originally Posted by 412b View Post
Hmmm... You didn't made the symlinks fix as I can see... Well, nevertheless you can download advanced-power-monitor-0.5.1-3, install and then remove it, after that install 0.5.1-4. E.g.:
Code:
sudo apt-get --reinstall install advanced-power-monitor && sudo apt-get remove advanced-power-monitor && sudo apt-get install advanced-power-monitor
It's kinda proper way. And make symlinks fix

EDIT: Btw, I've installed ramzez. All seems to be OK.
I can't install neither advanced-power-monitor nor advanced-power (any versions)
 
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#428
Originally Posted by gerstavros View Post
I can't install neither advanced-power-monitor nor advanced-power (any versions)
What did you try? Fixing symlinks? Reinstalling via apt-get?
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#429
Originally Posted by Saturn View Post
You can also fix it by doing the following (as root):

Code:
mv /etc/rc2.d/S60apmonitord /etc/rc2.d/S60apmonitord.old
apt-get update
apt-get -f install
apt-get install advanced-power-monitor
mv /etc/rc2.d/S60apmonitord.old /etc/rc2.d/S60apmonitord
hope is helps.
It fixed, but the "apt-get install advanced-power-monitor" has no meening, it's already installed. And the "mv /etc/rc2.d/S60apmonitord.old /etc/rc2.d/S60apmonitord" wiil overwrite the new S60apmonitord
 
Posts: 160 | Thanked: 85 times | Joined on Jan 2009 @ Greece-Athens
#430
Originally Posted by 412b View Post
What did you try? Fixing symlinks? Reinstalling via apt-get?
reinstalling via apt-get. But now everything seems ok

As about ramzez, at me apm shows that i have ,for example 70 MB free RAM, but according to meminfo i have 30, because 40 MB are used by ramzswap.

Last edited by gerstavros; 2010-01-10 at 17:29.
 
Reply

Tags
applet, battery, python, statusbar

Thread Tools

 
Forum Jump


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