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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
/var/lib/
for F in /var/log/dmesg /var/log/
yields an exit with error in processes with i.e. apt-get update
Commenting #/var/log/
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
ProcVersionSign
Uname: Linux 3.13.0-34-generic i686
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.8
Architecture: i386
Date: Sun Apr 12 14:33:47 2015
DuplicateSignature: package:
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)
tags: | removed: need-duplicate-check |
Hi Pol,
The full error in your upgrade log is:
S'està configurant initscripts (2.88dsf- 41ubuntu6. 1)… dpkg/info/ initscripts. postinst: 486: /var/lib/ dpkg/info/ initscripts. postinst: cannot create /var/log/ fsck/checkfs: Is a directory
/var/lib/
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.