| Prev | 14   22     23   24 |
maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   can't install some apps(or update) (https://talk.maemo.org/showthread.php?t=48938)

sandymahrok 2012-09-24 03:26

Re: can't install some apps(or update)
 
Quote:

Originally Posted by michaaa62 (Post 1271173)
That is just one line of the output, there is more. Please post it all, to get best support here!

Always a good idea, but you need rootsh installed for the commands to succeed in X-Terminal application.
Code:

sudo gainroot
dpkg --configure -a
apt-get install -f


~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dpkg --configure -a
/home/user # apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
1 not fully installed or removed.
Need to get 0B/220kB of archives.
After this operation, 0B of additional disk space will be used.
(Reading database ... 29246 files and directories currently installed.)
Preparing to replace php5-common 5.2.6-6maemo5 (using .../php5-common_5.2.6-6maemo5_armel.deb) ...
Unpacking replacement php5-common ...
dpkg (subprocess): unable to execute old post-removal script: No such file or directory
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new post-removal script: No such file or directory
dpkg: error processing /var/cache/apt/archives/php5-common_5.2.6-6maemo5_armel.deb (--unpack):
subprocess new post-removal script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: No such file or directory
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/php5-common_5.2.6-6maemo5_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #

again this error comes plz help.

thedead1440 2012-09-24 05:50

Re: can't install some apps(or update)
 
I'm not sure about the n900 but for the above error what I would do is:

- Delete php5-common_5.2.6-6maemo5_armel.deb from /var/cache/apt/archives/

- Do apt-get install -f after the above

If it still complains about the Post-removal script, do:

dpkg --remove --force-remove-reinstreq php5-common


If still the post-removal script error comes then delete the post-removal script from:

/va/lib/dpkg/info/


The above is what I think should fix it up...

michaaa62 2012-09-24 06:11

Re: can't install some apps(or update)
 
Also try
Code:

sudo gainroot
mkdir /var/lib/php5/
dpkg --configure -a
apt-get purge php5-common


sandymahrok 2012-09-25 12:39

Re: can't install some apps(or update)
 
after appling all this commands again that error comes. i also delete post removal script from var/lib/dpkg/info but nothing change when i install some other application with faster application it automaticaly start to install php5-common but unable to install error comes. and unable to install or remove any application through faster application manager.i also tried to unistall through application manager but error comes that unable to unistall package is broken.

michaaa62 2012-09-25 14:00

Re: can't install some apps(or update)
 
Please do not describe it... Please show the output of the commands for further support here.

sandymahrok 2012-09-25 17:40

Re: can't install some apps(or update)
 
thang god finaly remove php5-common the problem is solved thanks guys.

skate_boy92 2012-11-10 10:02

Re: can't install some apps(or update)
 
There are some apps cann't be installed, it says the same thing :"Failed to fetch packages - Your network connection might be down or your catalogs could be out of date"

Any solution?

rakeshyadav 2012-12-15 05:45

Re: can't install some apps(or update)
 
i thing i will try instal some update,then we see.


| Prev | 14   22     23   24 |
All times are GMT. The time now is 06:37.

vBulletin® Version 3.8.8