package resolvconf 1.63ubuntu11 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Bug #1002493 reported by matberry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Paramétrage de resolvconf (1.63ubuntu11) ...
rm: impossible de supprimer «/etc/resolvconf/run/resolv.conf»: Opération non permise
dpkg : erreur de traitement de resolvconf (--configure) :
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: resolvconf 1.63ubuntu11
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu7
AptOrdering:
 resolvconf: Configure
 ubuntu-minimal: Configure
Architecture: i386
Date: Mon May 21 22:09:01 2012
DpkgTerminalLog:
 Paramétrage de resolvconf (1.63ubuntu11) ...
 rm: impossible de supprimer «/etc/resolvconf/run/resolv.conf»: Opération non permise
 dpkg : erreur de traitement de resolvconf (--configure) :
  le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
PackageArchitecture: all
SourcePackage: resolvconf
Title: package resolvconf 1.63ubuntu11 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
UpgradeStatus: Upgraded to precise on 2012-04-29 (22 days ago)

Revision history for this message
matberry (matberrix) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

This is not a bug in resolvconf. You seem to have done something to make it impossible for the maintainer script to clean up /etc/resolvconf/run/resolv.conf on your filesystem - perhaps you've marked it immutable. You'll need to fix this on your system locally to allow the resolvconf package to upgrade.

Changed in resolvconf (Ubuntu):
status: New → Invalid
Revision history for this message
matberry (matberrix) wrote :

Hi, in fact when i execute this command :
root@neptune:/etc/resolvconf# lsattr -d run/resolv.conf
----i---------- run/resolv.conf

I see the "i" which is to the origin of my pb

Solution:
 chattr -i run/resolv.conf

It does work !

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.