Notices


Reply
Thread Tools
Posts: 23 | Thanked: 7 times | Joined on Aug 2010
#1
any idea on how to fix this:

dpkg: failed to open package info file `/var/lib/dpkg/available' for reading: No such file or directory
E: Sub-process /usr/bin/dpkg returned an error code (2)

thanks
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#2
Please try
Code:
sudo gainroot
dpkg --clear-avail
apt-get update
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 23 | Thanked: 7 times | Joined on Aug 2010
#3
trying it now
i'll let you know
 
Posts: 23 | Thanked: 7 times | Joined on Aug 2010
#4
thanks for your help michaaa62
seems to have worked but now I have this problem:

Setting up libboost-system1.42.0 (1.42.0-3maemo3) ...
Optifying usr/share/doc/libboost-system1.42.0 -> /opt/maemo/usr/share/doc/libboost-system1.42.0
mv: cannot rename '/usr/share/doc/libboost-system1.42.0': No such file or directory
dpkg: error processing libboost-system1.42.0 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libboost-filesystem1.42.0:
libboost-filesystem1.42.0 depends on libboost-system1.42.0 (>= 1.42.0-1); however:
Package libboost-system1.42.0 is not configured yet.
dpkg: error processing libboost-filesystem1.42.0 (--configure):
dependency problems - leaving unconfigured
Setting up libboost-iostreams1.42.0 (1.42.0-3maemo3) ...
Optifying usr/share/doc/libboost-iostreams1.42.0 -> /opt/maemo/usr/share/doc/libboost-iostreams1.42.0
mv: cannot rename '/usr/share/doc/libboost-iostreams1.42.0': No such file or directory
dpkg: error processing libboost-iostreams1.42.0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up libboost-regex1.42.0 (1.42.0-3maemo3) ...
Optifying usr/share/doc/libboost-regex1.42.0 -> /opt/maemo/usr/share/doc/libboost-regex1.42.0
mv: cannot rename '/usr/share/doc/libboost-regex1.42.0': No such file or directory
dpkg: error processing libboost-regex1.42.0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up libboost-thread1.42.0 (1.42.0-3maemo3) ...
Optifying usr/share/doc/libboost-thread1.42.0 -> /opt/maemo/usr/share/doc/libboost-thread1.42.0
mv: cannot rename '/usr/share/doc/libboost-thread1.42.0': No such file or directory
dpkg: error processing libboost-thread1.42.0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up opera-mobile (11.5beta1-10~fremantle0) ...
Errors were encountered while processing:
libboost-system1.42.0
libboost-filesystem1.42.0
libboost-iostreams1.42.0
libboost-regex1.42.0
libboost-thread1.42.0
E: Sub-process /usr/bin/dpkg returned an error code (1)v

any code to fix this one? I'd like to avoid a reflash. did it yesterday and two days in a row is tooo much...
thanks.
 
eefo's Avatar
Posts: 1,444 | Thanked: 461 times | Joined on Dec 2010 @ pakistan
#5
i am not sure that it will work but have you tried
Code:
apt-get -f install
?
__________________
Every hero becomes a bore at last.
www.itechiapk.com
 

The Following User Says Thank You to eefo For This Useful Post:
Posts: 23 | Thanked: 7 times | Joined on Aug 2010
#6
tried that and I get the same message...
 
Posts: 23 | Thanked: 7 times | Joined on Aug 2010
#7
looks like these are the ones causing the problems:
libboost-system1.42.0
libboost-filesystem1.42.0
libboost-iostreams1.42.0
libboost-regex1.42.0
libboost-thread1.42.0

I have no idea what they are...

something to do with the Boost C++ Libraries???

Last edited by Jenason; 2011-10-12 at 10:49.
 
Posts: 1,808 | Thanked: 4,272 times | Joined on Feb 2011 @ Germany
#8
@Jenason,

Where did you get opera-mobile 11.5 from?
The last version for maemo I know of is 11.00.9
 
eefo's Avatar
Posts: 1,444 | Thanked: 461 times | Joined on Dec 2010 @ pakistan
#9
have you tried this ?
http://talk.maemo.org/showpost.php?p...&postcount=188

and the above post .
i think they are the dependencies , dont know of which program :S
__________________
Every hero becomes a bore at last.
www.itechiapk.com
 
Posts: 23 | Thanked: 7 times | Joined on Aug 2010
#10
apt-get update/upgrade

any idea how to fix my error message though?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 11:38.