[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Apt dependency tangle in ident-server



I've run into some form of dependency tangle in ident-server. Sorry about the
cross-post, but I'm not sure if it's a bug or just something I've fucked up in
configuration. In any event, it seems to have broken apt a bit, so I'm in need 
of a little assistance.

It seems that while switching between midentd, mdidentd, gidentd, and pidentd
(in that order), mident got confused about what was on the system and
dependencies, and only deinstalled itself half-way during the install of
pidentd. This was off of a 3.0 testing box that was current to earlier this
week (via dist-upgrade).

Now, every time I run any apt-get install command, I get something like
the following due to the partially removed mident:

root:/usr/src> apt-get install ee
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  ee 
0 packages upgraded, 1 newly installed, 0 to remove and 31  not upgraded.
1 packages not fully installed or removed.
Need to get 42.7kB of archives. After unpacking 147kB will be used.
Get:1 ftp://ftp.us.debian.org testing/main ee 1:1.4.2-4 [42.7kB]
Fetched 42.7kB in 2s (15.4kB/s)
Selecting previously deselected package ee.
(Reading database ... 66525 files and directories currently installed.)
Unpacking ee (from .../ee_1%3a1.4.2-4_i386.deb) ...
Setting up midentd (2.1-3) ...
An override for "/var/run/identd" already exists, aborting
dpkg: error processing midentd (--configure):
 subprocess post-installation script returned error exit status 3
Setting up ee (1.4.2-4) ...

Errors were encountered while processing:
 midentd
E: Sub-process /usr/bin/dpkg returned an error code (1)

  
What is an override? I couldn't find it in any manual. Removing /var/run/identd/
didn't help.

Here's a look at roughly what the dependency tangle is:

root:/usr/src> dpkg -P ident2
dpkg: dependency problems prevent removal of ident2:
 mdidentd depends on pidentd | midentd | oidentd | ident-server; however:
  Package pidentd is not installed.
  Package midentd is not configured yet.
  Package oidentd is not installed.
  Package ident-server is not installed.
  Package ident2 which provides ident-server is to be removed.
  Package bidentd which provides ident-server is not installed.
  Package pidentd which provides ident-server is not installed.
dpkg: error processing ident2 (--purge):
 dependency problems - not removing
Errors were encountered while processing:
 ident2

The actual problem was inititally that midentd was to be removed before pidentd 
was installed if I remember correctly.


Attempts to purge the package fail:

root:/usr/src> dpkg --force-all -P midentd
(Reading database ... 66516 files and directories currently installed.)
Removing midentd ...
An override for "/var/run/identd" already exists, aborting
dpkg: error processing midentd (--purge):
 subprocess post-removal script returned error exit status 3
Errors were encountered while processing:
 midentd


Even an attempt to reinstall fails:

root:/usr/src> apt-get install --reinstall midentd
Reading Package Lists... Done
Building Dependency Tree... Done
0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 31  not upgraded.
Need to get 0B/6948B of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n] y
Selecting previously deselected package midentd.
(Reading database ... 66517 files and directories currently installed.)
Preparing to replace midentd 2.1-3 (using .../midentd_2.1-3_i386.deb) ...
Unpacking replacement midentd ...
Setting up midentd (2.1-3) ...
An override for "/var/run/identd" already exists, aborting
dpkg: error processing midentd (--configure):
 subprocess post-installation script returned error exit status 3
Errors were encountered while processing:
 midentd
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
Mike Perry
Hacker in Chief
fscked.org enterprises, inc



Reply to: