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

Re: [Xen-users] why can't i install parted on CentOS distributed with XCP ISO binary?



On Fri, Jun 1, 2012 at 4:18 PM, Jane Wayne <jane.wayne2978@xxxxxxxxx> wrote:

> as such, i wanted to run the "parted" command. however, running this
> command says "command not found." i tried to install the parted
> utility:
>
> yum install parted
>
> but the output was
>
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> Setting up Install Process
> No package parted available.
> Nothing to do

That is expected behaviour

>
> what's going on here? what do i have to modify in /etc/yum.repos.d/*
> if anything?

Nothing. You're not supposed to install anything on XCP. Forcing to do
so is unsupported, and might break the system.

Think vmware vsphere hypervisor. Treat XCP the same way.

While XCP userland is 90-something-percent centos, some packages are
modified to be specific to XCP. Had centos repo been enabled, those
packages would be overwritten with, making xcp stop working. So to be
safe, the repositories are disabled.

If you understand the risks and consequences, and pretty sure you want
to do it anyway, you could create your own repo file (or probably just
enable existing ones) temporarily. Or just download and copy the RPMS
manually (there should only be several needed for parted and its
dependencies).

Don't complain if anything breaks though.

-- 
Fajar

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.