Active Topics

 



Notices


Reply
Thread Tools
Posts: 60 | Thanked: 4 times | Joined on Apr 2011
#231
Originally Posted by michaaa62 View Post
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.
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#232
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...
 

The Following User Says Thank You to thedead1440 For This Useful Post:
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#233
Also try
Code:
sudo gainroot
mkdir /var/lib/php5/
dpkg --configure -a
apt-get purge php5-common
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 60 | Thanked: 4 times | Joined on Apr 2011
#234
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.
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#235
Please do not describe it... Please show the output of the commands for further support here.
 
Posts: 60 | Thanked: 4 times | Joined on Apr 2011
#236
thang god finaly remove php5-common the problem is solved thanks guys.
 
Posts: 121 | Thanked: 60 times | Joined on Jun 2012
#237
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?
 
Posts: 34 | Thanked: 11 times | Joined on Dec 2012
#238
i thing i will try instal some update,then we see.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:09.