Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-20-2011, 08:13 PM   #1
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255
Blog Entries: 5

Rep: Reputation: 30
lenny package in squeeze

hello all,

I need libnet0 on a squeeze installation, so I can compile nemesis, which unfortunately has not been an active project. It depends on libnet0, which is not in the squeeze repository.

I can compile nemesis, but will it ok to do this the same way with the libnet0 library?

Or should I manipulate the /etc/sources.list to be able to install it from the lenny repositories? (this doesn't sound right...)

Better get the sources? And what happens when I compile it? Can I safely have libnet0 and libnet1 on the same installation?

Any help would be much appreciated.

Old 03-20-2011, 08:37 PM   #2
LQ Guru
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,190

Rep: Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037
You can do various things:

1. Download the .deb files from the Lenny repository. That is nemesis and its dependencies, and instal them in the required sequence with dpkg -i <packagename>. If they install that is fine, if there is any risk of breaking your system, dpkg warns you. Also if dpkg want to de-install your kernel or another 569 packages this is a sign of something going wrong.

2. You could add the Lenny repositories to sources.list and apt-get install -t Lenny <packagename> or apt-get install -t <nemesis-version> <packagename>. If fact this is the automated process of (1). If apt-get think this is no good, it will tell you.

3. You can also compile. There is a wealth of tools for painlessly compiling Debian packages. You'll need the tool which also pulls in dependent source packages. I think the name is build-dep. Pulling in the sources is riskless, and if your package compiles that is great. Just install the created .deb according to (1).

1 members found this post helpful.
Old 03-20-2011, 09:46 PM   #3
Registered: Oct 2005
Location: germany
Distribution: debian
Posts: 255

Original Poster
Blog Entries: 5

Rep: Reputation: 30
Thumbs up

I did it with dpkg -i

which complained at the first attempt, because of missing dependencies.

I looked into aptitude and it suggested to remove the package. Which felt a bit weird, after all, the dpkg install had not completed.

Well, ok. I removed it again form within aptitude and after providing all dependencies, dpkg -i succeded

thanks much


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] lenny upgrade - but not to squeeze? Vilius Debian 1 03-03-2011 01:51 AM
trying to upgrade lenny to squeeze keymoo Debian 6 02-11-2011 05:45 AM
upgrade: Lenny to Squeeze? DeadlySin3 Debian 11 08-02-2010 03:39 AM
Opinions on Best Way to upgrade from Lenny/Lenny Backports to Squeeze?? linus72 Debian 7 12-26-2009 09:44 AM
Lenny + 1 = Squeeze rickh Linux - General 6 09-01-2008 11:36 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration