Professional Web Applications Themes

help with dpkg --configure error message - Debian

I've got a broken package and whilst I've got the package working by poking about dpkg is convinced it's still broken and regales me with a tedious message every time I run it. How do I debug the problem? At the moment I get this: stoneboat:/etc/php4/apache# dpkg --configure proftpd Setting up proftpd (1.2.4+1.2.5rc1-5woody2) ... dpkg: error processing proftpd (--configure): subprocess post-installation script returned error exit status 10 Errors were encountered while processing: proftpd stoneboat:/etc/php4/apache# After some poking about I found that the package scripts are stored in /var/lib/dpkg/info but I can't tell which bit of which script is going wrong. ...

  1. #1

    Default help with dpkg --configure error message

    I've got a broken package and whilst I've got the package working by poking
    about dpkg is convinced it's still broken and regales me with a tedious
    message every time I run it. How do I debug the problem?

    At the moment I get this:
    stoneboat:/etc/php4/apache# dpkg --configure proftpd
    Setting up proftpd (1.2.4+1.2.5rc1-5woody2) ...
    dpkg: error processing proftpd (--configure):
    subprocess post-installation script returned error exit status 10
    Errors were encountered while processing:
    proftpd
    stoneboat:/etc/php4/apache#

    After some poking about I found that the package scripts are stored in
    /var/lib/dpkg/info but I can't tell which bit of which script is going wrong.

    How do I get some debug info.

    In fact I got proftpd working anyway so I really just want this complaint to
    go away (leaving the package database in a sensible state).

    Can someone tell me what to do or what I should have read?

    thanx

    --
    Wookey
    --
    Aleph One Ltd, Bottisham, CAMBRIDGE, CB5 9BA, UK Tel +44 (0) 1223 811679
    work: [url]http://www.aleph1.co.uk/[/url] play: [url]http://www.chaos.org.uk/~wookey/[/url]


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Wookey Guest

  2. #2

    Default Re: help with dpkg --configure error message

    On Wed, Jul 23, 2003 at 05:40:09PM +0100, Wookey wrote:
    > I've got a broken package and whilst I've got the package working by poking
    > about dpkg is convinced it's still broken and regales me with a tedious
    > message every time I run it. How do I debug the problem?
    >
    > At the moment I get this:
    > stoneboat:/etc/php4/apache# dpkg --configure proftpd
    > Setting up proftpd (1.2.4+1.2.5rc1-5woody2) ...
    > dpkg: error processing proftpd (--configure):
    > subprocess post-installation script returned error exit status 10
    > Errors were encountered while processing:
    > proftpd
    > stoneboat:/etc/php4/apache#
    >
    > After some poking about I found that the package scripts are stored in
    > /var/lib/dpkg/info but I can't tell which bit of which script is going wrong.
    subprocess post-installation script == /var/lib/dpkg/info/<pkg>.postinst
    >
    > How do I get some debug info.
    >
    > In fact I got proftpd working anyway so I really just want this complaint to
    > go away (leaving the package database in a sensible state).
    you can get the package to install by putting:

    exit 0

    as the first command in the file. Please make sure to manually perform
    all that the inst script was trying to do.

    asg


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Adam Garside Guest

  3. #3

    Default Re: help with dpkg --configure error message

    On Wed, Jul 23, 2003 at 05:40:09PM +0100, Wookey wrote:
    > I've got a broken package and whilst I've got the package working by
    > poking about dpkg is convinced it's still broken and regales me with a
    > tedious message every time I run it. How do I debug the problem?
    >
    > At the moment I get this:
    > stoneboat:/etc/php4/apache# dpkg --configure proftpd
    > Setting up proftpd (1.2.4+1.2.5rc1-5woody2) ...
    > dpkg: error processing proftpd (--configure):
    > subprocess post-installation script returned error exit status 10
    That's probably a debconf error. Run with DEBCONF_DEBUG=developer to see
    more detail.

    Cheers,

    --
    Colin Watson [cjwatsonflatline.org.uk]


    --
    To UNSUBSCRIBE, email to [email]debian-user-requestlists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmasterlists.debian.org[/email]
    Colin Watson Guest

Similar Threads

  1. How To Supress Acrobat Error Message And Alert Message
    By ckpang@adobeforums.com in forum Adobe Acrobat SDK
    Replies: 10
    Last Post: January 15th, 11:33 AM
  2. Replies: 4
    Last Post: March 23rd, 12:56 AM
  3. PHP configure error
    By Mark McCulligh in forum PHP Development
    Replies: 0
    Last Post: September 10th, 01:43 PM
  4. [PHP] PHP configure error
    By Marek Kilimajer in forum PHP Development
    Replies: 1
    Last Post: September 10th, 01:07 PM
  5. Replies: 2
    Last Post: July 15th, 07:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139