Error with "sudo apt-get upgrade" (Ubuntu 14.04)

DavidK

You can see below the error I encounter.

I did search on Google if the question has already been asked (and answered) but nothing works for me. I can't do sudo apt-get upgrade or install.

Thanks in advance if someone can help me with this situation.

Regards,

David

david@09:25:47 ~$sudo apt-get upgrade
[sudo] password for david: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Setting up dictionaries-common (1.20.5) ...
update-default-wordlist: Question empty but elements installed for class "wordlist"
  dictionaries-common/default-wordlist: return code: "0", value: ""
  Choices: , Manual symlink setting
  shared/packages-wordlist: return code: "10" owners/error: "shared/packages-wordlist doesn't exist"
  Installed elements: american (American English), british (British English)

  Please see "/usr/share/doc/dictionaries-common/README.problems", section
  "Debconf database corruption" for recovery info.

update-default-wordlist: Selected wordlist "" 
does not correspond to any installed package in the system
and no alternative wordlist could be selected.
dpkg: error processing package dictionaries-common (--configure):
 subprocess installed post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of aspell:
 aspell depends on dictionaries-common (>> 0.40); however:
  Package dictionaries-common is not configured yet.

dpkg: error processing package aspell (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of hyphen-en-us:
 hyphen-en-us depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package hyphen-en-us (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          dpkg: dependency problems prevent configuration of myspell-en-gb:
 myspell-en-gb depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package myspell-en-gb (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              dpkg: dependency problems prevent configuration of myspell-en-za:
 myspell-en-za depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.

dpkg: error processing package myspell-en-za (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mythes-en-us:
 mythes-en-us depends on dictionaries-common (>= 0.10) | openoffice.org-updatedicts; however:
  Package dictionaries-common is not configured yet.
  Package openoffice.org-updatedicts is not installed.
  Package dictionaries-common which provides openoffice.org-updatedicts is not configured yet.No apport report written because MaxReports is reached already


dpkg: error processing package mythes-en-us (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 dictionaries-common
 aspell
 hyphen-en-us
 myspell-en-gb
 myspell-en-za
 mythes-en-us
E: Sub-process /usr/bin/dpkg returned an error code (1)
DavidK

The solution was to look at the /usr/share/doc/dictionaries-common/README.problems file as suggested by @Dubu.

1) running /usr/share/debconf/fix_db.pl as root

Look which templates were affected

2) diff -u /var/cache/debconf/config.dat{-old,} | grep ^[+-]Name

3) diff -u /var/cache/debconf/templates.dat{-old,} | grep ^[+-]Name

4) sudo dpkg-reconfigure dictionaries-common (This prints that the package is not installed or corrupted.)

5) sudo apt-get upgrade

Thanks again ;)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Error installing ubuntu server 14:04 / 15:04

From Dev

Dual boot ubuntu 14 .04LTS

From Dev

How do I install Muvizu on Ubuntu 14,04 LTS?

From Dev

Receiving error during automake command in ubuntu 14

From Dev

My Prolific Technology, Inc. PL2303 Serial Port adapter doesn't work in either ubuntu 13:10 or 14:04

From Dev

Pretty Printers Error while executing Python code in Eclipse Ubuntu 14

From Dev

Pretty Printers Error while executing Python code in Eclipse Ubuntu 14

From Dev

Laravel to MS SQL Server on Ubuntu : Error 262, Severity 14

From Dev

apt-get works with private repository in Ubuntu 14 but fails with GPG error "signatures invalid" in Ubuntu 18

From Dev

MySql Workbench on Ubuntu 14

From Dev

MySql Workbench on Ubuntu 14

From Dev

Elementary OS on Ubuntu 14

From Dev

Ubuntu 14 not a valid iso

From Dev

QR reader for Ubuntu 14?

From Dev

PHP is not working on ubuntu 14

From Dev

Can't run IDEA 14 on Ubuntu 14

From Dev

Ubuntu error message after GRUB " pci 0000:00:14:0: PCI INT A no GSI "

From Dev

octave installed error - Depends: gcc-5-base (= 5.3.1-14ubuntu2)

From Dev

PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20

From Dev

Ubuntu 14/16/18 install to ASUS T100 fails with I/O error, dumps to initramfs

From Dev

how to install nmap in ubuntu 12;04

From Dev

how to install nmap in ubuntu 12;04

From Dev

Since this morning the network is unreachable Ubuntu 18:04

From Dev

Installing opencv on Ubuntu 16-04

From Dev

Highcharts Error #14 with SPServices

From Dev

Starting jetty fail in ubuntu 14

From Dev

Update ansible (ubuntu server 14)

From Dev

Zoom desktop tool for Ubuntu 14

From Dev

Java Install Fails On Ubuntu 14

From Dev

Zoom desktop tool for Ubuntu 14

Related Related

  1. 1

    Error installing ubuntu server 14:04 / 15:04

  2. 2

    Dual boot ubuntu 14 .04LTS

  3. 3

    How do I install Muvizu on Ubuntu 14,04 LTS?

  4. 4

    Receiving error during automake command in ubuntu 14

  5. 5

    My Prolific Technology, Inc. PL2303 Serial Port adapter doesn't work in either ubuntu 13:10 or 14:04

  6. 6

    Pretty Printers Error while executing Python code in Eclipse Ubuntu 14

  7. 7

    Pretty Printers Error while executing Python code in Eclipse Ubuntu 14

  8. 8

    Laravel to MS SQL Server on Ubuntu : Error 262, Severity 14

  9. 9

    apt-get works with private repository in Ubuntu 14 but fails with GPG error "signatures invalid" in Ubuntu 18

  10. 10

    MySql Workbench on Ubuntu 14

  11. 11

    MySql Workbench on Ubuntu 14

  12. 12

    Elementary OS on Ubuntu 14

  13. 13

    Ubuntu 14 not a valid iso

  14. 14

    QR reader for Ubuntu 14?

  15. 15

    PHP is not working on ubuntu 14

  16. 16

    Can't run IDEA 14 on Ubuntu 14

  17. 17

    Ubuntu error message after GRUB " pci 0000:00:14:0: PCI INT A no GSI "

  18. 18

    octave installed error - Depends: gcc-5-base (= 5.3.1-14ubuntu2)

  19. 19

    PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20

  20. 20

    Ubuntu 14/16/18 install to ASUS T100 fails with I/O error, dumps to initramfs

  21. 21

    how to install nmap in ubuntu 12;04

  22. 22

    how to install nmap in ubuntu 12;04

  23. 23

    Since this morning the network is unreachable Ubuntu 18:04

  24. 24

    Installing opencv on Ubuntu 16-04

  25. 25

    Highcharts Error #14 with SPServices

  26. 26

    Starting jetty fail in ubuntu 14

  27. 27

    Update ansible (ubuntu server 14)

  28. 28

    Zoom desktop tool for Ubuntu 14

  29. 29

    Java Install Fails On Ubuntu 14

  30. 30

    Zoom desktop tool for Ubuntu 14

HotTag

Archive