apt-get dependency issue (with Debian) - Help

This is a discussion on apt-get dependency issue (with Debian) - Help ; Please can someone help me? I have created a situation where apt-get will not allow me to install software. How can I work around this? I uninstalled the MTA in order to install my preferred option, which is Qmail. Unfortunately, ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: apt-get dependency issue (with Debian)

  1. apt-get dependency issue (with Debian)

    Please can someone help me?

    I have created a situation where apt-get will not allow me to install
    software. How can I work around this?

    I uninstalled the MTA in order to install my preferred option, which
    is Qmail. Unfortunately, Debian packages are no longer available for
    Qmail (because it violates the filesystem standard), and so I had to
    do a manual install with the traditional configure/make/make install.

    Now when I try to do "apt-get install lynx" (with or without
    "--force") I get these messages:

    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:
    mailx: Depends: mail-transport-agent
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
    specify a solution).

    "apt-get -f install" tries to install exim over the top of Qmail,
    which I do not really want to happen.

    I have a fully-working sendmail-compatible MTA installed on the
    server, and lynx does not need an MTA to install or to run. I can't
    compile it from source because I don't have the requisite libraries on
    the server (and I obviously can't just apt-get install them)

    Is there any way to tell apt-get (or dselect/dpkg/etc.) that I've
    taken care of the mail-transport-agent myself, or to force the install
    to proceed anyway? Failing that, can someone please talk me through
    the process of downloading the .deb file and unpacking and installing
    it manually?

    Many thanks,

    Robert Lee.

  2. Re: apt-get dependency issue (with Debian)

    On 2004-07-01, Robert J. Lee wrote:
    > I uninstalled the MTA in order to install my preferred option, which
    > is Qmail. Unfortunately, Debian packages are no longer available for
    > Qmail (because it violates the filesystem standard), and so I had to
    > do a manual install with the traditional configure/make/make install.


    I think what you want(ed) to use is the qmail-src package: "Source only
    package for building qmail binary package" (i.e., a .deb that provides
    mail-transport-agent).

    By the way, qmail-src is in non-free and hence is not part of Debian
    proper. One reason qmail is not classified as DSFG-free is that a
    FHS-compatible binary package cannot be distributed (only DJB-standard
    packages are allowed).

    > Now when I try to do "apt-get install lynx" (with or without
    > "--force") I get these messages:
    >
    > 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:
    > mailx: Depends: mail-transport-agent
    > E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
    > specify a solution).
    >
    > "apt-get -f install" tries to install exim over the top of Qmail,
    > which I do not really want to happen.
    >
    > I have a fully-working sendmail-compatible MTA installed on the
    > server, and lynx does not need an MTA to install or to run.


    I believe that it can send mail.

    > Is there any way to tell apt-get (or dselect/dpkg/etc.) that I've
    > taken care of the mail-transport-agent myself, or to force the install
    > to proceed anyway?


    Perhaps you could look into the equivs package: "this tool can be used to
    trick the Debian package management system into believeing that package P
    is actually installed". However, "[p]lease note that it is a crude hack
    and if thoughtlessly used, it might possibly do damage to your packaging
    system."

    > Failing that, can someone please talk me through
    > the process of downloading the .deb file and unpacking and installing
    > it manually?


    Well, you can download it via http://packages.debian.org/lynx. You can
    take a .deb apart using ar, and the .tar.gz files enclosed therein using
    tar.

    P.S. You may want "lynx-ssl", not "lynx".

    --
    Paul Kimoto
    This message was originally posted on Usenet in plain text. Any images,
    hyperlinks, or the like shown here have been added without my consent,
    and may be a violation of international copyright law.

+ Reply to Thread