LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-18-2010, 01:31 PM   #1
TheOpposite
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
apt-get problem relating to Bacula


Hi all,
Just set up a brand new Ubuntu 9.10 server for the first time. I'm using Webmin to administer it for the most part. I've got everything set up and all is working well except for this one issue:

I installed Bacula, just to play around with it and try it out. I never used it or configured it. Just installed. Now I've realized I don't need or want it. I ran apt-get purge Bacula and it brings up the screen asking me if I want to delete the database or keep it. No matter what I choose it errors out and quits.
Now I'm stuck in a place where anytime I use apt-get it tries to install/configure bacula.
Running apt-get dist-upgrade brings me to the bacula-director-mysql configuration page everytime.


How can I get rid of it?
 
Old 01-18-2010, 04:22 PM   #2
gatinois
LQ Newbie
 
Registered: Jan 2010
Location: Gatineau, Québec
Distribution: Ubuntu 9.10
Posts: 4

Rep: Reputation: 1
Posting the error message would help find a solution.
You could try dpkg -r <package name> and/or dpkg -r --force-remove-reinstreq <package name>.
 
Old 01-18-2010, 05:14 PM   #3
TheOpposite
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Tried both of those, same issue.

My first post wasn't terribly clear, let me put it another way. With error reports.

Every time I use apt-get, it is trying to configure bacula-director-mysql. When I installed telnetd, here is the response:

> sudo apt-get install telnetd
Reading package lists...
Building dependency tree...
Reading state information...
telnetd is already the newest version.
The following packages were automatically installed and are no longer required:
libdns50 linux-headers-2.6.31-14 linux-headers-2.6.31-14-server
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up bacula-director-mysql (2.4.4-1ubuntu9) ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Configuring bacula-director-mysql
---------------------------------

Please provide the password for the administrative account with which this
package should create its MySQL database and user.

Password of the database's administrative user: Use of uninitialized value $ret in chomp at /usr/share/perl5/Debconf/FrontEnd/Teletype.pm line 70.

Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 104.
dbconfig-common: writing config to /etc/dbconfig-common/bacula-director-mysql.conf
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO).
unable to connect to mysql server.
error encountered creating user:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Bacula Director
---------------

An error occurred while installing the database:

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
NO)

If at this point you choose "retry", you will be prompted with all the
configuration questions once more and another attempt will be made at performing
the operation. "retry (skip questions)" will immediately attempt the operation
again, skipping all questions. If you choose "abort", the operation will fail
and you will need to downgrade, reinstall, reconfigure this package, or
otherwise manually intervene to continue using it. If you choose "ignore", the
operation will continue, ignoring further errors from dbconfig-common.

1. abort 2. retry 3. retry (skip questions) 4. ignore

Next step for database installation: Use of uninitialized value $ret in chomp at /usr/share/perl5/Debconf/FrontEnd/Teletype.pm line 70.

Use of uninitialized value $_[1] in join or string at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 104.
dbconfig-common: bacula-director-mysql configure: aborted.
dbconfig-common: flushing administrative password
Use of uninitialized value $val in substitution (s///) at /usr/share/perl5/Debconf/Format/822.pm line 83, <GEN6> line 51.
Use of uninitialized value $val in concatenation (.) or string at /usr/share/perl5/Debconf/Format/822.pm line 84, <GEN6> line 51.
dpkg: error processing bacula-director-mysql (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bacula-director-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)



That is from webmin. If I run from the console at the server, I am presented with the choices shown above. No matter what options I choose I end up with the dpkg: error processing bacula-director-mysql. Apt-get seems to be working ok, and will install other packages without problem, I just want to stop it from trying to configure bacula-director-mysql everytime.

When I ran dpkg -r bacula-director-mysql, it asks me if I want to remove the database, I select yes, and it does. The the "configuring bacula-director-mysql" screen pops back up, and I'm right back where I started.
 
  


Reply


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
bacula install problem. hshzh359 Linux - Server 1 02-20-2009 12:39 PM
apt-get update and apt-get install problem please solve it. regent_royal Linux - Newbie 11 06-26-2008 07:38 AM
problem relating quota yadava Linux - Newbie 6 06-11-2008 01:47 PM
problem relating SSH shwetank_gupta1 Linux - Networking 1 02-22-2007 08:50 AM
rh9 xd2 apt apt-get problem fix and solution transeunt Red Hat 0 12-16-2003 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

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