Reply
Thread Tools
Posts: 201 | Thanked: 57 times | Joined on May 2010
#1
I can't upgrade or remove packages due to this error. Any suggestions would be greatly appreciated, here is the info from x-terminal:

Nokia-N900:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
pcsxrearmed
The following NEW packages will be installed:
pcsxrearmed
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
Need to get 0B/423kB of archives.
After this operation, 889kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 29018 files and directories currently installed.)
Unpacking pcsxrearmed (from .../pcsxrearmed_0.4_armel.deb) ...
dpkg: error processing /var/cache/apt/archives/pcsxrearmed_0.4_armel.deb (--unpack):
trying to overwrite `/opt/maemo/usr/games/pcsx', which is also in package pcsx-m
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/pcsxrearmed_0.4_armel.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Nokia-N900:~#
 
Posts: 1,746 | Thanked: 2,100 times | Joined on Sep 2009
#2
Remove pcsx-m, or whatever the name of the previous playstation emulator is that you installed, first.

apt-get remove pcsx-m
 
Posts: 201 | Thanked: 57 times | Joined on May 2010
#3
Originally Posted by wmarone View Post
Remove pcsx-m, or whatever the name of the previous playstation emulator is that you installed, first.
Thanks, but I tried that but still returning the same error with any paclage i want to remove even unrelated packages.
 
Posts: 201 | Thanked: 57 times | Joined on May 2010
#4
Delete This Thread

i figured it out thanks for the help
 

The Following User Says Thank You to isfr21 For This Useful Post:
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#5
Originally Posted by isfr21 View Post
Delete This Thread

i figured it out thanks for the help
Perhaps you could actually post the solution you found, so that anyone else with the same issue in future can fix it as well?
 

The Following 6 Users Say Thank You to Rob1n For This Useful Post:
Posts: 112 | Thanked: 92 times | Joined on Nov 2010
#6
I also have the same issue.. while installing Shortcutd my battery gave up, now i cant remove or install shortcutd, in settings the shortcud panel is there also...any help appriciated

ps: tried HAM/ FAM,
apt-get remove/ install/update/upgrade..etc (-f)..(in root)

seme error

dpkg: error processing shortcutd (--remove)
supbrocess pre-removal script returned error exit status 1

...etc etc


Is there any way to delete the app manually and force reinstall it ?

thanks.
Nkirk.
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#7
Try
Code:
sudo dpkg --force-remove-reinstreq "package"
Note that if this works, the system will forget about the package and perhaps leave a few files behind.

Alternatively, it can be useful to see the exact dpkg error and on the n900 I don't think this gets logged in /var/log... (may be wrong there). So, if you can find the deb in /var/cache/apt/archive/ or download it somewhere and do
Code:
sudo dpkg -i xxxxx.deb
then you might get a precise idea of why it fails...
 
Posts: 201 | Thanked: 57 times | Joined on May 2010
#8
Yeah sorry bout that, for me it was pcsx-m that was causing conflicts trying to install psx4m, and as a result caused an error when trying to remove or install other packages. I had to remove psx4m, it allowed me to do that, then remove pcsx-m then install psx4m again. sorry for neglecting to post solution. Thanks for pointing that out Rob1n
 

The Following User Says Thank You to isfr21 For This Useful Post:
Posts: 43 | Thanked: 7 times | Joined on Aug 2010 @ India
#9
Hey Guys,

I m facing the same problem.. I tried to install preenv, tried to do autoremove as well... but i m getting the same error.

E: Sub-process /usr/bin/dpkg returned an error code (1)

please help me out to give me the steps for solving this problem..

Regards

Sahil Khiwani
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#10
Please give the output of
Code:
sudo gainroot
apt-get install -f
dpkg --configure -a
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 03:30.