• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

E: Couldn't find package libboost1.41-dev

Wytyfy

New Member
Joined
Jun 17, 2010
Messages
3
Reaction score
0
im compiling tfs 0.3.6 and write this:
Code:
apt-get install libboost1.41-dev libboost-system1.41-dev libboost-filesystem1.41-dev libboost-date-time1.41-dev libboost-regex1.41-dev libboost-thread1.41-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev libcrypto++8

have error:
Code:
Package libboost1.41-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libboost1.41-dev has no installation candidate

My sources.list:

Code:
deb http://mir1.ovh.net/debian/  etch main
deb-src http://mir1.ovh.net/debian/ etch main
deb http://security.debian.org/ etch/updates main contrib
deb-src http://security.debian.org/ etch/updates main contrib
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free
deb-src http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free
i have debian 5
What is wrong?
 
You using debian 5 with sources of Debian 4( etch).

Try with sources:
deb http://ftp.br.debian.org/debian lenny main contrib non-free
deb-src http://ftp.br.debian.org/debian lenny main contrib non-free
deb http://security.debian.org lenny/updates main
deb-src http://security.debian.org lenny/updates main


and say "apt-get update" later.

And... try comands.
apt-get install libboost1.41-dev libboost-system1.41-dev libboost-filesystem1.41-dev libboost-date-time1.41-dev libboost-regex1.41-dev libboost-thread1.41-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-client-5.1 mysql-server-5.1 mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev libcrypto++8
 
@up
not work :(

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package libboost1.41-dev
 
edit ur sources.list:
sudo pico /etc/apt/sources.list
and add this: \/ lenny
Code:
deb http://ftp.de.debian.org/debian lenny main
\/ squeeze
Code:
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src ftp://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://mirror.home-dn.net/debian-multimedia squeeze main
deb http://www.debian-multimedia.org/ testing main
deb-src http://www.debian-multimedia.org/ testing main
deb http://www.debian-multimedia.org squeeze main
deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ testing main contrib non-free
->source-> http://www.fandangle.com.au/linux/176-linux-debian-how-to-install-software.html
then ctrl + o and ctrl + x
then sudo apt-get update && sudo apt-get upgrade then install ur packages
or:
sudo apt-get install apt-mirror && sudo su - apt-mirror && apt-mirror
also i dont understand which debian distrubtion u use? lenny || squeeze || wat
 
Last edited:
I'm also having the same problem, always displays the message

HTML:
Package libboost1.41-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libboost1.41-dev has no installation candidate
HELP
 
God, gotta bump this post because everybody is having problems like this one.

It's simple, now you have updated your sources.list say
apt-update
then
apt-cache search libbooost
you will see the list and the version available, after doing what fallen said it was 1.42, now change all 1.41's to 1.42.
 
same problem, always displays the message:

server3:/etc/apt# apt-get install libboost1.41-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libboost1.41-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package libboost1.41-dev has no installation candidate

Any solution?
Thanks :D
 
thread

Was the last post but I got rep and a friend request from the OP of the thread, so one could only assume I know what the hell I'm talking about. =P

If you're running Lenny now is the time to upgrade.

I suggest you choose an appropriate mirror::add the entries in your /etc/apt/sources.list <<<

Code:
#Brazil, is Push-Primary, has Backports
    deb http://ftp.br.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.br.debian.org/debian/ squeeze main contrib non-free
    deb http://ftp.br.debian.org/debian-backports/ squeeze-backports main contrib non-free
deb-src http://ftp.br.debian.org/debian-backports/ squeeze-backports main contrib non-free
Code:
#Canada, is Push-Primary, has Backports, features TorIX peering
    deb http://ftp4.ca.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp4.ca.debian.org/debian/ squeeze main contrib non-free
    deb http://ftp4.ca.debian.org/debian-backports/ squeeze-backports main contrib non-free
deb-src http://ftp4.ca.debian.org/debian-backports/ squeeze-backports main contrib non-free
Code:
#This server has legendary availability. It's 'un-Slashdottable.' Has a Top 3 position on the push-list. has Backports, Security, and Volatile. You probably don't deserve to use it.
    deb http://debian.mirror.iweb.ca/debian/ squeeze main contrib non-free
deb-src http://debian.mirror.iweb.ca/debian/ squeeze main contrib non-free
    deb http://debian.mirror.iweb.ca/debian-backports/ squeeze-backports main contrib non-free
deb-src http://debian.mirror.iweb.ca/debian-backports/ squeeze-backports main contrib non-free
Code:
#Austria, is Push-Primary, has Backports, supports IPv6
    deb http://ftp.at.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.at.debian.org/debian/ squeeze main contrib non-free
    deb http://ftp.at.debian.org/debian-backports/ squeeze-backports main contrib non-free
deb-src http://ftp.at.debian.org/debian-backports/ squeeze-backports main contrib non-free
Code:
#Germany, is Push-Primary, has Backports,
    deb http://ftp.halifax.rwth-aachen.de/debian/ squeeze main contrib non-free
deb-src http://ftp.halifax.rwth-aachen.de/debian/ squeeze main contrib non-free
    deb http://ftp.halifax.rwth-aachen.de/debian-backports/ squeeze-backports main contrib non-free
deb-src http://ftp.halifax.rwth-aachen.de/debian-backports/ squeeze-backports main contrib non-free
Code:
#Switzerland, is Push-Primary, has Backports
    deb http://ftp.ch.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.ch.debian.org/debian/ squeeze main contrib non-free
    deb http://ftp.ch.debian.org/debian-backports/ squeeze-backports main contrib non-free
deb-src http://ftp.ch.debian.org/debian-backports/ squeeze-backports main contrib non-free
Now update package list, and install the new keyrings first.
Code:
aptitude update ; aptitude install -y --allow-untrusted debian-archive-keyring debian-keyring debian-ports-archive-keyring ;
Now run aptitude

Review and install all possible upgrades. If you have physical access or similar update to linux 2.6.32 while you are at it.

Press 'Q' i.e 'SHIFT + q' back to commandline, or if physical access switch TTY.

Prep like an oldschool developer:
aptitude install autoconf automake autopoint autotools-dev bison flex gawk gettext gnulib libtool m4 ccache ;
This is the straight shot one liner for TFS deps:
aptitude install libxml2-dev libgmp3-dev zlib1g-dev libboost1.42-all-dev libcrypto++-dev liblua5.1-0-dev libmysqlclient-dev ;
in your source root:
> ./autoreconf -vfi #--adapt the tool chain input files ;
> ./configure %options% #--generate makefile ;
> nice -n -12 make -j 4 -k #--Assuming an idle quad core ;
 
Last edited:
in your source root:
> ./autoreconf -vfi #--adapt the tool chain input files ;
> ./configure %options% #--generate makefile ;
> nice -n -12 make -j 4 -k #--Assuming an idle quad core ;

sorry for my n00b question, but where I do with that? Or I use that in the the source code I have downloaded?

Everything works perfectly :D

Thanks!!
 
Vlad, this code should be done in ya'r source root, the folder where the sources to compile are located.
This is only the compilation part. No need to do it.
 
use isto:

apt-get install libboost1.35-dev libboost-system1.35-dev libboost-filesystem1.35-dev libboost-date-time1.35-dev libboost-regex1.35-dev libboost-thread1.35-dev libgmp3-dev liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 lua5.1 libsqlite0-dev libsqlite3-dev sqlite3 libmysql++-dev libmysqlclient-dev mysql-common libxml2-dev libxml++2.6-dev cpp gcc g++ make automake autoconf pkg-config subversion liblua5.1-sql-mysql-dev liblua5.1-sql-sqlite3-dev zlib1g-dev zlib1g libcrypto++-dev
 
Back
Top