On Sun, Nov 02, 2008 at 11:12:04AM -0300, Victor Munoz wrote:
> 
> Preparing to replace libcairo-perl 1.043-1 (using
> .../libcairo-perl_1.060-1_i386.deb) ...
> Unpacking replacement libcairo-perl ...
> dpkg: error processing
> /var/cache/apt/archives/libcairo-perl_1.060-1_i386.deb (--unpack):
>  unable to make backup link of
> ./usr/share/doc/libcairo-perl/changelog.gz' before installing new
> version: Operation not permitted
> Errors were encountered while processing:
>  /var/cache/apt/archives/libcairo-perl_1.060-1_i386.deb
>  E: Sub-process /usr/bin/dpkg returned an error code (1)
>  A package failed to install.  Trying to recover:
>  

This has been solved too. Don't know what caused this, but this was
the output of lsattr on /usr/share/doc/libcairo-perl:

/usr/share/doc/libcairo-perl# !ls
lsattr *
------------------- changelog.Debian.gz
-----a-Ac-Z----t--- changelog.gz
------------------- copyright
------------------- examples/png-streams.pl
------------------- examples/simple.pl
------------------- examples/png
------------------- NEWS.gz

Using chattr I could take this to: 

lsattr changelog.gz

----------Z-------- changelog.gz

Could not change the Z attribute (as the chattr manpage stated). But
this was enough to solve the problem, libcairo-perl could be finally
upgraded. It is interesting that now no attributes have been set: 

/usr/share/doc/libcairo-perl# lsattr changelog.gz
------------------- changelog.gz


Finally, my system is in a clean state again. Thanks for the help,

Victor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to