[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrade-Problem auf kleinen Server 64-Bit-Maschine



Am 29.07.2008 um 17:47 schrieb Thomas Bohm:

>> Sven schrieb:
>>
>> > Preparing to replace sysv-rc 2.86.ds1-38 (using
>> .../sysv-rc_2.86.ds1-38+etchnhalf.1_all.deb) ...
>> > Unpacking replacement sysv-rc ...
>> > dpkg: error processing
>> /var/cache/apt/archives/sysv-rc_2.86.ds1-38+etchnhalf.1_all.deb (--unpack):
>> >  unable to make backup link of `./etc/init.d/rc' before installing new
>> version: Operation not permitted
>> 
>> Was zeigt »lsattr /etc/init.d/rc« an?
>
> Da zeigt er folgendes an:
>
> -u--ia------------ /etc/init.d/rc

Das ist das Problem, siehe chattr(1):

	A file with the `i' attribute cannot be modified: it cannot be deleted
	or renamed,  no link can be  created to this  file and no data  can be
	written to the  file.  Only the superuser or  a process possessing the
	CAP_LINUX_IMMUTABLE capability can set or clear this attribute.

Mit »chattr -i -a -u /etc/init.d/rc« sollte sich das beheben lassen,
aber du solltest auch herausfinden, wer oder was die Attribute gesetzt
hat, damit das in Zukunft nicht mehr passiert.

Sven


Reply to: