Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

After running sudo apt-get upgrade I got the following error:

The following packages have unmet dependencies:
 gnome-user-guide : Depends: yelp (>= 3) but it is not installed
 lintian : Depends: man-db
 php-gettext : Depends: php5 but it is not installed or
                        php5-cli but it is not installed
 phpmyadmin : Depends: libapache2-mod-php5 but it is not installed or
                       libapache2-mod-php5filter but it is not installed or
                       php5-cgi but it is not installed or
                       php5-fpm but it is not installed or
                       php5 but it is not installed
              Depends: php5-mysql but it is not installed or
                       php5-mysqli but it is not installable or
                       php5-mysqlnd but it is not installed
              Recommends: php5-gd but it is not installed
 ubuntu-standard : Depends: man-db
E: Unmet dependencies. Try using -f.

And when I ran sudo apt-get install -f I got the following error:

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
Setting up tzdata (2014e-0ubuntu0.13.10) ...
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
dpkg: error processing tzdata (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please help.

share|improve this question

marked as duplicate by Warren Hill, Braiam, karel, Eric Carvalho, Radu Rădeanu Jul 9 at 0:01

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
I have followed the above link, but when i enter sudo apt-get install -f. It returns me error saying:: dpkg: error processing tzdata (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: tzdata E: Sub-process /usr/bin/dpkg returned an error code (1) –  Bhavesh Gadoya Jul 5 at 12:52

Browse other questions tagged or ask your own question.