Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Debconf/dpkg--Cannot install anything or repair broken pacakges

  1. #21

    Re: Debconf/dpkg--Cannot install anything or repair broken pacakges

    OK.
    All I can think of to do is try:
    Code:
    sudo dpkg-reconfigure debconf
    and if that runs without any "FATAL" type reports, then try one of these (or a variant)
    Code:
    sudo dpkg-reconfigure tzdata
    or
    Code:
    sudo apt-get install --reinstall tzdata
    I do not believe that any one "magic command" is going to fix this for you, so I suggest you take deep breaths and examine closely
    the output given in any one single shell command before proceeding to another command.
    Last edited by Habitual; May 14th, 2015 at 04:34 PM.
    Windows assumes the user is an idiot.
    Linux demands proof.

  2. #22
    Join Date
    Feb 2012
    Beans
    14

    Re: Debconf/dpkg--Cannot install anything or repair broken pacakges

    Thanks for the suggestions, I believe I've tried all of those before...results:

    Code:
    # dpkg-reconfigure debconf
    /var/lib/dpkg/info/debconf.postinst: 42: .: Can't open /usr/share/debconf/confmodule
    ....because it does not exist, /usr/share/debconf is empty
    Code:
     # dpkg-reconfigure tzdata
    /usr/sbin/dpkg-reconfigure: tzdata is broken or not fully installed
    # sudo apt-get install --reinstall tzdata
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
    Code:
    # dpkg --configure -a
    Setting up tzdata (2015d-0ubuntu0.14.04) ...
    /var/lib/dpkg/info/tzdata.postinst: 9: .: Can't open /usr/share/debconf/confmodule
    dpkg: error processing package tzdata (--configure):
     subprocess installed post-installation script returned error exit status 2
    Setting up libpam-systemd:amd64 (204-5ubuntu20.11) ...
    Can't exec "/usr/share/debconf/frontend": No such file or directory at /usr/share/perl5/Debconf/Client/ConfModule.pm line 78.
    VERSION 2.0
    ...And back to that same old hang again.
    That line 78 in /usr/share/perl5/Debconf/Client/ConfModule.pm reads,
    Code:
    exec "/usr/share/debconf/frontend", $0, @ARGV;
    but, as stated above, "/usr/share/debconf/ is empty.

    Content of that file is way beyond my comprehension.

    It would seem tzdata, dpkg and debconf are all broken. Possiblilty of manually reinstalling them?

    The irony of this is, the system runs fine and all programs work, except for the inability to install anything.

  3. #23

    Re: Debconf/dpkg--Cannot install anything or repair broken pacakges

    I'm fresh out of ideas.
    Windows assumes the user is an idiot.
    Linux demands proof.

Page 3 of 3 FirstFirst 123

Tags for this Thread

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
  •