Active Topics

 



Notices


Reply
Thread Tools
Posts: 35 | Thanked: 10 times | Joined on Sep 2010
#1
After running a smooth and flawless N900 experience without the need to reflash it since i bought it in january, I'm having some dependency issues for some time now. It all started with libillumination1. I can install and update apps, also PR1.3 installed well, but there is always this dpkg error i am unable to fix. Can anyone tell me how to resolve this? What to do next?
I ran apt-get update / upgrade as well as some other standard commands, but no luck.


Code:
/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 30 not upgraded.
8 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up libflac8 (1.2.1-1.1maemo3) ...
Optifying usr/share/doc/libflac8 -> /opt/maemo/usr/share/doc/libflac8
mv: cannot rename '/usr/share/doc/libflac8': No such file or directory
dpkg: error processing libflac8 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of gstreamer0.10-flac:
 gstreamer0.10-flac depends on libflac8; however:
  Package libflac8 is not configured yet.
dpkg: error processing gstreamer0.10-flac (--configure):
 dependency problems - leaving unconfigured
Setting up libgsf-1 (1.14.19-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
Setting up libillumination1 (0.2.20101010-1) ...
Optifying usr/share/doc/libillumination1 -> /opt/maemo/usr/share/doc/libillumination1
mv: cannot rename '/usr/share/doc/libillumination1': No such file or directory
dpkg: error processing libillumination1 (--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
Setting up libsdl-gfx1.2-4 (2.0.19-1maemo2) ...
Optifying usr/share/doc/libsdl-gfx1.2-4 -> /opt/maemo/usr/share/doc/libsdl-gfx1.2-4
mv: cannot rename '/usr/share/doc/libsdl-gfx1.2-4': No such file or directory
dpkg: error processing libsdl-gfx1.2-4 (--configure):
 subprocess post-installation script returned error exit status 1
Setting up liboauth0 (0.8.8-2) ...
Optifying usr/share/doc/liboauth0 -> /opt/maemo/usr/share/doc/liboauth0
mv: cannot rename '/usr/share/doc/liboauth0': No such file or directory
dpkg: error processing liboauth0 (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of slysics:
 slysics depends on libsdl-gfx1.2-4; however:
  Package libsdl-gfx1.2-4 is not configured yet.
dpkg: error processing slysics (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libflac8
 gstreamer0.10-flac
 libgsf-1
 libillumination1
 librsvg2-2
 libsdl-gfx1.2-4
 liboauth0
 slysics
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_free_binary-armel_Packages)
W: Duplicate sources.list entry http://repository.maemo.org fremantle-1.3/non-free Packages (/var/lib/apt/lists/repository.maemo.org_extras_dists_fremantle-1.3_non-free_binary-armel_Packages)
W: You may want to run apt-get update to correct these problems
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Posts: 11 | Thanked: 12 times | Joined on Sep 2007
#2
I've worked around this issue in packages in the past (I think the sdl one was one of them) by manually creating the directories that the installer wants to "optify" that don't actually exist.

It's probably a problem in the packages - they shouldn't be optifying/moving directories that they didn't actually install.

Workaround:
Code:
sudo gainroot
mkdir /usr/share/doc/libflac8
mkdir /usr/share/doc/libgsf-1
mkdir /usr/share/doc/libillumination1
mkdir /usr/share/doc/libsdl-gfx1.2-4
mkdir /usr/share/doc/liboauth0

apt-get install -f
All of these directories are documentation ones. In the past (I was playing with n800 at the time), maemo used to prevent docs from being installed at all to save space. This may still be the case - resulting in the packages listing the doc directories as to be installed, and then the optify step (moving them to /opt/maemo/usr/share/doc) fails because maemo blocked them from being created in the first place.

Either way, creating them manually so that the optify step can find them and move them (even though they're empty) should allow you to finish the package installation.

I'd suggest reporting the issue as a bug on each of those packages anyway though - workarounds like above shouldn't be needed
 

The Following 2 Users Say Thank You to Dawnmist For This Useful Post:
sub7's Avatar
Posts: 69 | Thanked: 10 times | Joined on Sep 2010 @ Spain
#3
mkdir /usr/share/doc/liboauth0
thanks man this help me very much with the app ecoach who has breaking my ball many days.
 
Posts: 1,522 | Thanked: 392 times | Joined on Jul 2010 @ São Paulo, Brazil
#4
It seems i'm having a similar issue (with different packages), except that after i create the folders, when i run apt-get install -f the error persists and the folders i created disapear

Last edited by TiagoTiago; 2010-11-15 at 04:42.
 
joshv06's Avatar
Posts: 346 | Thanked: 139 times | Joined on Jan 2008 @ Houston Texas
#5
Why is this happening though? I can't put all of my apps back because of this.
__________________
Nokia N900
joshuavidana@gmail.com
 
joshv06's Avatar
Posts: 346 | Thanked: 139 times | Joined on Jan 2008 @ Houston Texas
#6
Anyone? Are repositories broken?
__________________
Nokia N900
joshuavidana@gmail.com
 
Reply


 
Forum Jump


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