package operation failed

Asked by craigguthier

installArchives() failed: (Reading database ...
dpkg: warning: files list file for package `thunderbird' missing, assuming package has no files currently installed.

(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 220467 files and directories currently installed.)
Preparing to replace unity 5.18.0-0ubuntu1 (using .../unity_5.18.0-0ubuntu2_amd64.deb) ...
Unpacking replacement unity ...
Preparing to replace libunity-core-5.0-5 5.18.0-0ubuntu1 (using .../libunity-core-5.0-5_5.18.0-0ubuntu2_amd64.deb) ...
Unpacking replacement libunity-core-5.0-5 ...
Preparing to replace unity-services 5.18.0-0ubuntu1 (using .../unity-services_5.18.0-0ubuntu2_amd64.deb) ...
Unpacking replacement unity-services ...
Preparing to replace unity-common 5.18.0-0ubuntu1 (using .../unity-common_5.18.0-0ubuntu2_all.deb) ...
Unpacking replacement unity-common ...
Preparing to replace gnome-settings-daemon 3.4.2-0ubuntu0.6.1 (using .../gnome-settings-daemon_3.4.2-0ubuntu0.6.2_amd64.deb) ...
Unpacking replacement gnome-settings-daemon ...
Preparing to replace unity-greeter 0.2.8-0ubuntu1.4 (using .../unity-greeter_0.2.9-0ubuntu1_amd64.deb) ...
Unpacking replacement unity-greeter ...
Processing triggers for gconf2 ...
Processing triggers for libglib2.0-0 ...
Processing triggers for hicolor-icon-theme ...
Setting up lightdm (1.2.3-0ubuntu1) ...
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
Setting up grub-pc (1.99-21ubuntu3.9) ...
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up unity-services (5.18.0-0ubuntu2) ...
No apport report written because MaxReports is reached already
Setting up libunity-core-5.0-5 (5.18.0-0ubuntu2) ...
Setting up unity-common (5.18.0-0ubuntu2) ...
Setting up unity (5.18.0-0ubuntu2) ...
Setting up gnome-settings-daemon (3.4.2-0ubuntu0.6.2) ...
Setting up unity-greeter (0.2.9-0ubuntu1) ...
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
No apport report written because MaxReports is reached already
ldconfig deferred processing now taking place
Errors were encountered while processing:
 lightdm
 man-db
 ubuntu-standard
 checkbox
 checkbox-qt
 grub-pc
 ubuntu-desktop
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up grub-pc (1.99-21ubuntu3.9) ...
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up lightdm (1.2.3-0ubuntu1) ...
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
craigguthier (craigguthier-legacy) said :
#2

Thanks for your help on all of these problems, much appreciated. Will do.

Craig

On Thu, Feb 7, 2013 at 4:05 PM, actionparsnip
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> I suggest you report a bug
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Your output shows a traceback involving checkbox and debconf.
Maybe the terminal command

debconf-show checkbox

reveals something strange?

Revision history for this message
craigguthier (craigguthier-legacy) said :
#4

installArchives() failed: (Reading database ...
dpkg: warning: files list file for package `thunderbird' missing, assuming package has no files currently installed.

(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 220462 files and directories currently installed.)
Preparing to replace linux-generic 3.2.0.37.44 (using .../linux-generic_3.2.0.37.45_amd64.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 3.2.0.37.44 (using .../linux-image-generic_3.2.0.37.45_amd64.deb) ...
Unpacking replacement linux-image-generic ...
Preparing to replace linux-headers-generic 3.2.0.37.44 (using .../linux-headers-generic_3.2.0.37.45_amd64.deb) ...
Unpacking replacement linux-headers-generic ...
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-generic (3.2.0.37.45) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Setting up linux-headers-generic (3.2.0.37.45) ...
Setting up linux-generic (3.2.0.37.45) ...
Errors were encountered while processing:
 man-db
 ubuntu-standard
 checkbox
 checkbox-qt
 ubuntu-desktop
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

This is not the output I expected.

Can you please execute

debconf-show checkbox

and copy/paste the output of that command in a terminal (including the line before and after).

Revision history for this message
craigguthier (craigguthier-legacy) said :
#6

installArchives() failed: (Reading database ...
dpkg: warning: files list file for package `thunderbird' missing, assuming package has no files currently installed.

(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 220462 files and directories currently installed.)
Preparing to replace linux-generic 3.2.0.37.44 (using .../linux-generic_3.2.0.37.45_amd64.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 3.2.0.37.44 (using .../linux-image-generic_3.2.0.37.45_amd64.deb) ...
Unpacking replacement linux-image-generic ...
Preparing to replace linux-headers-generic 3.2.0.37.44 (using .../linux-headers-generic_3.2.0.37.45_amd64.deb) ...
Unpacking replacement linux-headers-generic ...
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Setting up linux-image-generic (3.2.0.37.45) ...
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Setting up linux-headers-generic (3.2.0.37.45) ...
Setting up linux-generic (3.2.0.37.45) ...
Errors were encountered while processing:
 man-db
 ubuntu-standard
 checkbox
 checkbox-qt
 ubuntu-desktop
Error in function:
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1)
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured

Revision history for this message
craigguthier (craigguthier-legacy) said :
#7

craigguthier@craigguthier-MS-7696:~$ debconf-show checkbox
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
  checkbox:
craigguthier@craigguthier-MS-7696:~$ debconf-show checkbox
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
  checkbox:
craigguthier@craigguthier-MS-7696:~$

Revision history for this message
craigguthier (craigguthier-legacy) said :
#8

I tried it twice and was denied permission. Please see launchpad.

Thanks,

Craig

On Fri, Feb 8, 2013 at 6:45 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> This is not the output I expected.
>
> Can you please execute
>
> debconf-show checkbox
>
> and copy/paste the output of that command in a terminal (including the
> line before and after).
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

My fault, I missed to take into account the access restrictions.

please try

sudo debconf-show checkbox

Revision history for this message
craigguthier (craigguthier-legacy) said :
#10

It didn't appear to do anything. Here is the output

craigguthier@craigguthier-MS-7696:~$ sudo debconf-show checkbox
[sudo] password for craigguthier:
  checkbox:
craigguthier@craigguthier-MS-7696:~$

Revision history for this message
craigguthier (craigguthier-legacy) said :
#11

It didn't appear to do anything. Here is the output

craigguthier@craigguthier-MS-7696:~$ sudo debconf-show checkbox
[sudo] password for craigguthier:
  checkbox:
craigguthier@craigguthier-MS-7696:~$

On Fri, Feb 8, 2013 at 8:05 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> My fault, I missed to take into account the access restrictions.
>
> please try
>
> sudo debconf-show checkbox
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Ok, empty output is one of the possible results (although it may come unexpected).

I would like to recommend as next step to try reinstalling checkbox:

sudo apt-get install --reinstall checkbox

If that still fails with the same debconf error, maybe enabling debug output provides some hints what's going wrong, if the above command fails, please try

sudo DEBCONF_DEBUG=developer dpkg --configure -a
ls -la /var/cache/debcon
ls -la /usr/share/checkbox/install

In any case paste all output as done before.

Revision history for this message
craigguthier (craigguthier-legacy) said :
#13

craigguthier@craigguthier-MS-7696:~$ sudo apt-get install --reinstall checkbox
[sudo] password for craigguthier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lightdm (1.2.3-0ubuntu1) ...
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
Setting up grub-pc (1.99-21ubuntu3.9) ...
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                            dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 lightdm
 man-db
 ubuntu-standard
 checkbox
 checkbox-qt
 grub-pc
 ubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
craigguthier@craigguthier-MS-7696:~$ sudo DEBCONF_DEBUG=developer dpkg --configure -a
Setting up man-db (2.6.1-2ubuntu1) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is man-db
debconf (developer): starting /var/lib/dpkg/info/man-db.config configure 2.6.1-2ubuntu1
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- INPUT medium man-db/install-setuid
debconf (developer): --> 10 "man-db/install-setuid" doesn't exist
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/man-db.postinst configure 2.6.1-2ubuntu1
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- GET man-db/install-setuid
debconf (developer): --> 10 man-db/install-setuid doesn't exist
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is checkbox
debconf (developer): starting /var/lib/dpkg/info/checkbox.config configure 0.13.7
debconf (developer): <-- INPUT medium checkbox/plugins/jobs_info/blacklist
debconf (developer): --> 10 "checkbox/plugins/jobs_info/blacklist" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/jobs_info/whitelist
debconf (developer): --> 10 "checkbox/plugins/jobs_info/whitelist" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/launchpad_exchange/transport_url
debconf (developer): --> 10 "checkbox/plugins/launchpad_exchange/transport_url" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/launchpad_prompt/email
debconf (developer): --> 10 "checkbox/plugins/launchpad_prompt/email" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/apport_prompt/default_enabled
debconf (developer): --> 10 "checkbox/plugins/apport_prompt/default_enabled" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/apport_prompt/default_package
debconf (developer): --> 10 "checkbox/plugins/apport_prompt/default_package" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/proxy_info/http_proxy
debconf (developer): --> 10 "checkbox/plugins/proxy_info/http_proxy" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/proxy_info/https_proxy
debconf (developer): --> 10 "checkbox/plugins/proxy_info/https_proxy" doesn't exist
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/checkbox.postinst configure 0.13.7
debconf (developer): <-- VERSION 2
debconf (developer): --> 0 2.0
debconf (developer): <-- CAPB
debconf (developer): --> 0 multiselect escape backup
debconf (developer): <-- GET checkbox/plugins/apport_prompt/default_enabled
debconf (developer): --> 10 checkbox/plugins/apport_prompt/default_enabled doesn't exist
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10, "checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up grub-pc (1.99-21ubuntu3.9) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is grub-pc
debconf (developer): starting /var/lib/dpkg/info/grub-pc.config configure 1.99-21ubuntu3.7
debconf (developer): <-- SET grub2/linux_cmdline
debconf (developer): --> 10 grub2/linux_cmdline doesn't exist
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up lightdm (1.2.3-0ubuntu1) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is lightdm
debconf (developer): starting /var/lib/dpkg/info/lightdm.config configure 1.2.1-0ubuntu1.1
debconf (developer): <-- METAGET shared/default-x-display-manager owners
debconf (developer): --> 10 shared/default-x-display-manager doesn't exist
debconf (developer): <-- METAGET shared/default-x-display-manager choices
debconf (developer): --> 10 shared/default-x-display-manager doesn't exist
debconf (developer): <-- SET shared/default-x-display-manager kdm
debconf (developer): --> 10 shared/default-x-display-manager doesn't exist
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 man-db
 ubuntu-standard
 checkbox
 grub-pc
 lightdm
 checkbox-qt
 ubuntu-desktop
craigguthier@craigguthier-MS-7696:~$ ls -la /var/cache/debcon
ls: cannot access /var/cache/debcon: No such file or directory
craigguthier@craigguthier-MS-7696:~$ ls -la /usr/share/checkbox/install
total 20
drwxr-xr-x 2 root root 4096 Jan 24 22:21 .
drwxr-xr-x 11 root root 4096 Jan 24 22:21 ..
-rwxr-xr-x 1 root root 5386 Nov 23 03:25 config
-rw-r--r-- 1 root root 2337 Nov 23 03:25 postinst

Revision history for this message
craigguthier (craigguthier-legacy) said :
#14

Manfred, here is the output.

Thanks,

Craig

On Mon, Feb 11, 2013 at 2:41 AM, Manfred Hampl
<email address hidden> wrote:
> craigguthier@craigguthier-MS-7696:~$ sudo apt-get install --reinstall checkbox
[sudo] password for craigguthier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up lightdm (1.2.3-0ubuntu1) ...
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
                          Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10,
"checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
Setting up grub-pc (1.99-21ubuntu3.9) ...
No apport report written because MaxReports is reached already
                                                              No
apport report written because MaxReports is reached already
                                            dpkg: error processing
grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
No apport report written because MaxReports is reached already
                                                              dpkg:
dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors
were encountered while processing:
 lightdm
 man-db
 ubuntu-standard
 checkbox
 checkbox-qt
 grub-pc
 ubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
craigguthier@craigguthier-MS-7696:~$ sudo DEBCONF_DEBUG=developer dpkg
--configure -a
Setting up man-db (2.6.1-2ubuntu1) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is man-db
debconf (developer): starting /var/lib/dpkg/info/man-db.config
configure 2.6.1-2ubuntu1
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- INPUT medium man-db/install-setuid
debconf (developer): --> 10 "man-db/install-setuid" doesn't exist
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/man-db.postinst
configure 2.6.1-2ubuntu1
debconf (developer): <-- VERSION 2.0
debconf (developer): --> 0 2.0
debconf (developer): <-- GET man-db/install-setuid
debconf (developer): --> 10 man-db/install-setuid doesn't exist
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is checkbox
debconf (developer): starting /var/lib/dpkg/info/checkbox.config
configure 0.13.7
debconf (developer): <-- INPUT medium checkbox/plugins/jobs_info/blacklist
debconf (developer): --> 10 "checkbox/plugins/jobs_info/blacklist" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/jobs_info/whitelist
debconf (developer): --> 10 "checkbox/plugins/jobs_info/whitelist" doesn't exist
debconf (developer): <-- INPUT medium
checkbox/plugins/launchpad_exchange/transport_url
debconf (developer): --> 10
"checkbox/plugins/launchpad_exchange/transport_url" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/launchpad_prompt/email
debconf (developer): --> 10 "checkbox/plugins/launchpad_prompt/email"
doesn't exist
debconf (developer): <-- INPUT medium
checkbox/plugins/apport_prompt/default_enabled
debconf (developer): --> 10
"checkbox/plugins/apport_prompt/default_enabled" doesn't exist
debconf (developer): <-- INPUT medium
checkbox/plugins/apport_prompt/default_package
debconf (developer): --> 10
"checkbox/plugins/apport_prompt/default_package" doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/proxy_info/http_proxy
debconf (developer): --> 10 "checkbox/plugins/proxy_info/http_proxy"
doesn't exist
debconf (developer): <-- INPUT medium checkbox/plugins/proxy_info/https_proxy
debconf (developer): --> 10 "checkbox/plugins/proxy_info/https_proxy"
doesn't exist
debconf (developer): <-- GO
debconf (developer): --> 0 ok
debconf (developer): starting /var/lib/dpkg/info/checkbox.postinst
configure 0.13.7
debconf (developer): <-- VERSION 2
debconf (developer): --> 0 2.0
debconf (developer): <-- CAPB
debconf (developer): --> 0 multiselect escape backup
debconf (developer): <-- GET checkbox/plugins/apport_prompt/default_enabled
debconf (developer): --> 10
checkbox/plugins/apport_prompt/default_enabled doesn't exist
Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10,
"checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up grub-pc (1.99-21ubuntu3.9) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is grub-pc
debconf (developer): starting /var/lib/dpkg/info/grub-pc.config
configure 1.99-21ubuntu3.7
debconf (developer): <-- SET grub2/linux_cmdline
debconf (developer): --> 10 grub2/linux_cmdline doesn't exist
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up lightdm (1.2.3-0ubuntu1) ...
debconf (developer): frontend started
debconf (developer): frontend running, package name is lightdm
debconf (developer): starting /var/lib/dpkg/info/lightdm.config
configure 1.2.1-0ubuntu1.1
debconf (developer): <-- METAGET shared/default-x-display-manager owners
debconf (developer): --> 10 shared/default-x-display-manager doesn't exist
debconf (developer): <-- METAGET shared/default-x-display-manager choices
debconf (developer): --> 10 shared/default-x-display-manager doesn't exist
debconf (developer): <-- SET shared/default-x-display-manager kdm
debconf (developer): --> 10 shared/default-x-display-manager doesn't exist
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 man-db
 ubuntu-standard
 checkbox
 grub-pc
 lightdm
 checkbox-qt
 ubuntu-desktop
craigguthier@craigguthier-MS-7696:~$ ls -la /var/cache/debcon
ls: cannot access /var/cache/debcon: No such file or directory
craigguthier@craigguthier-MS-7696:~$ ls -la /usr/share/checkbox/install
total 20
drwxr-xr-x 2 root root 4096 Jan 24 22:21 .
drwxr-xr-x 11 root root 4096 Jan 24 22:21 ..
-rwxr-xr-x 1 root root 5386 Nov 23 03:25 config
-rw-r--r-- 1 root root 2337 Nov 23 03:25 postinst

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

Sorry, I lost a character in one of the commands, please provide the output of

ls -la /var/cache/debconf

Revision history for this message
craigguthier (craigguthier-legacy) said :
#16

Not a problem, here is the output.

craigguthier@craigguthier-MS-7696:~$ ls -la /var/cache/debconf
total 992
drwxr-xr-x 2 root root 4096 Feb 11 04:16 .
drwxr-xr-x 18 root root 4096 Jan 21 05:46 ..
-rw-r--r-- 1 root root 437 Feb 5 16:33 config.dat
-rw-r--r-- 1 root root 376 Feb 4 18:07 config.dat-old
-rw------- 1 root root 0 Jul 31 2012 passwords.dat
-rw-r--r-- 1 root root 499299 Feb 11 04:16 templates.dat
-rw-r--r-- 1 root root 499299 Feb 11 04:16 templates.dat-old

On Mon, Feb 11, 2013 at 4:41 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Sorry, I lost a character in one of the commands, please provide the
> output of
>
> ls -la /var/cache/debconf
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

Some details in the output above indicate that the problem might be caused by something in debconf that does not behave as expected. My next advice consequently is to try reinstalling debconf.

sudo apt-get install --reinstall debconf

Revision history for this message
craigguthier (craigguthier-legacy) said :
#18

Manfred, here is the output.

Thanks

craigguthier@craigguthier-MS-7696:~$ sudo apt-get install --reinstall debconf
[sudo] password for craigguthier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
Need to get 145 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ precise/main debconf all
1.5.42ubuntu1 [145 kB]
Fetched 145 kB in 0s (171 kB/s)
Preconfiguring packages ...
debconf: warning: possible database corruption. Will attempt to repair
by adding back missing question debconf.
(Reading database ...
dpkg: warning: files list file for package `thunderbird' missing,
assuming package has no files currently installed.
(Reading database ... 220467 files and directories currently installed.)
Preparing to replace debconf 1.5.42ubuntu1 (using
.../debconf_1.5.42ubuntu1_all.deb) ...
Unpacking replacement debconf ...
Setting up debconf (1.5.42ubuntu1) ...
Setting up lightdm (1.2.3-0ubuntu1) ...
dpkg: error processing lightdm (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up man-db (2.6.1-2ubuntu1) ...
dpkg: error processing man-db (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of ubuntu-standard:
 ubuntu-standard depends on man-db; however:
  Package man-db is not configured yet.
dpkg: error processing ubuntu-standard (--configure):
 dependency problems - leaving unconfigured
Setting up checkbox (0.13.9) ...
No apport report written because the error message indicates its a
followup error from a previous failure.
                          Traceback (most recent call last):
  File "/usr/share/checkbox/install/config", line 162, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/usr/share/checkbox/install/config", line 156, in main
    install.write(file)
  File "/usr/share/checkbox/install/config", line 122, in write
    new_value = self._debconf.get(question)
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 60, in <lambda>
    lambda *args, **kw: self.command(command, *args, **kw))
  File "/usr/lib/python2.7/dist-packages/debconf.py", line 96, in command
    raise DebconfError(status, data)
debconf.DebconfError: (10,
"checkbox/plugins/apport_prompt/default_enabled doesn't exist")
dpkg: error processing checkbox (--configure):
 subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
                                                              dpkg:
dependency problems prevent configuration of checkbox-qt:
 checkbox-qt depends on checkbox (>= 0.13.9); however:
  Package checkbox is not configured yet.
dpkg: error processing checkbox-qt (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Setting
up grub-pc (1.99-21ubuntu3.9) ...
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
No apport report written because MaxReports is reached already
                                                              dpkg:
dependency problems prevent configuration of ubuntu-desktop:
 ubuntu-desktop depends on checkbox-qt; however:
  Package checkbox-qt is not configured yet.
 ubuntu-desktop depends on lightdm; however:
  Package lightdm is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors
were encountered while processing:
 lightdm
 man-db
 ubuntu-standard
 checkbox
 checkbox-qt
 grub-pc
 ubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)

On Mon, Feb 11, 2013 at 7:05 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Some details in the output above indicate that the problem might be
> caused by something in debconf that does not behave as expected. My next
> advice consequently is to try reinstalling debconf.
>
> sudo apt-get install --reinstall debconf
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331/+confirm?answer_id=16
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

Now there is a debconf warning:

debconf: warning: possible database corruption. Will attempt to repair
by adding back missing question debconf.

According to a number of hits on google, e.g. http://lists.debian.org/debian-user/2003/10/msg04581.html the solution is to remove the dat files in /var/cache/debconf

My advice is to try:

sudo mv /var/cache/debconf/config.dat /var/cache/debconf/config.bck
sudo mv /var/cache/debconf/templates.dat /var/cache/debconf/templates.bck
sudo apt-get install --reinstall debconf

Revision history for this message
craigguthier (craigguthier-legacy) said :
#20

Manfred, I entered the command and it started to do something and then
the following popped up. I hit enter but the grub package screen is
just sitting there.

The grub-pc package is being upgraded. This menu allows you to select
 │ which devices you'd like grub-install to be automatically run for, if
 │ any.
 │
 │ Running grub-install automatically is recommended in most situations, to
 │ prevent the installed GRUB core image from getting out of sync with GRUB
 │ modules or grub.cfg.
 │
 │ If you're unsure which drive is designated as boot drive by your BIOS,
 │ it is often a good idea to install GRUB to all of them.
 │
 │ Note: it is possible to install GRUB to partition boot records as well,
 │ and some appropriate partitions are offered here. However, this forces
 │ GRUB to use the blocklist mechanism, which makes it less reliable, and
 │
 │ <Ok>

On Mon, Feb 11, 2013 at 7:45 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
>
> Now there is a debconf warning:
>
> debconf: warning: possible database corruption. Will attempt to repair
> by adding back missing question debconf.
>
> According to a number of hits on google, e.g. http://lists.debian.org
> /debian-user/2003/10/msg04581.html the solution is to remove the dat
> files in /var/cache/debconf
>
> My advice is to try:
>
> sudo mv /var/cache/debconf/config.dat /var/cache/debconf/config.bck
> sudo mv /var/cache/debconf/templates.dat /var/cache/debconf/templates.bck
> sudo apt-get install --reinstall debconf
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331/+confirm?answer_id=18
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

It seems that the root cause of the problem was finally found - apparently a corrupted debconf database - and renaming the defective files made package management operational again.

The only problem now is, that by removing the old debconf database the answers that have been given for some package installations have been lost.

One of the questions that was answered at a certain moment in the past (most probably at the time of first installation), was to select on which device(s) the grub boot loader should be installed. There is an upgrade of grub-pc currently waiting for installation on your system, and usually the update just takes the old answer, but cannot find it any more - and so it asks again.

What I propose to do:
Look in /var/cache/debconf/config.bck (and maybe /var/cache/debconf/config.dat-old) whether you can find an answer to "grub-pc/install_devices"
And then you should answer the debconf dialogue by selecting these values. If you do not find any old answer, you have to find the right answer yourself based on the information shown and your knowledge about your own system.

Revision history for this message
craigguthier (craigguthier-legacy) said :
#22

Manfred, the computer froze so I had to reboot. The prompt for my
password didn't come up and when the regular display screen came up
all of my icons were missing. I rebooted using the recovery mode and
updated the grub in the recovery options. I noticed that among other
things it doesn't appear to identify who the user is. Bottom line I
don't seem to be able to get to my apps so I can use chrome to
implement your suggestions. Is there a way to get to my apps and or
restore my icons?

Thanks,

Craig

On Mon, Feb 11, 2013 at 8:26 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> It seems that the root cause of the problem was finally found -
> apparently a corrupted debconf database - and renaming the defective
> files made package management operational again.
>
> The only problem now is, that by removing the old debconf database the
> answers that have been given for some package installations have been
> lost.
>
> One of the questions that was answered at a certain moment in the past
> (most probably at the time of first installation), was to select on
> which device(s) the grub boot loader should be installed. There is an
> upgrade of grub-pc currently waiting for installation on your system,
> and usually the update just takes the old answer, but cannot find it any
> more - and so it asks again.
>
> What I propose to do:
> Look in /var/cache/debconf/config.bck (and maybe /var/cache/debconf/config.dat-old) whether you can find an answer to "grub-pc/install_devices"
> And then you should answer the debconf dialogue by selecting these values. If you do not find any old answer, you have to find the right answer yourself based on the information shown and your knowledge about your own system.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331/+confirm?answer_id=20
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

Your new problem seems to me not to be caused by debconf, but most probably has a different background - and there is not enough information yet to identify the root cause.

Taking into account the time and number of answers already consumed for your problem, you should consider re-installing a clean version of Ubuntu.

I do not know how much data you have that should be kept, how much customization you have done on your system, and if you have recent backups of all your data. I guess that at the end a restart from scratch will nees less effort than trying to get your system back up again.

Just one additional hint: Some of the problems that have been seen on your system can be caused by file system errors; I recommend performing a file system check as soon as possible.

Revision history for this message
craigguthier (craigguthier-legacy) said :
#24

Manfred I was able to fix the new problem. Thanks for all your effort
and help with this, I really appreciate it.

Craig

On Tue, Feb 12, 2013 at 1:01 AM, Manfred Hampl
<email address hidden> wrote:
> Your question #221331 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> Your new problem seems to me not to be caused by debconf, but most
> probably has a different background - and there is not enough
> information yet to identify the root cause.
>
> Taking into account the time and number of answers already consumed for
> your problem, you should consider re-installing a clean version of
> Ubuntu.
>
> I do not know how much data you have that should be kept, how much
> customization you have done on your system, and if you have recent
> backups of all your data. I guess that at the end a restart from scratch
> will nees less effort than trying to get your system back up again.
>
> Just one additional hint: Some of the problems that have been seen on
> your system can be caused by file system errors; I recommend performing
> a file system check as soon as possible.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331/+confirm?answer_id=22
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/221331
>
> You received this question notification because you asked the question.

--
Sincerely,

Craig Guthier
Senior Risk Analyst
Legacy P&C Partners, Inc.
7710 W. 60th Terrace
Overland Park, Ks. 66202
Home 913-384-9343
Cell # (913) 209-5526
Fax # 877-582-2797
E-mail <email address hidden>

Can you help with this problem?

Provide an answer of your own, or ask craigguthier for more information if necessary.

To post a message you must log in.