update-manager error when upgrading php5-idn

Bug #654165 reported by Thue Janus Kristensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-idn (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

When upgrading my Ubuntu 9.10 to 10.04, I got the following error:

[...long install process...]
Errors were encountered while processing:
 php5-idn
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)

Could not install the upgrades

The upgrade is now aborted. Your system could be in an unusable
state. A recovery will run now (dpkg --configure -a).

Please report this bug against the 'update-manager' package and
include the files in /var/log/dist-upgrade/ in the bug report.
E:Sub-process /usr/bin/dpkg returned an error code (1)

Setting up php5-idn (1.2b-5.3ubuntu1) ...
*** 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.
Need debconf to interact
dpkg: error processing php5-idn (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 php5-idn

Upgrade complete

The upgrade is completed but there were errors during the upgrade
process.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: update-manager (not installed)
ProcVersionSignature: Ubuntu 2.6.31-22.65-server
Uname: Linux 2.6.31-22-server x86_64
Architecture: amd64
Date: Sun Oct 3 18:10:49 2010
ProcEnviron:
 LANG=en_DK.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: update-manager

Revision history for this message
RedSingularity (redsingularity) wrote :

Sorry for such a delayed response. Are you still having the problem?

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Thue Janus Kristensen (thuejk) wrote :

Yes. I just tried installing php5-idn on my fully updated Ubuntu 10.04.2, and it failed:

t@t ~> sudo aptitude install php5-idn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  php5-idn
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 15,7kB of archives. After unpacking 106kB will be used.
Writing extended state information... Done
Get:1 http://dk.archive.ubuntu.com/ubuntu/ lucid/universe php5-idn 1.2b-5.3ubuntu1 [15,7kB]
Fetched 15,7kB in 0s (54,3kB/s)
Preconfiguring packages ...
Selecting previously deselected package php5-idn.
(Reading database ... 95828 files and directories currently installed.)
Unpacking php5-idn (from .../php5-idn_1.2b-5.3ubuntu1_amd64.deb) ...
Setting up php5-idn (1.2b-5.3ubuntu1) ...
*** 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.
Need debconf to interact
dpkg: error processing php5-idn (--configure):
 subprocess installed post-installation script returned error exit status 2
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up php5-idn (1.2b-5.3ubuntu1) ...
*** 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.
Need debconf to interact
dpkg: error processing php5-idn (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 php5-idn
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

t@t ~> cat /etc/issue
Ubuntu 10.04.2 LTS \n \l

t@t ~>

Revision history for this message
Thue Janus Kristensen (thuejk) wrote :

The same problem is also been reported here: https://bugs.launchpad.net/ubuntu/+source/php-idn/+bug/694094

Revision history for this message
Thue Janus Kristensen (thuejk) wrote :
Revision history for this message
Thue Janus Kristensen (thuejk) wrote :

And the warning seems to have been fixed in this bug (but probably not included in 10.04): https://bugs.launchpad.net/ubuntu/+source/php-idn/+bug/371047

Revision history for this message
Thue Janus Kristensen (thuejk) wrote :

Purging the old configuration "aptitude purge php5-idn", and then reinstalling, makes the package installable.

Revision history for this message
RedSingularity (redsingularity) wrote :

Thanks for linking those other reports. Much appreciated and helpful! I am going to move this to the php5 package. It seems that would be more appropriate than update-manager. The other user had the same problem because the package he/she tried to install had php5-idn as a dependency. php5-idn is what throws up the error. Marking back to "New" as well.

affects: update-manager (Ubuntu) → php5 (Ubuntu)
Changed in php5 (Ubuntu):
status: Incomplete → New
Revision history for this message
Ondřej Surý (ondrej) wrote :

php5-idn should be really removed from archive. The upstream development is dead and the package was orphaned in Debian anyway.

php5-intl provides some of the functionality.

affects: php5 (Ubuntu) → php-idn (Ubuntu)
Revision history for this message
Ondřej Surý (ondrej) wrote :

2RedSingularity: please always check source package. The source package for php5-idn is not php5, but php-idn.

Revision history for this message
RedSingularity (redsingularity) wrote :

Ondrej: Thanks for moving it. When I was searching for the package I was using the number 5 thus the correct package was not showing up.

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.