Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 02-23-2007, 04:07 AM   #1
LQ Newbie
Registered: Feb 2007
Posts: 3

Rep: Reputation: 0
Apt-get, Dpkg

Hello Everybody,

Lately I had to make a kernel-recompile procedure. This also included recompilation of patched packages: iproute2, iptables.
To install them correctly, I had to run make install each of them, but before doing that - to get rid of old versions. So apt-get remove iptables iptables-dev was needed.
Afterwards, it de-installed also some of the packages depending on iptables. Later on I forced the dpkg to install them. But the apt-get upgrade does not work properly at all - it complains about dependencies error (does not have in its own database iptables installed), so I cannot upgrade automatically.

Is there any way to force apt-get NOT to search for iptables? I tried --ignore-missing, but didn't help. Or - maybe there is any way to "virtually" install iptables, which would only fix the apt database entry, without installing the old iptables itself?

Or do I have to play developer again and create iptables package out of compiled version?

Old 02-23-2007, 08:50 PM   #2
Senior Member
Registered: Nov 2006
Distribution: Debian Squeeze SMP AMD64
Posts: 3,333

Rep: Reputation: 126Reputation: 126
If you did a make install on a package, you can't very well expect aptitude to update it for you.
Old 02-26-2007, 08:08 AM   #3
LQ Newbie
Registered: Feb 2007
Posts: 3

Original Poster
Rep: Reputation: 0
WEll, frankly speaking - I do not want aptitude to update my compiled iptables.
But I WOULD like it to update all the rest of the packages - meaning, that I also want it to stop complaining about the dependency error and quit.
Old 03-01-2007, 07:52 AM   #4
Registered: Feb 2007
Posts: 135

Rep: Reputation: 15
do you really want the version you installed? You might try some of the following:

dpkg --remove <iptables>
apt-get -f install

as a side note, if you want a different version and don't want to deal with certain dependancies, you could apt-get source the version you want, and then build a deb for your system and use that. I try not to do this, but there have been one or two times when that was the best way to get what I wanted.


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
APT/dpkg errors! /var/lib/dpkg/status bassclarinet Debian 16 12-01-2011 09:24 AM
dpkg / apt-get questions meskensj Ubuntu 5 04-18-2006 04:09 PM
dpkg not working nor apt-get alhaidry Debian 2 08-12-2004 08:45 AM
apt-get/dpkg failure ls3 Debian 3 11-18-2003 02:27 PM
debian apt-get dpkg eltongeoff Linux - Software 0 03-12-2003 11:46 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:54 PM.

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