package isc-dhcp-client 4.2.4-7ubuntu9 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2

Bug #1302300 reported by Kellen Fravel
358
This bug affects 71 people
Affects Status Importance Assigned to Milestone
isc-dhcp (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After a fresh install of Lubuntu 14.04 Beta 2, I performed a system update and received this error.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: isc-dhcp-client 4.2.4-7ubuntu9
ProcVersionSignature: Ubuntu 3.13.0-19.40-generic 3.13.6
Uname: Linux 3.13.0-19-generic i686
ApportVersion: 2.13.3-0ubuntu1
Architecture: i386
Date: Thu Apr 3 22:39:29 2014
DhclientLeases:

DuplicateSignature: package:isc-dhcp-client:4.2.4-7ubuntu9:subprocess new pre-installation script returned error exit status 2
ErrorMessage: subprocess new pre-installation script returned error exit status 2
InstallationDate: Installed on 2014-04-04 (0 days ago)
InstallationMedia: Lubuntu 14.04 LTS "Trusty Tahr" - Beta i386 (20140326)
ProcCmdline: BOOT_IMAGE=/vmlinuz-3.13.0-19-generic root=UUID=7a558147-80fa-4ad7-b5c2-8f9a78b8de97 ro quiet splash vt.handoff=7
SourcePackage: isc-dhcp
Title: package isc-dhcp-client 4.2.4-7ubuntu9 failed to install/upgrade: subprocess new pre-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Kellen Fravel (kellenfravel) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in isc-dhcp (Ubuntu):
status: New → Confirmed
Revision history for this message
Stéphane Graber (stgraber) wrote :

Fix uploaded, should land shortly.

Revision history for this message
Maki Kato (mk2s) wrote :

I just got
The following extra packages will be installed:
  isc-dhcp-client
The following packages will be upgraded:
  isc-dhcp-client
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/640 kB of archives.
After this operation, 1,024 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 260277 files and directories currently installed.)
Preparing to unpack .../isc-dhcp-client_4.2.4-7ubuntu10_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 17: /var/lib/dpkg/tmp.ci/preinst: Syntax error: "fi" unexpected (expecting "then")
dpkg: error processing archive /var/cache/apt/archives/isc-dhcp-client_4.2.4-7ubuntu10_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/isc-dhcp-client_4.2.4-7ubuntu10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in isc-dhcp (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Stéphane Graber (stgraber) wrote :

The fix just published now and I confirmed that my affected machines are now upgrading fine.

Changed in isc-dhcp (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Cip Man (cipman-p) wrote :

With version 10 I get the same error as Maki Kato above at #4:

Preparing to unpack .../isc-dhcp-client_4.2.4-7ubuntu10_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 17: /var/lib/dpkg/tmp.ci/preinst: Syntax error: "fi" unexpected (expecting "then")

Seems like a missing "then" after the first "if" in <preinst>.

Revision history for this message
Isaac Mercer (nos-developer) wrote :

Can confirm that ubuntu11 is up and has fixed this.

Revision history for this message
Chris Kankiewicz (phlak) wrote :

Seems good now. Thanks.

Revision history for this message
Cip Man (cipman-p) wrote :

Yes, version 11 fixed it. Thank you.

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.