Subject: Re: [vserver] upgrade of a guest from fc7 to fc8 problem [SOLVED]
From: Adeline Gilles <adeline.gilles@ac-montpellier.fr>
Date: Mon, 26 May 2008 13:24:33 +0200


Daniel Hokka Zakrisson a écrit :
> Adeline Gilles wrote:
>> Hello world!
>>
>> I have some trouble for upgrading a guest from fedora core 7 to fedora
>> core 8.
>> The package filesystem can't extract and hence doesn't upgrade.
>> Here is the output of my yum update command :
>>
>> # yum update
>> Setting up Update Process
>> Resolving Dependencies
>> --> Running transaction check
>> ---> Package filesystem.i386 0:2.4.11-1.fc8 set to be updated
>> --> Finished Dependency Resolution
>>
>> Dependencies Resolved
>>
>> =============================================================================
>>   Package                 Arch       Version          Repository
>> Size
>> =============================================================================
>> Updating:
>>   filesystem              i386       2.4.11-1.fc8     fedora
>> 118 k
>>
>> Transaction Summary
>> =============================================================================
>> Install      0 Package(s)
>> Update       1 Package(s)
>> Remove       0 Package(s)
>>
>> Total download size: 118 k
>> Is this ok [y/N]: y
>> Downloading Packages:
>> (1/1): filesystem-2.4.11- 100% |=========================| 118 kB
>> 00:00
>> Running rpm_check_debug
>> Running Transaction Test
>> Finished Transaction Test
>> Transaction Test Succeeded
>> Running Transaction
>>    Updating  : filesystem                   #########################
>> [1/2]
>> Error unpacking rpm package filesystem - 2.4.11-1.fc8.i386
>> error: unpacking of archive failed on file /proc: cpio: chown
>>
>> Updated: filesystem.i386 0:2.4.11-1.fc8
>> Complete!
>>
>>
>> I saw that : http://www.pld-linux.org/Vserver
>> I changed /etc/vservers/myvserver/apps/pkgmgmt/base/rpm/etc/macros but
>> it didn't make no differrence.
>>
>> Package management is internalized.
>> The host is a centos5 server.
>> My kernel is 2.6.22.19-vs2.3.0.34.1.
>> My tools are :
>> util-vserver-0.30.215-0.1.el5.centos
>> util-vserver-lib-0.30.215-0.1.el5.centos
>> util-vserver-sysv-0.30.215-0.1.el5.centos
>> util-vserver-core-0.30.215-0.1.el5.centos
>> util-vserver-build-0.30.215-0.1.el5.centos
> 
> Since it is internalized, changing the external version is not going to
> make a bit of difference. Add %_netsharedpath /proc to
> /etc/rpm/macros.vserver inside the guest, and try again.
> 
Hi,

Indeed, creating that file inside the guest solved my trouble.
Thanks for the help!
..And sorry for not responding earlier.

Regards,
-- 
Adeline Gilles
Groupe Systèmes Réseaux
Rectorat de Montpellier
tel : 04.67.91.45.70
fax : 04.67.02.06.13