LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-03-2009, 02:30 PM   #1
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Rep: Reputation: 46
package update fails


Ladies & Gents,

I went to install an update to nagios on my new server and the install is failing. I have locked the server down pertty hard so I suspect that it is a permissions issue with dpkg but I can't tell which folder. I did see something about write permissions on a folder in /var or /usr but it went by to fast to be able to read it. I have looked at the logs but can't find it.

When running apt-get -f install I get a warning about the script using an out-dated method of ucf and that debconf was not passing 'ok' to it so it was reverting to the old method. Then it tries to start nagios and just sits there.

How do I find out what file permissions needs to changed? I suppose that it may also be a user issue in that I deleted most of the user accounts in the hardening proccess. I thought that I had replaced all the user accounts that I had to have for operation.

Thanks for your input
 
Old 07-03-2009, 05:19 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
try running the command again but this time use >> nagiosupdate.log and this should hopefully add the error in this log.
 
Old 07-03-2009, 06:45 PM   #3
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 921

Original Poster
Rep: Reputation: 46
Code:
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nagios3-common (3.0.6-4~lenny2) ...
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
*** WARNING: ucf was run from a maintainer script that uses debconf, but
             the script did not pass --debconf-ok to ucf. The maintainer
             script should be fixed to not stop debconf before calling ucf,
             and pass it this parameter. For now, ucf will revert to using
             old-style, non-debconf prompting. Ugh!

             Please inform the package maintainer about this problem.
Starting nagios3 monitoring daemon: nagios3
At this point the install hangs and I am unable to kill the process with out a hard boot.

It still is not showing the write error or the folder.

Any other ideas?
 
Old 07-03-2009, 08:33 PM   #4
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
This bug report may help http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=515289 looks like it might provide a little information for you. I will see if I can dig anything else up for you in the meantime. also try droping the -f from your apt-get install and see if that helps.

Last edited by jstephens84; 07-03-2009 at 08:35 PM.
 
  


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
Unable to upgrade to ubuntu 7.10, update manager fails to update.... jonbvgood Linux - Software 2 02-05-2008 03:58 PM
Slackware security update/package update Michael_aust Slackware 6 10-04-2006 08:19 PM
additional package install fails pcandpc Mandriva 2 05-27-2005 04:20 AM
trying to update via yum and update fails lnxmacusr Fedora 4 12-17-2004 03:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:50 PM.

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