maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Can't install 2 plugins that I already had. (https://talk.maemo.org/showthread.php?t=57510)

HeavyComponent 2010-07-01 00:01

Can't install 2 plugins that I already had.
 
The 2 plugins are "extra protocol plugins for conversations and contacts" and "people nearby plugin for conversations and contacts".

Anyone know the issue with these two? I even reflashed back to default and same issue.

Thanks!

HeavyComponent 2010-07-01 07:08

Re: Can't install 2 plugins that I already had.
 
Anyone? What do you guys do if you can't install something?

HeavyComponent 2010-07-01 08:40

Re: Can't install 2 plugins that I already had.
 
After I do the commands im X Terminal "apt-get clean and apt-get autoremove". This is what I get...

Code:

/home/user # apt-get clean
/home/user # apt-get autoremove
Reading package lists... Done
Building dependency tree     
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up account-plugin-salut (0.10) ...
/var/lib/dpkg/info/account-plugin-salut.postinst: line 6: /etc/init.d/avahi-daemon: not found
dpkg: error processing account-plugin-salut (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of telepathy-extras:
 telepathy-extras depends on account-plugin-salut; however:
  Package account-plugin-salut is not configured yet.
dpkg: error processing telepathy-extras (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 account-plugin-salut
 telepathy-extras
E: Sub-process /usr/bin/dpkg returned an error code (1)

What does all this mean and it says "2 are fully not installed or remove". How do I check which ones?

direx 2010-07-01 08:45

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by HeavyComponent (Post 736764)
Code:

/var/lib/dpkg/info/account-plugin-salut.postinst: line 6: /etc/init.d/avahi-daemon: not found
dpkg: error processing account-plugin-salut (--configure):
 subprocess post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of telepathy-extras:


This looks bad. Maybe you should try to fix your avahi daemon first. I'd try this:
Code:

dpkg --purge avahi-daemon
apt-get install avahi-daemon


HeavyComponent 2010-07-01 09:07

Re: Can't install 2 plugins that I already had.
 
direx,

Thanks for the reply. I did what you wrote and this is what I got.

Code:

/home/user # dpkg --purge avahi-daemon
dpkg: dependency problems prevent removal of avahi-daemon:
 avahi-dnsconfd depends on avahi-daemon.
dpkg: error processing avahi-daemon (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 avahi-daemon
/home/user # apt-get install avahi-daemon
Reading package lists... Done
Building dependency tree     
Reading state information... Done
avahi-daemon is already the newest version.
avahi-daemon set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Now what?

nicolai 2010-07-01 09:13

Re: Can't install 2 plugins that I already had.
 
http://talk.maemo.org/showpost.php?p=653761&postcount=4

HeavyComponent 2010-07-01 14:36

Re: Can't install 2 plugins that I already had.
 
nicoai,

Thanks for the reply, but what does he mean by "Edit /var/lib/dpkg/info/account-plugin-salut.postinst and comment out"?

I put the commands in...

Code:

/etc/init.d/avahi-daemon start
# /etc/init.d/avahi-daemon start

This is what I got below and whatever should happen did happen. I'm new to all this and I need someone to explain fully.

Code:

home/user # /etc/init.d/avahi-daemon start
/bin/sh: /etc/init.d/avahi-daemon: not found
/home/user # # /etc/init.d/avahi-daemon start
/home/user #

Thanks

HeavyComponent 2010-07-01 20:00

Re: Can't install 2 plugins that I already had.
 
Anyone else know anything?

PradaBrada 2010-07-01 20:04

Re: Can't install 2 plugins that I already had.
 
Retire, relax, enjoy your family. It is just a phone. Not worth it.

HeavyComponent 2010-07-01 20:27

Re: Can't install 2 plugins that I already had.
 
PradaBrada,

If it's just a phone ...why are you on this site? No need to be a member. Just run it the way it is out the box. I'm sure you didn't and added stuff through this site.

If anyone has a solution please post. Thank you!

emorace 2010-07-01 20:43

Re: Can't install 2 plugins that I already had.
 
you´re not alone, i have the same exact problem :(

They worked like charme, then there was an automatic update ...and know, the Plugins work anymore.

HammY 2010-07-01 22:07

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by emorace (Post 737830)
you´re not alone, i have the same exact problem :(

They worked like charme, then there was an automatic update ...and know, the Plugins work anymore.


I also have exact same problem - started shortly after upgrading to PR1.2

Hopefully some skilled person can advise.

--
HammY

HeavyComponent 2010-07-02 08:59

Re: Can't install 2 plugins that I already had.
 
Good to know I'm not the only with this issue.

nicolai 2010-07-02 15:54

Re: Can't install 2 plugins that I already had.
 
For this instruction
http://talk.maemo.org/showpost.php?p=653761&postcount=4
you need to have root access to your device:
http://wiki.maemo.org/Root_access
Then you can edit the file:
/var/lib/dpkg/info/account-plugin-salut.postinst
In this file is a line:
/etc/init.d/avahi-daemon start
and you have to put a # at the beginning of this line:
#/etc/init.d/avahi-daemon start
Now you should now be able to update this package.

Or contact the maintainer of this package and ask for help.

regards nicolai

HammY 2010-07-02 19:40

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by nicolai (Post 738710)
For this instruction
http://talk.maemo.org/showpost.php?p=653761&postcount=4
you need to have root access to your device:
http://wiki.maemo.org/Root_access
Then you can edit the file:
/var/lib/dpkg/info/account-plugin-salut.postinst
In this file is a line:
/etc/init.d/avahi-daemon start
and you have to put a # at the beginning of this line:
#/etc/init.d/avahi-daemon start
Now you should now be able to update this package.

Or concact the maintainer of this package and ask for help.

regards nicolai


Does this fix the problem, or just hide it ? It would be good to get the updates installed.

**UPDATE: I commented out the line as instructed and have successfully updated (only 1 of the 2 appeared, along with a few newer updates for unrelated apps) . Now 'No updates available' :O) I have re-edited the file to remove the comment - and all seem fine. Thanks!

--
HammY

HeavyComponent 2010-07-02 20:55

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by nicolai (Post 738710)
For this instruction
http://talk.maemo.org/showpost.php?p=653761&postcount=4
you need to have root access to your device:
http://wiki.maemo.org/Root_access
Then you can edit the file:
/var/lib/dpkg/info/account-plugin-salut.postinst
In this file is a line:
/etc/init.d/avahi-daemon start
and you have to put a # at the beginning of this line:
#/etc/init.d/avahi-daemon start
Now you should now be able to update this package.

Or contact the maintainer of this package and ask for help.

regards nicolai

Thanks for the instructions, I will give it a go and report back.

EDIT: I put the line below in X Terminal and "file not found".

Code:

/var/lib/dpkg/info/account-plugin-salut.postinst

klmace 2010-07-03 04:28

Re: Can't install 2 plugins that I already had.
 
@nicolai
Thanks for the write up, it worked for me to install the update. Now that it's updated should I remove the comment again or is there another fix for this now in place?

Thanks,
Kevin

kureyon 2010-07-03 08:12

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by HeavyComponent (Post 739002)
EDIT: I put the line below in X Terminal and "file not found".

Code:

/var/lib/dpkg/info/account-plugin-salut.postinst

1) You need to be root
2) You need to edit the file, not just type in the name of the file

So open an X Terminal, then type:

Code:

sudo gainroot
vi /var/lib/dpkg/info/account-plugin-salut.postinst


But BEFORE you do that, find yourself a good tutorial on the basics of using the vi editor!

HeavyComponent 2010-07-03 12:13

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by kureyon (Post 739322)
1) You need to be root
2) You need to edit the file, not just type in the name of the file

So open an X Terminal, then type:

Code:

sudo gainroot
vi /var/lib/dpkg/info/account-plugin-salut.postinst


But BEFORE you do that, find yourself a good tutorial on the basics of using the vi editor!

Oh ok, but instead of me finding a tutorial why don't you just type here exactly what you did so I can do it and call it a day.

SpRoOoOo 2010-07-25 16:01

Re: Can't install 2 plugins that I already had.
 
have you found a solution for this problem . I can't see to get it !!

After you do this :

Code:
sudo gainroot
vi /var/lib/dpkg/info/account-plugin-salut.postinst

and then .....

HammY 2010-07-26 09:32

Re: Can't install 2 plugins that I already had.
 
Quote:

Originally Posted by SpRoOoOo (Post 764218)
have you found a solution for this problem . I can't see to get it !!

After you do this :

Code:
sudo gainroot
vi /var/lib/dpkg/info/account-plugin-salut.postinst

and then .....


Use the 'vi' editor to comment out the command line:
/etc/init.d/avahi-daemon start

by adding a # at the beginning of the line so it becomes:
#/etc/init.d/avahi-daemon start

This command is then ignored allowing the updates to happen :)

After updating I removed the # and have had no problems.

lilboymonkey 2010-07-27 01:49

Re: Can't install 2 plugins that I already had.
 
I just ssh'ed into /var/lib/dpkg/info/account-plugin-salut.postinst and opened it with notepad, added the #, save and overwrite. seems to work fine so far

downstormaf 2011-02-16 01:39

Re: Can't install 2 plugins that I already had.
 
I've had the same problem but could finally solve it:

these are some reply from before:

Code:
sudo gainroot
vi /var/lib/dpkg/info/account-plugin-salut.postinst

and then .....


Use the 'vi' editor to comment out the command line:
/etc/init.d/avahi-daemon start

by adding a # at the beginning of the line so it becomes:
#/etc/init.d/avahi-daemon start

************************************************** *******************************
In order to use properly the vi command line goes as follows;

once inside the account-plugin-salut.postinst
press i (just the letter i in which activated the Insert function)
then, add the # like mentioned before
(# /etc/init.d/avahi-daemon start)
press the "ESC" button of the xterminal to leave insert function
now write
:wq
(which means w - write (save), q - quit the editing mode)

Now do what ever you wanted to do...
This command is then ignored allowing the updates to happen

adhiktuz 2011-06-08 13:21

Re: Can't install 2 plugins that I already had.
 
great it works. thanks.


All times are GMT. The time now is 12:17.

vBulletin® Version 3.8.8