DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If I do "sudo apt-get install libevent-dev" it installs v1.4. If I do "sudo apt-get install libevent2-dev" or "sudo apt-get install libevent2" then it tells me "Unable to locate package".
libevent-2 is for Debian 6 only available from the backports repository. How to configure and use it can be read here: http://backports.debian.org/
Since Debian 6 will only get support for less than a year now you may want to consider to Debian 7, which also has libevent-2 by default.
Since Debian 6 will only get support for less than a year now you may want to consider to Debian 7, which also has libevent-2 by default.
Really? Deb 7 only came out earlier this month.
In any case, yea, I already intended to, I just haven't yet.
Quote:
libevent-2 is for Debian 6 only available from the backports repository. How to configure and use it can be read here: http://backports.debian.org/
I followed the Instructions link on that page and, as it indicated, I added the following line to my '/etc/apt/sources.list':
Code:
deb http://ftp.us.debian.org/debian-backports squeeze-backports main
Then I did "sudo apt-get update" and tried again (using "-t squeeze-backports" this time), but it still isn't working. I also did all the same with "aptitude" insetad of "apt-get". Still no dice.
Hmm, maybe there's something wrong with the server. There's different results I'll get running that same command different times:
Code:
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release.gpg
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-v3.5.13/debian/ squeeze/main Translation-en
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-v3.5.13/debian/ squeeze/main Translation-en_US
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release.gpg
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-builddeps-v3.5.13/debian/ squeeze/main Translation-en
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-builddeps-v3.5.13/debian/ squeeze/main Translation-en_US
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main i386 Packages
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main Sources
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main i386 Packages
Hit http://ftp.us.debian.org squeeze Release.gpg
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Ign http://ftp.us.debian.org squeeze-backports Release.gpg
Ign http://ftp.us.debian.org/debian-backports/ squeeze-backports/main Translation-en
Ign http://ftp.us.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Hit http://ftp.us.debian.org squeeze Release
Ign http://ftp.us.debian.org squeeze-backports Release
Hit http://ftp.us.debian.org squeeze/main Sources
Hit http://ftp.us.debian.org squeeze/main i386 Packages
Ign http://ftp.us.debian.org squeeze-backports/main i386 Packages
Ign http://ftp.us.debian.org squeeze-backports/main i386 Packages
Err http://ftp.us.debian.org squeeze-backports/main i386 Packages
404 Not Found [IP: 128.30.2.36 80]
W: Failed to fetch http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/main/binary-i386/Packages.gz 404 Not Found [IP: 128.30.2.36 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
And a couple times I even got this:
Code:
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release.gpg
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-v3.5.13/debian/ squeeze/main Translation-en
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-v3.5.13/debian/ squeeze/main Translation-en_US
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release.gpg
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-builddeps-v3.5.13/debian/ squeeze/main Translation-en
Ign http://ppa.quickbuild.pearsoncomputing.net/trinity/trinity-builddeps-v3.5.13/debian/ squeeze/main Translation-en_US
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze Release
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main Sources
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main i386 Packages
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main Sources
Hit http://ppa.quickbuild.pearsoncomputing.net squeeze/main i386 Packages
Err http://ftp.us.debian.org squeeze Release.gpg
Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org/debian/ squeeze/main Translation-en
Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US
Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org squeeze-backports Release.gpg
Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org/debian-backports/ squeeze-backports/main Translation-en
Could not resolve 'ftp.us.debian.org'
Err http://ftp.us.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Could not resolve 'ftp.us.debian.org'
Reading package lists... Done
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/Release.gpg Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/i18n/Translation-en.bz2 Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/i18n/Translation-en_US.bz2 Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/Release.gpg Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/main/i18n/Translation-en.bz2 Could not resolve 'ftp.us.debian.org'
W: Failed to fetch http://ftp.us.debian.org/debian-backports/dists/squeeze-backports/main/i18n/Translation-en_US.bz2 Could not resolve 'ftp.us.debian.org'
W: Some index files failed to download, they have been ignored, or old ones used instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.