Como eu adiciono um PPA em um contêiner libertino?

4

Estou tentando instalar o Corebird ( cliente do Twitter do Corebird para o Ubuntu 14.04 ) em um contêiner libertino chamado vivid no meu tablet M10. Depois de adicionar os PPAs, que aparecem em ~/.cache/libertine-container/vivid/rootfs/etc/apt/sources.list.d , o pacote ainda não será instalado.

Eu tentei:

libertine-container-manager install-package -d vivid -p corebird

E de dentro de um shell ( Acesse o git no container libertine ) dentro do contêiner:

apt-get install

O que estou perdendo aqui?

    
por Jurjen 05.06.2016 / 11:01

1 resposta

4

Eu suspeito que talvez não seja possível fazer isso ainda.

De passar por libertine-container-manager --help , acho que o comando deve ser

libertine-container-manager configure -a "ppa:ubuntuhandbook1/corebird" -i vivid

O equivalente a apt-get update é apenas

libertine-container-manager update -i vivid

Você encontrará isso e muito mais com libertine-container-manager --help .

No entanto, quando executo o primeiro comando, recebo o seguinte erro:

phablet@ubuntu-phablet:~$ libertine-container-manager configure -a "ppa:ubuntuhandbook1/corebird" -i vivid
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 321, in get_ppa_info
    ret = get_ppa_info_from_lp(user, ppa)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 91, in get_ppa_info_from_lp
    return get_info_from_lp(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp
    return _get_https_content_py3(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.4/urllib/request.py", line 151, in urlopen
    capath=capath)
  File "/usr/lib/python3.4/ssl.py", line 437, in create_default_context
    context.load_verify_locations(cafile, capath, cadata)
FileNotFoundError: [Errno 2] No such file or directory

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 119, in <module>
    shortcut = shortcut_handler(line)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 837, in shortcut_handler
    ret = factory(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 382, in shortcut_handler
    return PPAShortcutHandler(shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 346, in __init__
    info = get_ppa_info(self.shortcut)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 333, in get_ppa_info
    _get_suggested_ppa_message(user, ppa))
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 292, in _get_suggested_ppa_message
    lp_user = get_info_from_lp(LAUNCHPAD_USER_API % user)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 87, in get_info_from_lp
    return _get_https_content_py3(lp_url)
  File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 101, in _get_https_content_py3
    lp_page = urllib.request.urlopen(request, cafile=LAUNCHPAD_PPA_CERT)
  File "/usr/lib/python3.4/urllib/request.py", line 151, in urlopen
    capath=capath)
  File "/usr/lib/python3.4/ssl.py", line 437, in create_default_context
    context.load_verify_locations(cafile, capath, cadata)
FileNotFoundError: [Errno 2] No such file or directory
    
por Jack 05.06.2016 / 12:57