LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   package update fails (https://www.linuxquestions.org/questions/linux-software-2/package-update-fails-737547/)

rbees 07-03-2009 02:30 PM

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

jstephens84 07-03-2009 05:19 PM

try running the command again but this time use >> nagiosupdate.log and this should hopefully add the error in this log.

rbees 07-03-2009 06:45 PM

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?

jstephens84 07-03-2009 08:33 PM

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.


All times are GMT -5. The time now is 12:56 AM.