maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Pybattery - battery statusbar applet with candies (https://talk.maemo.org/showthread.php?t=24905)

Soulfunkdup 2009-08-15 01:49

Re: Pybattery - battery statusbar applet with candies
 
Doh!!! I was just in there earlier today snooping around.

Thanks Fionn!!

neville 2009-08-15 03:03

Re: Pybattery - battery statusbar applet with candies
 
hello,

Looking for some assistance please, this program stopped working so I thought I would re-install, but am getting this error ,

/home/user # apt-get remove advanced-power-monitorReading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
advanced-power advanced-power-monitor
0 upgraded, 0 newly installed, 2 to remove and 88 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 390kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 32379 files and directories currently installed.)
Removing advanced-power ...
Removing advanced-power-monitor ...
invoke-rc.d: not a symlink: "/etc/rc2.d/S50apmd"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S50apmd"
dpkg: error processing advanced-power-monitor (--remove):
subprocess pre-removal script returned error exit status 102
Cache file created successfully.
invoke-rc.d: not a symlink: "/etc/rc2.d/S50apmd"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S50apmd"
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 102
Errors were encountered while processing:
advanced-power-monitor
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

Thanks for any help,

Neville

Saturn 2009-08-15 09:08

Re: Pybattery - battery statusbar applet with candies
 
Hi Neville,

you can try the following (with root privileges):

Code:

mv /etc/rc2.d/S50apmd  /etc/rc2.d/S50apmd.off
then repeat the apt-get remove you already tried.
After re-installing those packages you can do the reverse if needed, i.e.
Code:

mv /etc/rc2.d/S50apmd.off  /etc/rc2.d/S50apmd
From the log you posted it seems there are other problems too.
for e.x.
Quote:

0 upgraded, 0 newly installed, 2 to remove and 88 not upgraded.
3 not fully installed or removed.
I would propose to do the following and post the results. (someone might be able to help on your other problems.)

Code:

apt-get update
apt-get -s upgrade

hope it helps, Chris

neville 2009-08-15 13:19

Re: Pybattery - battery statusbar applet with candies
 
Thanks Chris, I did the move and that did the trick, thanks for your support . About the apt-get upgrade, I read somewhere on this forum it was not recommended in Maemo?
Neville

tso 2009-08-15 13:49

Re: Pybattery - battery statusbar applet with candies
 
the -s means that apt-get will simulate a upgrade, but not actually perform it, so one can see if anything will break.

Saturn 2009-08-15 17:16

Re: Pybattery - battery statusbar applet with candies
 
Quote:

Originally Posted by neville (Post 311968)
Thanks Chris, I did the move and that did the trick, thanks for your support . About the apt-get upgrade, I read somewhere on this forum it was not recommended in Maemo?
Neville

Great!

As tso said, the -s will only simulate and will not do any changes. The intention was to check why you are missing so many updates.

It came to me later that you might be in the middle of a broken SSU update caused by those dangling symlinks. Could it be the case?

neville 2009-08-16 06:31

Re: Pybattery - battery statusbar applet with candies
 
I tried the apt-get upgrade -s and a excerpt from the output is,

pre-installed-documentation-rx44 python-gdata
python2.5-Imaging python2.5-edbus
python2.5-edje python2.5-evas
python2.5-runtime zenity
50 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.
Inst libcomerr2 [1.37-2sarge1] (1.37-2sarge1 Extras:diablo, Extras-devel:diablo)
Conf libcomerr2 (1.37-2sarge1 Extras:diablo, Extras-devel:diablo)


Does this mean anything?

Not sure what you mean by in the middle of a broken SSL ?

Thanks, Neville

Saturn 2009-08-16 11:24

Re: Pybattery - battery statusbar applet with candies
 
Hi, some info on the SSU here: http://wiki.maemo.org/SSU

From your excerpt it can be seen that many python libraries want to get updated, which might be related to your previous problem with the Pybattery (?). Also, in general it is advised to disable the extras-devel repository.

If you'd like to get more advice I would propose to do the following:
Code:

apt-get -s upgrade > /home/user/MyDocs/update_log.txt
The ">" sends the output instead of the screen to a file.

Then attach the update_log.txt file you will create in a new thread and ask for help on which of those updates missing you should install.

412b 2009-08-25 19:35

Road to new versions. RC.
 
So, I decided to share RCs. Feedback is very appreciated.
Advanced Power 0.4.0-rc1
Advanced Power Monitor 0.5.0-rc1
Russian locale for Advanced Power

tso 2009-08-25 21:29

Re: Pybattery - battery statusbar applet with candies
 
bluetooth on (limited)?


All times are GMT. The time now is 20:48.

vBulletin® Version 3.8.8