/usr/local/include/boost/system/error_code.hpp:172: undefined reference to `boos t::system::get_posix_category()'
spells.o:/usr/local/include/boost/system/error_code.hpp:175: more undefined refe rences to `boost::system::get_posix_category()' follow
collect2: ld returned 1 exit status
make[1]: *** [theforgottenserver] Error 1
make[1]: Leaving directory `/home/trunk.r3666'
make: *** [all] Error 2
root@balicus:/home/trunk.r3666#
Dodam, że jestem początkującym użytkownikiem Debiana Lenny więc proszę o "łopatologiczne porady" i zrozumienie. Przy okazji jak mogę zainstalować nowego boosty, mam ściągniętą paczkę deb ale gdy próbuje ją instalować to wyskakuje mi:
root@balicus:/home# dpkg -i libboost1.46-all-dev_1.46.1-1_i386.deb
(Reading database ... 32784 files and directories currently installed.)
Preparing to replace libboost1.46-all-dev 1.46.1-1 (using libboost1.46-all-dev_1.46.1-1_i386.deb) ...
Unpacking replacement libboost1.46-all-dev ...
dpkg: dependency problems prevent configuration of libboost1.46-all-dev:
libboost1.46-all-dev depends on libboost1.46-dev; however:
Package libboost1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-date-time1.46-dev; however:
Package libboost-date-time1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-filesystem1.46-dev; however:
Package libboost-filesystem1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-graph1.46-dev; however:
Package libboost-graph1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-graph-parallel1.46-dev; however:
Package libboost-graph-parallel1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-iostreams1.46-dev; however:
Package libboost-iostreams1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-math1.46-dev; however:
Package libboost-math1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-mpi1.46-dev; however:
Package libboost-mpi1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-mpi-python1.46-dev; however:
Package libboost-mpi-python1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-program-options1.46-dev; however:
Package libboost-program-options1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-python1.46-dev; however:
Package libboost-python1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-random1.46-dev; however:
Package libboost-random1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-regex1.46-dev; however:
Package libboost-regex1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-serialization1.46-dev; however:
Package libboost-serialization1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-signals1.46-dev; however:
Package libboost-signals1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-system1.46-dev; however:
Package libboost-system1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-test1.46-dev; however:
Package libboost-test1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-thread1.46-dev; however:
Package libboost-thread1.46-dev is not installed.
libboost1.46-all-dev depends on libboost-wave1.46-dev; however:
Package libboost-wave1.46-dev is not installed.
dpkg: error processing libboost1.46-all-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libboost1.46-all-dev
root@balicus:/home# apt-get install libboost1.46-all-dev
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
root@balicus:/home#
root@balicus:/# aptitude install libboost1.46-all-dev
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following packages are BROKEN:
libboost1.46-all-dev
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
libboost1.46-all-dev: Depends: libboost1.46-dev which is a virtual package.
Depends: libboost-date-time1.46-dev which is a virtual package.
Depends: libboost-filesystem1.46-dev which is a virtual package.
Depends: libboost-graph1.46-dev which is a virtual package.
Depends: libboost-graph-parallel1.46-dev which is a virtual package.
Depends: libboost-iostreams1.46-dev which is a virtual package.
Depends: libboost-math1.46-dev which is a virtual package.
Depends: libboost-mpi1.46-dev which is a virtual package.
Depends: libboost-mpi-python1.46-dev which is a virtual package.
Depends: libboost-program-options1.46-dev which is a virtual package.
Depends: libboost-python1.46-dev which is a virtual package.
Depends: libboost-random1.46-dev which is a virtual package.
Depends: libboost-regex1.46-dev which is a virtual package.
Depends: libboost-serialization1.46-dev which is a virtual package.
Depends: libboost-signals1.46-dev which is a virtual package.
Depends: libboost-system1.46-dev which is a virtual package.
Depends: libboost-test1.46-dev which is a virtual package.
Depends: libboost-thread1.46-dev which is a virtual package.
Depends: libboost-wave1.46-dev which is a virtual package.
E: Archive directory /var/cache/apt/archives/partial is missing.
The following actions will resolve these dependencies:
Remove the following packages:
libboost1.46-all-dev
Score is -9881
Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
libboost1.46-all-dev{a}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 61.4kB will be freed.
Do you want to continue? [Y/n/?] y
E: Archive directory /var/cache/apt/archives/partial is missing.
E: Archive directory /var/cache/apt/archives/partial is missing.
E: Internal error: couldn't generate list of packages to download
deb [url]http://ftp2.de.debian.org/debian[/url] lenny main contrib non-free
deb [url]http://ftp2.de.debian.org/debian-security[/url] lenny/updates main contrib no$
deb [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
deb [url]http://ftp.de.debian.org/debian[/url] lenny main
Najlepiej to proszę o wskazówkę jak usunąć wszystkie i zainstalować od nowa świeży pakiet libboost.
Przy poprawnie zainstalowanym systemie taka sytuacja nie ma prawa zaistnieć (w normalnych warunkach). No chyba, że "ktoś" zmienił uprawnienia do tego katalogu.
Potrzebuję repozytorium. Poza tym ja nie instaluję tego "sam" tylko instaluję to na VPS-ie i w dodatku w panelu zarządzania z kopii zapasowej wybieram wersję.
# please use local debian mirror, see [url]http://www.debian.org/mirror/list[/url]
#
deb [url]http://ftp.de.debian.org/debian[/url] squeeze main contrib non-free
deb [url]http://ftp.de.debian.org/debian-security[/url] squeeze/updates main contrib non-free
#~~~~~~Squeeze~~~~~~#
deb [url]http://ftp.pl.debian.org/debian/[/url] stable main non-free contrib
deb-src [url]http://ftp.pl.debian.org/debian/[/url] stable main non-free contrib
deb [url]http://security.debian.org/[/url] stable/updates main contrib non-free
deb-src [url]http://security.debian.org/[/url] stable/updates main contrib non-free
deb [url]http://ftp.pl.debian.org/debian/[/url] stable-updates main non-free contrib
deb-src [url]http://ftp.pl.debian.org/debian/[/url] stable-updates main non-free contrib
#~~~~~~Backports_Squeeze~~~~~~#
deb [url]http://backports.debian.org/debian-backports[/url] squeeze-backports main contrib non-free
Dodam, że system jest czysty, bez mysql, apache itp., więc gdyby mógł ktoś podać repozytorium, z którego zainstaluję apache, php, mysql to będę wdzięczny.
A czy zadałeś sobie trud sprawdzenia, czy w twoich repozytoriach są te pakiety? Pytanie retoryczne.
Pamiętaj, że sama zmiana wpisów w repozytoriach nic w systemie nie zmienia.
Teraz musisz zrobić aktualizację pakietów i pełną aktualizację systemu.
Potem instaluj dowolne pakiety - nie wcześnie,