ucf debconf conflict

Bug #357334 reported by Micah Gersten
76
This bug affects 8 people
Affects Status Importance Assigned to Milestone
mldonkey
Fix Released
Low
Mehdi
phpMyAdmin
Invalid
Undecided
Unassigned
cacti (Debian)
Fix Released
Unknown
cacti (Ubuntu)
Fix Released
Low
Unassigned
mantis (Debian)
Fix Released
Unknown
mantis (Ubuntu)
Fix Released
Low
Unassigned
phpmyadmin (Debian)
Fix Released
Unknown
phpmyadmin (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: cacti

I got this when I installed cacti:
*** 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.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
MediaBuild: Xubuntu 8.10 "Intrepid Ibex" - Release amd64 (20081030.3)
NonfreeKernelModules: fglrx
Package: cacti 0.8.7b-2.1ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: cacti
Uname: Linux 2.6.28-11-generic x86_64

Related branches

Revision history for this message
Micah Gersten (micahg) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

mantis output:
Setting up mantis (1.1.6+dfsg-2ubuntu1) ...
dbconfig-common: writing config to /etc/dbconfig-common/mantis.conf
*** 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.
dbconfig-common: flushing administrative password
*** 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.
Replacing config file /etc/mantis/config_db.php with new version
*** 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.

Revision history for this message
Andreas Moog (ampelbein) wrote :

working on it, will also send patch to debian.

Changed in mantis (Ubuntu):
assignee: nobody → Andreas Moog (amoog)
status: New → In Progress
Revision history for this message
Andreas Moog (ampelbein) wrote :

Working on that, debian will have this patch with next upload, according to bugtracker.

Changed in cacti (Ubuntu):
assignee: nobody → Andreas Moog (amoog)
importance: Undecided → Low
status: New → In Progress
Changed in cacti (Debian):
status: Unknown → New
Revision history for this message
Andreas Moog (ampelbein) wrote :

debdiff attached:

mantis (1.1.6+dfsg-2ubuntu2) karmic; urgency=low

  * debian/postinst
    - pass --debconf-ok to ucf-call (LP: #357334)
  * debian/control
    - bump depend on ucf to >= 0.28 for above

 -- Andreas Moog <email address hidden> Fri, 24 Apr 2009 03:22:16 +0200

Changed in mantis (Ubuntu):
assignee: Andreas Moog (amoog) → nobody
importance: Undecided → Low
status: In Progress → Confirmed
Revision history for this message
Andreas Moog (ampelbein) wrote :

For cacti this will be resolved with next merge from debian.

Changed in cacti (Ubuntu):
assignee: Andreas Moog (amoog) → nobody
status: In Progress → Triaged
Changed in mantis (Debian):
status: Unknown → New
Revision history for this message
Micah Gersten (micahg) wrote :

Just had this occur for phpmyadmin when I upgraded my server to Jaunty:
phpmyadmin:
  Installed: 4:3.1.2-1
  Candidate: 4:3.1.2-1
  Version table:
 *** 4:3.1.2-1 0
        500 http://us.archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

summary: - ucf debconf confllict
+ ucf debconf conflict
Revision history for this message
Andreas Moog (ampelbein) wrote :

Fixed for cacti with the new version.

Changed in cacti (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
papukaija (papukaija) wrote :

I got the same error message when I installed phpmyadmin.

Changed in phpmyadmin (Ubuntu):
status: New → Confirmed
Revision history for this message
mgolds02 (mgolds02) wrote :

I have the same problem when I try to install phpmyadmin. Has there been a patch yet? The error I get is below. I did a normal install and choose no password but when I try to login using username "root" and no password on the phpmyadmin login screen I get "Access denied". However what's funny is when I login to mysql manually using "mysql -u root" I can login successfully. Any help would be much appreciated.

 I tried to install it using the normal root user with no password and I get "Access denied" when I try to log in.

dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
*** 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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mantis - 1.1.6+dfsg-2ubuntu2

---------------
mantis (1.1.6+dfsg-2ubuntu2) karmic; urgency=low

  * debian/postinst
    - pass --debconf-ok to ucf-call (LP: #357334)
  * debian/control
    - bump depend on ucf to >= 0.28 for above

 -- Andreas Moog <email address hidden> Fri, 24 Apr 2009 03:22:16 +0200

Changed in mantis (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Andreas Moog (ampelbein) wrote :

Patch sent to debian for phpmyadmin, mgoldsO2, this specific bug has nothing to do with your issue. You could raise a question on the answer-tracker, https://answers.launchpad.net and someone there will help resolve your issue. My bet would be that phpmyadmin prevents logins with empty-passwords.

Changed in phpmyadmin (Ubuntu):
importance: Undecided → Low
Changed in phpmyadmin (Debian):
status: Unknown → New
Revision history for this message
Daniel Jelinski (dumbass-wp) wrote :

Konfigurowanie mldonkey-server (2.9.5-2ubuntu1) ...
*** 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.

Creating config file /etc/default/mldonkey-server with new version
Starting MLDonkey: mlnet.

Revision history for this message
cviniciusm (cviniciusm) wrote :

Hello,

I did run the command "apt-get upgrade" today so appeared the error below:
"
# apt-get upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Os pacotes a seguir serão atualizados:
  phpmyadmin
1 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 3613kB de arquivos.
Depois desta operação, 4096B adicionais de espaço em disco serão usados.
Você quer continuar [S/n]?
Obter:1 http://security.ubuntu.com jaunty-security/universe phpmyadmin 4:3.1.2-1ubuntu0.1 [3613kB]
Baixados 3613kB em 1s (2185kB/s)
Pré-configurando pacotes ...
(Lendo banco de dados ... 34569 arquivos e diretórios atualmente instalados).
Preparando para substituir phpmyadmin 4:3.1.2-1 (usando .../phpmyadmin_4%3a3.1.2-1ubuntu0.1_all.deb) ...
Desempacotando substituto phpmyadmin ...
Configurando phpmyadmin (4:3.1.2-1ubuntu0.1) ...
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
*** 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.
Replacing config file /etc/phpmyadmin/config-db.php with new version
dbconfig-common: flushing administrative password"

# uname -a
Linux virgo 2.6.18.8-linode16 #1 SMP Mon Jan 12 09:50:18 EST 2009 i686 GNU/Linux

Revision history for this message
Micah Gersten (micahg) wrote :

This is not a problem with PhpMyAdmin, but with the debian package.

Changed in phpmyadmin:
status: New → Invalid
Revision history for this message
Zied ABID (darkwise) wrote :
Revision history for this message
Mehdi (mehdid) wrote :

This issue is already fixed in mldonkey 3.0.0-1. Version 3.0.0-2 currently in karmic include the fix.
The fix is very simple as you see in:
http://git.debian.org/?p=pkg-ocaml-maint/packages/mldonkey.git;a=commitdiff;h=5d511aa2c78aebaf84d470d4795ef2febca4cb9a

Changed in mldonkey:
assignee: nobody → Mehdi (mehdid)
importance: Undecided → Low
status: New → Fix Released
Revision history for this message
Ákos Maróy (akos-maroy) wrote :

I see it's being fixed - but until then, is there a workaround for this problem?

becuase of this bug, I'm stuck with installing cacti at the moment :(

Revision history for this message
Mehdi (mehdid) wrote :
Revision history for this message
Mehdi (mehdid) wrote :

But, it's just a warning, not an error. Why did this make the installation process fail?

Revision history for this message
Micah Gersten (micahg) wrote :

This was fixed in phpmyadmin 4:3.2.0.1-1 in Karmic.

Changed in phpmyadmin (Ubuntu):
status: Confirmed → Fix Released
Andreas Moog (ampelbein)
Changed in phpmyadmin (Debian):
status: New → Fix Released
Changed in cacti (Debian):
status: New → Fix Released
Revision history for this message
L3X (alex.romao) wrote :

For fix just change the file permissions for :
  /etc/phpmyadmin/config-db.php to 644

sudo chmod 0644 /etc/phpmyadmin/config-db.php

Revision history for this message
Myroslav (mgalan) wrote : Re: [Bug 357334] Re: ucf debconf conflict

Thank you for your response.

I tried what you suggested and nothing changed.

L3X wrote:
> For fix just change the file permissions for :
> /etc/phpmyadmin/config-db.php to 644
>
> sudo chmod 0644 /etc/phpmyadmin/config-db.php
>
>

Changed in cacti (Debian):
status: Fix Released → New
Changed in cacti (Debian):
status: New → Fix Released
papukaija (papukaija)
tags: added: patch
Changed in mantis (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.