maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   having trouble with dpkg (https://talk.maemo.org/showthread.php?t=78952)

Jenason 2011-10-12 09:21

having trouble with dpkg
 
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

michaaa62 2011-10-12 10:00

Re: having trouble with dpkg
 
Please try
Code:

sudo gainroot
dpkg --clear-avail
apt-get update


Jenason 2011-10-12 10:29

Re: having trouble with dpkg
 
trying it now
i'll let you know

Jenason 2011-10-12 10:36

Re: having trouble with dpkg
 
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 2011-10-12 10:41

Re: having trouble with dpkg
 
i am not sure that it will work but have you tried
Code:

apt-get -f install
?

Jenason 2011-10-12 10:46

Re: having trouble with dpkg
 
tried that and I get the same message...

Jenason 2011-10-12 10:47

Re: having trouble with dpkg
 
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???

reinob 2011-10-12 10:50

Re: having trouble with dpkg
 
@Jenason,

Where did you get opera-mobile 11.5 from?
The last version for maemo I know of is 11.00.9

eefo 2011-10-12 10:50

Re: having trouble with dpkg
 
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

Jenason 2011-10-12 10:52

Re: having trouble with dpkg
 
apt-get update/upgrade

any idea how to fix my error message though?


All times are GMT. The time now is 07:59.

vBulletin® Version 3.8.8