Notices


Reply
Thread Tools
Posts: 129 | Thanked: 11 times | Joined on Jan 2009 @ New York, NY
#1
A few weeks ago I tried to install "advanced-power," and "advanced-power-monitor" and got the response "unable to install." However, it showed up in the Installed Applications section with an exclamation mark. Then I tried to uninstall the programs and it wouldn't let me. Now the battery notifier randomly highlights and displays the battery information, and it is very annoying. Any advice?
 
Posts: 129 | Thanked: 11 times | Joined on Jan 2009 @ New York, NY
#2
Doing a bit more searching, I found this post on my topic (except that I was never able to even fully install the program): http://talk.maemo.org/showthread.php?t=24905&page=2#15

I tried following these steps, but the problem persists. Is there a way to manually delete these files? I found a advanced-power-monitor.list file in /var/lib/dpkg/info that list a bunch of files. If I delete these, is the program "uninstalled"? Is there a way to remove a program and circumventing the application manager? I also tried sudo apt-get remove, which also gave me an error:

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
Errors were encountered while processing:
advanced-power-monitor
E: Sub-process /usr/bin/dpkg returned an error code (1)
Finally, I have even tried to restore my tablet to an old back-up I have but the program persists.

Ii want to see if anyone has any other options before I just give up and flash the thing.

Thanks.
 

The Following User Says Thank You to jmc8501 For This Useful Post:
Posts: 4,030 | Thanked: 1,633 times | Joined on Jul 2007 @ nd usa
#3
xterm
sudo gainroot
dpkg --purge "apps" (without the quote)
That should get you uninstall the apps

xterm
sudo gainroot
apt-get install adv...monitor (put in the name of the apps, i remember you have to do monitor 1st)
apt-get install adv...power

where is your back-up?

post results please,

bun
 
Posts: 129 | Thanked: 11 times | Joined on Jan 2009 @ New York, NY
#4
It gave me a similar response to when I tried apt-get remove:
/home/user # dpkg --purge advanced-power-monitor
(Reading database ... 19698 files and directories currently installed.)
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 (--purge):
subprocess pre-removal script returned error exit status 102
Errors were encountered while processing:
advanced-power-monitor
/home/user # apt-get remove advanced-power-monitor
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libenchant1c2a unrar libidn11 unzip libwebkit-1.0-1 libxslt1.1
libhunspell-1.1-0
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
advanced-power-monitor
0 upgraded, 0 newly installed, 1 to remove and 71 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 39.9kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 19698 files and directories currently installed.)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
Errors were encountered while processing:
advanced-power-monitor
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think the back-up file is saved on the internal memory card. Also, maybe this problem is because I tried to install advanced-power first and not advanced-power-monitor
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 129 | Thanked: 11 times | Joined on Jan 2009 @ New York, NY
#6
That fixed the problem! Thanks qwerty12, and thanks bunanson!
 
Posts: 129 | Thanked: 11 times | Joined on Jan 2009 @ New York, NY
#7
Lately, I've been having problems with openssh, openssh-server, and openvpn. So I decided to reinstall, but the application manager wont let me, and I can't remove it even with the terminal commands. the messages I get are very similar to what I got before with the advanced power app, but obviously I've already changed the invoke-rc.d file (I double checked to make sure the file had not reverted or anything). Also, I cannot uninstall openbox, which seems somehow tied to openssh.

some specifics:
/home/user # apt-get remove openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
openssh-client
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
openssh openssh-server
0 upgraded, 0 newly installed, 2 to remove and 74 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 463kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 19514 files and directories currently installed.)
Removing openssh ...
Removing openssh-server ...
/usr/sbin/invoke-rc.d: eval: line 1: echo/etc/rc2.d/S55ssh: not found
invoke-rc.d: not a symlink: "/etc/rc2.d/S55ssh"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S55ssh"
dpkg: error processing openssh-server (--remove):
subprocess pre-removal script returned error exit status 102
Errors were encountered while processing:
openssh-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

/home/user # dpkg --purge openssh-server
(Reading database ... 19514 files and directories currently installed.)
Removing openssh-server ...
/usr/sbin/invoke-rc.d: eval: line 1: echo/etc/rc2.d/S55ssh: not found
invoke-rc.d: not a symlink: "/etc/rc2.d/S55ssh"
invoke-rc.d: dangling symlink: "/etc/rc2.d/S55ssh"
dpkg: error processing openssh-server (--purge):
subprocess pre-removal script returned error exit status 102
Errors were encountered while processing:
openssh-server
What am I doing wrong? Please help!
 
Posts: 29 | Thanked: 2 times | Joined on Feb 2007
#8
Is anyone else having trouble installing the latest update for the advanced power application?

I've been using the advanced power application for a while and recently updated to the latest version v0.5.0-5 that was released on 23rd October.

Now it has broken as the advanced power application icon no longer appears in the status bar. I've tried toggling from off/on in control panel>panels>status bar but still no longer appears.

Can anyone help please?
 
Fionn's Avatar
Posts: 178 | Thanked: 53 times | Joined on Jul 2007 @ Ireland
#9
Originally Posted by darbax View Post
Is anyone else having trouble installing the latest update for the advanced power application?
The last couple of pages of this thread deal with issues that some people are having installing the latest update.

The statusbar icon not appearing seems to be a common problem.
 

The Following User Says Thank You to Fionn For This Useful Post:
Jaygo333's Avatar
Posts: 56 | Thanked: 10 times | Joined on Feb 2009
#10
Also facing the same problem and get stuck trying qwerty's solution.

When i check my /usr/sbin, I have no invoke-rc.d showing.
Should I create it?

I've enabled hidden files and still don't see it.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:23.