Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-20-2009, 11:23 AM   #1
LQ Newbie
Registered: Jun 2009
Posts: 5

Rep: Reputation: 0
Problem with apt-get upgrade


I'm running this server config: Ubuntu 8.04 Hardy Heron, Virtualmin (free), on a VPS (Linode) with all the usual toys (e.g. Apache, MySQL).

I've had problems off and on over the past year with Bacula tripping up the server operations. I finally did a apt-get --purge remove bacula today then went into Virtualmin and used the Webmin Configuration pages to remove it from that software. In theory, it should be gone.

However, when I run apt-get upgrade I get a Bacula-related message. I would like to know either how to get rid of the message OR how to get update to skip any Bacula programs.

Here's the console output after I run apt-get upgrade:

"Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
bind9 libbind9-30 libisc32 libisccc30 libisccfg30 openssh-client
openssh-server ssl-cert
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? y
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encod line 16.
Use of uninitialized value in scalar chomp at /usr/share/perl5/Debconf/Encoding. pm line 17.
Setting up bacula-director-mysql (2.2.8-5ubuntu7.2) ...
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encod line 16.
Use of uninitialized value in scalar chomp at /usr/share/perl5/Debconf/Encoding. pm line 17.
* Stopping Bacula Director: [ OK ]
* Starting Bacula Director: 20-Jun 11:10 bacula-dir: ERROR TERMINATION at parse_conf.c:829
Config error: Cannot open config file "/etc/bacula/bacula-dir.conf": No such file or directory

dpkg: error processing bacula-director-mysql (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bacula-server:
bacula-server depends on bacula-director-mysql (>= 2.2.8-5ubuntu7.2) | bacula-d irector; however:
Package bacula-director-mysql is not configured yet.
Package bacula-director is not installed.
Package bacula-director-mysql which provides bacula-director is not configured yet.
dpkg: error processing bacula-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)"

Also, when I run dpkg -L bacula I get this console output:

"Package `bacula' is not installed.
Use dpkg --info (= dpkg-deb --info) to examine archive files,
and dpkg --contents (= dpkg-deb --contents) to list their contents."

Any help or ideas would be appreciated. I'm looking to learn so feel free to point up any stupid things (you know, GUI or Gross User Incompetence errors). Thank you!
Old 06-21-2009, 07:30 AM   #2
LQ Newbie
Registered: Feb 2009
Location: Chicago
Distribution: Archlinux
Posts: 29

Rep: Reputation: 17
are you throwing a Sudo in front?...

sudo apt-get upgrade
Old 06-22-2009, 10:17 AM   #3
LQ Newbie
Registered: Jun 2009
Posts: 5

Original Poster
Rep: Reputation: 0
My apologies...this is a dupe thread that can be deleted


I apologize: I accidentally hit the submit button twice and rjlee answered my question here:

I apologize for having wasted your time.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get upgrade problem s0mmy Debian 1 05-09-2006 03:52 PM
apt-get upgrade problem igorc Debian 8 01-22-2006 10:21 AM
problem with apt after mysql upgrade davesbedroom Red Hat 1 11-10-2005 06:21 PM
Apt-get update problem after upgrade and others satimis Fedora 0 07-26-2004 06:50 AM
Apt-get upgrade conflict problem satimis Red Hat 0 07-18-2004 09:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration