[plug] APT question

Bernard Blackham bernard at blackham.com.au
Tue Aug 5 21:23:26 WST 2003


On Tue, Aug 05, 2003 at 12:40:10PM +0800, Stephen Boak wrote:
> min:~# apt-get check
> Reading Package Lists... Done
> Building Dependency Tree... Done
> You might want to run `apt-get -f install' to correct these.
> Sorry, but the following packages have unmet dependencies:
>   iptables: Depends: libc6 (>= 2.3.1-1) but 2.2.5-11.2 is installed
>   shorewall: Depends: iproute but it is not installed
> E: Unmet dependencies. Try using -f.

Did shorewall upgrade your iptables version too? You probably want
to:

# apt-get remove shorewall

and hope it works. Then do

# apt-cache policy iptables

Which should show something like:

iptables:
  Installed: 1.2.8-1
  Candidate: 1.2.8-4
  Version Table:
     1.2.8-4 0
        500 http://mirrors.uwa.edu.au sarge/main Packages
        990 http://mirrors.uwa.edu.au sid/main Packages
 *** 1.2.8-1 0
        100 /var/lib/dpkg/status
     1.2.6a-5 0
        500 http://mirrors.uwa.edu.au woody/main Packages

I presume you're using woody, so you want to force it to install the
woody version, by using:

# apt-get install iptables=1.2.6a-5  <-- taken from above.

And sacrifice another chicken :) Dependencies in Debian are a pain
to get right when things have broken seriously, but serious breakage
generally only happens when you introduce extra packages from
outside of debian or from experimental.

There are probably many other ways to fix this problem - 
"dpkg -r shorewall" would be another start. I generally play a while
until things are back to normal :)

HTH,

Bernard.

-- 
 Bernard Blackham 
 bernard at blackham dot com dot au



More information about the plug mailing list