package initscripts 2.88dsf-41ubuntu6.1 failed to install/upgrade: el subprocés s'ha instaŀlat el script post-installation retornà el codi d'eixida d'error 2

Bug #1443073 reported by Pol Roca
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

/var/lib/dpkg/info/initscripts.postinst line 482

for F in /var/log/dmesg /var/log/fsck/checkroot /var/log/fsck/checkfs

yields an exit with error in processes with i.e. apt-get update

Commenting #/var/log/fsck/checkfs and executing dpkg --configure -a solves the problem each time it occurs.

But since I don't know it could cause any sort of further problem, I uncomment the line again after solving the problem, until it occurs again...

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: initscripts 2.88dsf-41ubuntu6.1
ProcVersionSignature: Ubuntu 3.13.0-34.60-generic 3.13.11.4
Uname: Linux 3.13.0-34-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: i386
Date: Sun Apr 12 14:33:47 2015
DuplicateSignature: package:initscripts:2.88dsf-41ubuntu6.1:el subprocés s'ha instaŀlat el script post-installation retornà el codi d'eixida d'error 2
ErrorMessage: el subprocés s'ha instaŀlat el script post-installation retornà el codi d'eixida d'error 2
InstallationDate: Installed on 2011-10-29 (1260 days ago)
InstallationMedia: 111025Dist - Release i386
SourcePackage: sysvinit
Title: package initscripts 2.88dsf-41ubuntu6.1 failed to install/upgrade: el subprocés s'ha instaŀlat el script post-installation retornà el codi d'eixida d'error 2
UpgradeStatus: Upgraded to trusty on 2014-07-18 (267 days ago)

Revision history for this message
Pol Roca (naraken-narashi) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Steve Langasek (vorlon) wrote :

Hi Pol,

The full error in your upgrade log is:

S'està configurant initscripts (2.88dsf-41ubuntu6.1)…
/var/lib/dpkg/info/initscripts.postinst: 486: /var/lib/dpkg/info/initscripts.postinst: cannot create /var/log/fsck/checkfs: Is a directory
dpkg: s'ha produït un error en processar el paquet initscripts (--configure):
 el subprocés s'ha instaŀlat el script post-installation retornà el codi d'eixida d'error 2

The initscripts package is not expecting /var/log/fsck/checkfs to be a directory, but a file. Looking on my system, /var/log/fsck/checkfs is definitely a file. Do you know why this is a directory on your system? What are the contents of this directory?

To resolve this problem, you should be able to just remove this directory, and initscripts will recreate this as a file.

Changed in sysvinit (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sysvinit (Ubuntu) because there has been no activity for 60 days.]

Changed in sysvinit (Ubuntu):
status: Incomplete → Expired
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.