Ubuntu Pastebin

Paste from Odd_Bloke at Mon, 4 Jul 2016 10:47:11 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
$ lxc launch ubuntu:x py34
Creating py34
Starting py34
$ lxc exec py34 -- apt-get install python3.4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libpython3.4-minimal' for regex 'python3.4'
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ echo $?
0

$ lxc exec py34 -- apt-get install not-a-real-package
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package not-a-real-package
$ echo $?
100
Download as text