Reply
Thread Tools
Posts: 180 | Thanked: 180 times | Joined on Nov 2014 @ New Delhi, DELHI, INDIA
#1
Just reflashed my N900 and upgraded to CSSU-Thumb. I installed some apps via terminal like mplayer mceledpattern sib kmplayer usbmode and more. Some of them installed allright like filebox and OMP but not all. They return some kind of error I can't understand. I tried apt-get install -f and apt-get upgrade but the same result. Also when I try to install any new program it tries to install those which couldn't be installed and return that error again. Please advise on this matter and provide some solution. Thanks

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

~ $ sudo gainroot
Root shell enabled


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

/home/user # apt-get install busybox-power
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  busybox-power
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
8 not fully installed or removed.
Need to get 483kB of archives.
After this operation, 709kB of additional disk space will be used.
Get:1 http://maemo.merlin1991.at fremantle/free busybox-power 1.23.0power1+thumb0 [483kB]
Fetched 483kB in 9s (51.4kB/s)                             
Selecting previously deselected package busybox-power.
(Reading database ... 22346 files and directories currently installed.)
Unpacking busybox-power (from .../busybox-power_1.23.0power1+thumb0_armel.deb) ...
busybox-power: Maemo5 (N900) environment detected
Please confirm the text on the screen of your device
Setting up libmpcdec3 (1:1.2.2-2.1m5) ...
Optifying usr/share/doc/libmpcdec3 -> /opt/maemo/usr/share/doc/libmpcdec3
mv: cannot rename '/usr/share/doc/libmpcdec3': No such file or directory
dpkg: error processing libmpcdec3 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gstreamer0.10-musepack:
 gstreamer0.10-musepack depends on libmpcdec3; however:
  Package libmpcdec3 is not configured yet.
dpkg: error processing gstreamer0.10-musepack (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of decoders-support:
 decoders-support depends on gstreamer0.10-musepack (>= 0.10.19-maemo1); however:
  Package gstreamer0.10-musepack is not configured yet.
dpkg: error processing decoders-support (--configure):
 dependency problems - leaving unconfigured
Setting up libgsf-1 (1.14.21-1) ...
Optifying usr/share/doc/libgsf-1 -> /opt/maemo/usr/share/doc/libgsf-1
mv: cannot rename '/usr/share/doc/libgsf-1': No such file or directory
dpkg: error processing libgsf-1 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of librsvg2-2:
 librsvg2-2 depends on libgsf-1; however:
  Package libgsf-1 is not configured yet.
dpkg: error processing librsvg2-2 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of kmplayer:
 kmplayer depends on librsvg2-2 (>= 2.26.0); however:
  Package librsvg2-2 is not configured yet.
dpkg: error processing kmplayer (--configure):
 dependency problems - leaving unconfigured
Setting up mplayer (1.0svn20091221-4) ...
Optifying usr/share/doc/mplayer -> /opt/maemo/usr/share/doc/mplayer
mv: cannot rename '/usr/share/doc/mplayer': No such file or directory
dpkg: error processing mplayer (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of sib:
 sib depends on mplayer; however:
  Package mplayer is not configured yet.
dpkg: error processing sib (--configure):
 dependency problems - leaving unconfigured
Setting up busybox-power (1.23.0power1+thumb0) ...
Adding `diversion of /bin/busybox to /opt/busybox-power/busybox.distrib by busybox-power'
Errors were encountered while processing:
 libmpcdec3
 gstreamer0.10-musepack
 decoders-support
 libgsf-1
 librsvg2-2
 kmplayer
 mplayer
 sib
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#2
Originally Posted by princefakhan View Post
Code:
<snip>
Setting up libmpcdec3 (1:1.2.2-2.1m5) ...
Optifying usr/share/doc/libmpcdec3 -> /opt/maemo/usr/share/doc/libmpcdec3
mv: cannot rename '/usr/share/doc/libmpcdec3': No such file or directory
<snip>
There is your problem. The installation is trying to move a file that does not exist. Let me guess - you have "docpurge" installed, right? It watches the doc folder and automatically deletes files to save space.

The solution is to create an empty file usr/share/doc/libmpcdec3 and repeat the installation.
__________________
Русский военный корабль, иди нахуй!
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Posts: 180 | Thanked: 180 times | Joined on Nov 2014 @ New Delhi, DELHI, INDIA
#3
I have no idea what docpurge is and I don't remember installing it. Anyway, I am going to try the method you just suggested.

Thanks.
 
Posts: 180 | Thanked: 180 times | Joined on Nov 2014 @ New Delhi, DELHI, INDIA
#4
thanks pichlo. It worked. You saved the day. :P
 
Posts: 180 | Thanked: 180 times | Joined on Nov 2014 @ New Delhi, DELHI, INDIA
#5
oh no! now other broken packages are are doing the same thing. seems I will have to create many files in that directory.
 
Posts: 915 | Thanked: 3,209 times | Joined on Jan 2011 @ Germany
#6
/usr/share/doc/libmpcdec3 is in the libmpcdec3 package and the optification seems sane*.
There must be some problem specific to your system, not the packages.
Is your root file system full?


*) as sane as the whole concept of optification can be in the first place
 
Posts: 180 | Thanked: 180 times | Joined on Nov 2014 @ New Delhi, DELHI, INDIA
#7
xD

btw, I don't get what you mean by root file system being full. If you are talking about the Memory for installable applications then 831.9 MB is available.

Also, I'm using a custom combined image of 1024 MiB.
 
pichlo's Avatar
Posts: 6,445 | Thanked: 20,981 times | Joined on Sep 2012 @ UK
#8
The N900 has three main storage partitions. It has a few more but these three are the most important:
1) root, about 220 MB, where all the system packages and some other, small programs go
2) opt, about 2 GB, where the rest of the "installable packages" go, as well as most of your package configuration
3) MyDocs, about 27 GB, where your pictures, videos, music etc goes

Space can be reallocated between opt and MyDocs but root is fixed. And, as you can see, rather small, which means it can fill up quite easily.

docpurge is a package, registered to be activated at the end of every installation. There are a few more, catorise may be one of them.

The purpose of docpurge is to, you've guessed it, purge the docs In other words, to remove the documentation that comes bundled with some packages. This is because the default place where most applications put their docs is in /usr/share/doc, which is on a root partition (by the way, "optification" is a process of moving files out of root to opt). You can see the effects of docpurge if you look in /usr/share/doc. On my device, there is a single file, README, with the contents, "Purged by docpurge".

As far as I know, docpurge is installed by default, which means /usr/share/doc is kept empty at all times and yes, you may have to repeat the exercise several times.
__________________
Русский военный корабль, иди нахуй!

Last edited by pichlo; 2015-02-27 at 17:50.
 

The Following 3 Users Say Thank You to pichlo For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:14.