4

I am trying to install Corebird (Corebird twitter client for Ubuntu 14.04) in a libertine container named vivid on my M10 tablet. After adding the PPA's, which do show up in ~/.cache/libertine-container/vivid/rootfs/etc/apt/sources.list.d the package still won't install.

I have tried:

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

And from within a shell (Access git in libertine container) inside the container:

apt-get install

What am I missing here?

4

I suspect it might not be possible to do this yet.

From going through libertine-container-manager --help I think the command should be

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

The equivalent of apt-get update is just

libertine-container-manager update -i vivid

You'll find this and more with libertine-container-manager --help.

However when I execute the first command I get the following error:

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
  • Thank you for the correct syntax. That part works for me, now I'm looking for the equivalent of apt-get update. I think the error you got is due to the fact that the default libertine container isn't writable. – Jurjen Jun 5 '16 at 15:43
  • Ah. I had tried in my vivid container too but it didn't work. I must try again later. I tried with different ppa's and the default container just to double check syntax errors -> that's the output I incorrectly pasted above. The equivalent of apt-get update should be – Jack Jun 5 '16 at 17:13
  • Well, I'm a bit further on the proper commands now. Unfortunately the package still can't be located. Pointers to log files are welcome. – Jurjen Jun 5 '16 at 18:40
  • So you don't get the errors that I do? That's interesting, could you link to a paste of what your output is? – Jack Jun 5 '16 at 18:57
  • 1
    "Unfortunately the package still can't be located." ok, does that just mean that there isn't an arm build available? Sounds like it might. Can we test with a ppa and app that would be available in arm? – Jack Jun 5 '16 at 23:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.