[lxc-users] installation of package fails in container

Király, István laking at d250.hu
Sat Mar 7 07:47:42 UTC 2015


As I wrote, you can try adding it to the initial template that creates the
containers.

/usr[/local]/share/lxc/templates/lxc-centos

Find PKG_LIST="yum initscripts passwd ... "

.. and append some packages to this list.

Updating them later might not work, due to the same error ...

On Sat, Mar 7, 2015 at 8:09 AM, CDR <venefax at gmail.com> wrote:

> is there any workaround?
>
> On Fri, Mar 6, 2015 at 8:44 PM, Király, István <laking at d250.hu> wrote:
>
>> This happens with rpm's. ...
>>
>> It usually works if you add it to the initial package list, in the
>> template.
>>
>> On Sat, Mar 7, 2015 at 12:26 AM, Bostjan Skufca <bostjan at a2o.si> wrote:
>>
>>> What is your host running?
>>>
>>> b.
>>>
>>>
>>> On 6 March 2015 at 22:25, CDR <venefax at gmail.com> wrote:
>>>
>>>> Downloading packages:
>>>> mtr-0.85-7.el7.x86_64.rpm
>>>> |  71 kB  00:00:00
>>>> Running transaction check
>>>> Running transaction test
>>>> Transaction test succeeded
>>>> Running transaction
>>>>   Installing :
>>>> 2:mtr-0.85-7.el7.x86_64
>>>> 1/1
>>>> Error unpacking rpm package 2:mtr-0.85-7.el7.x86_64
>>>> error: unpacking of archive failed on file /usr/sbin/mtr: cpio:
>>>> cap_set_file
>>>>   Verifying  :
>>>> 2:mtr-0.85-7.el7.x86_64
>>>> 1/1
>>>>
>>>> Failed:
>>>>   mtr.x86_64 2:0.85-7.el7
>>>>
>>>> This is a privileged Centos 7 container.
>>>> What am I missing here?
>>>>
>>>> _______________________________________________
>>>> lxc-users mailing list
>>>> lxc-users at lists.linuxcontainers.org
>>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>>
>>>
>>>
>>> _______________________________________________
>>> lxc-users mailing list
>>> lxc-users at lists.linuxcontainers.org
>>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>>
>>
>>
>>
>> --
>>  Király István
>> +36 209 753 758
>> LaKing at D250.hu
>> <http://d250.hu/>
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>



-- 
 Király István
+36 209 753 758
LaKing at D250.hu
<http://d250.hu/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150307/0bc7dcfa/attachment.html>


More information about the lxc-users mailing list