Ubuntu Pastebin

Paste from cjwatson at Fri, 23 Dec 2016 12:01:11 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
<cjwatson@niejwein ~>$ lp-shell production devel
/usr/lib/python2.7/dist-packages/IPython/frontend.py:30: UserWarning: The top-level `frontend` package has been deprecated. All its subpackages have been moved to the top `IPython` level.
  warn("The top-level `frontend` package has been deprecated. "
Python 2.7.12 (default, Nov 19 2016, 06:48:10)
Type "copyright", "credits" or "license" for more information.

IPython 2.4.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

Connected to LP service "https://api.launchpad.net/" with API version "devel":
Note: LP can be accessed through the "lp" object.
In [1]: lp.distributions['ubuntu'].main_archive.getPublishedSources(source_name='man-db', exact_match=True, distro_series='/ubuntu/zesty', pocket='Release', status='Published')[0].source_package_version
Out[1]: u'2.7.6.1-1'
Download as text