LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problem with apt-get upgrade (https://www.linuxquestions.org/questions/linux-newbie-8/problem-with-apt-get-upgrade-734404/)

fred!head 06-20-2009 10:23 AM

Problem with apt-get upgrade
 
Hi,

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 ing.pm 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 ing.pm 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

[fail]
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:
bacula-director-mysql
bacula-server
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!

Cyberarmy 06-21-2009 06:30 AM

are you throwing a Sudo in front?...

sudo apt-get upgrade

fred!head 06-22-2009 09:17 AM

My apologies...this is a dupe thread that can be deleted
 
Hi,

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

http://www.linuxquestions.org/questi...pgrade-734411/

I apologize for having wasted your time.


All times are GMT -5. The time now is 01:22 AM.