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? regards Kincaid |
If you did a make install on a package, you can't very well expect aptitude to update it for you.
|
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. |
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. |
All times are GMT -5. The time now is 01:50 AM. |