Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: command help

  1. #11
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: command help

    Quote Originally Posted by rburkartjo View Post
    ni it returns with nothing

    would i mess up my system if i just became root and navigated to

    /var/cache/debconf

    and deleted these files
    config.data and config.data-old

    or could i just delete all the files in the folder and not just the aforementioned
    there is also these files in /var/cache/debconf
    password.data
    templetes.data
    templetes.data-old
    Probably Yes. I just deleted the folder (in VB of course) and I can not dpkg-reconfigure anything , the results are
    Code:
    Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 44, <DEBCONF_CONFIG> chunk 3.
    Use of uninitialized value in -e at /usr/share/perl5/Debconf/DbDriver/File.pm line 46, <DEBCONF_CONFIG> chunk 3.
    Use of uninitialized value in pattern match (m//) at /usr/share/perl5/Debconf/DbDriver/File.pm line 47, <DEBCONF_CONFIG> chunk 3.
    Use of uninitialized value $directory in -d at /usr/share/perl5/Debconf/DbDriver/File.pm line 48, <DEBCONF_CONFIG> chunk 3.
    Use of uninitialized value $directory in concatenation (.) or string at /usr/share/perl5/Debconf/DbDriver/File.pm line 49, <DEBCONF_CONFIG> chunk 3.
    debconf: DbDriver "config": mkdir :No such file or directory
    EDIT: Just tried again and I saw that there is no problem if you manually re-create the folder.
    Code:
    sudo mkdir /var/cache/debconf/
    So , first backup the folder
    Code:
    sudo cp -R /var/cache/debconf ~/
    then remove and create the folder again
    Code:
    sudo rm -r /var/cache/debconf
    sudo mkdir /var/cache/debconf
    and then try again
    Code:
    sudo dpkg --configure -a
    sudo dpkg-reconfigure -a
    If any problem occurs you can restore (the backed up debconf) with
    Code:
    sudo cp -R debconf /var/cache/
    Thanks
    Last edited by NikTh; November 2nd, 2012 at 07:54 PM.

  2. #12
    Join Date
    Dec 2007
    Location
    howard, wi
    Beans
    2,460
    Distro
    Ubuntu 20.04 Focal Fossa

    Lightbulb Re: command help

    ni tks for all your help got it working just backed up folder. then deleted and remade as you suggested

  3. #13
    Join Date
    Feb 2012
    Location
    Athens/Greece
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: command help

    Quote Originally Posted by rburkartjo View Post
    ni tks for all your help got it working just backed up folder. then deleted and remade as you suggested


    Then I guess you can mark the thread as solved. Click on "thread tools" above.

    Thanks

Page 2 of 2 FirstFirst 12

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
  •