Skip to content

Instantly share code, notes, and snippets.

@philicious
Created September 3, 2015 13:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philicious/410bffad93133d6df822 to your computer and use it in GitHub Desktop.
Save philicious/410bffad93133d6df822 to your computer and use it in GitHub Desktop.
31# ./errata-import.py ubuntu-errata.xml
[+] Connected to http://localhost/rpc/api
[+] Creating inventory from Server:
[+] Retrieving the list of available channels
[+] Including channel: hc-testing-precise
[+] Including channel: hc-testing-trusty
[-] Excluding channel: precise
[+] Including channel: precise-security
[+] Including channel: precise-updates
[-] Excluding channel: trusty
[+] Including channel: trusty-security
[+] Including channel: trusty-updates
[+] Retrieving Package List from Channel: hc-testing-precise
[+] Retrieving Package List from Channel: hc-testing-trusty
[+] Retrieving Package List from Channel: precise-security
[+] Retrieving Package List from Channel: precise-updates
[+] Retrieving Package List from Channel: trusty-security
[+] Retrieving Package List from Channel: trusty-updates
[+] Retrieving data from ubuntu-errata.xml
[+] USN-2677-1 doesn't exist: analyzing
[+] Found 2 packages related: Publishing
[+] Creating errata USN-2677-1:
{'date': '9/3/15', 'advisory_name': 'USN-2677-1', 'advisory_type': 'Security Advisory', 'id': 558, 'advisory_synopsis': 'Oxide vulnerabilities'}
[+] USN-2703-1 doesn't exist: analyzing
[-] No related packages found: skipping
[+] USN-2705-1 doesn't exist: analyzing
[+] Found 2 packages related: Publishing
[+] Creating errata USN-2705-1:
{'date': '9/3/15', 'advisory_name': 'USN-2705-1', 'advisory_type': 'Security Advisory', 'id': 560, 'advisory_synopsis': 'Keystone vulnerabilities'}
[+] USN-2704-1 doesn't exist: analyzing
[-] No related packages found: skipping
[+] USN-2706-1 doesn't exist: analyzing
[-] No related packages found: skipping
[+] USN-2707-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2707-1:
{'date': '9/3/15', 'advisory_name': 'USN-2707-1', 'advisory_type': 'Security Advisory', 'id': 562, 'advisory_synopsis': 'Firefox vulnerability'}
[+] USN-2702-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2702-1:
{'date': '9/3/15', 'advisory_name': 'USN-2702-1', 'advisory_type': 'Security Advisory', 'id': 564, 'advisory_synopsis': 'Firefox vulnerabilities'}
[+] USN-2702-2 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2702-2:
{'date': '9/3/15', 'advisory_name': 'USN-2702-2', 'advisory_type': 'Security Advisory', 'id': 566, 'advisory_synopsis': 'Ubufox update'}
[+] USN-2710-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2710-1:
{'date': '9/3/15', 'advisory_name': 'USN-2710-1', 'advisory_type': 'Security Advisory', 'id': 568, 'advisory_synopsis': 'OpenSSH vulnerabilities'}
[+] USN-2709-1 doesn't exist: analyzing
[+] Found 2 packages related: Publishing
[+] Creating errata USN-2709-1:
{'date': '9/3/15', 'advisory_name': 'USN-2709-1', 'advisory_type': 'Security Advisory', 'id': 570, 'advisory_synopsis': 'pollinate update'}
[+] USN-2711-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2711-1:
{'date': '9/3/15', 'advisory_name': 'USN-2711-1', 'advisory_type': 'Security Advisory', 'id': 572, 'advisory_synopsis': 'Net-SNMP vulnerabilities'}
[+] USN-2713-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2713-1:
{'date': '9/3/15', 'advisory_name': 'USN-2713-1', 'advisory_type': 'Security Advisory', 'id': 574, 'advisory_synopsis': 'Linux kernel vulnerabilities'}
[+] USN-2714-1 doesn't exist: analyzing
[-] No related packages found: skipping
[+] USN-2715-1 doesn't exist: analyzing
[+] Found 2 packages related: Publishing
[+] Creating errata USN-2715-1:
{'date': '9/3/15', 'advisory_name': 'USN-2715-1', 'advisory_type': 'Security Advisory', 'id': 576, 'advisory_synopsis': 'Linux kernel (Trusty HWE) vulnerability'}
[+] USN-2716-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2716-1:
{'date': '9/3/15', 'advisory_name': 'USN-2716-1', 'advisory_type': 'Security Advisory', 'id': 578, 'advisory_synopsis': 'Linux kernel vulnerability'}
[+] USN-2717-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2717-1:
{'date': '9/3/15', 'advisory_name': 'USN-2717-1', 'advisory_type': 'Security Advisory', 'id': 580, 'advisory_synopsis': 'Linux kernel (Utopic HWE) vulnerability'}
[+] USN-2718-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2718-1:
{'date': '9/3/15', 'advisory_name': 'USN-2718-1', 'advisory_type': 'Security Advisory', 'id': 582, 'advisory_synopsis': 'Linux kernel (Vivid HWE) vulnerability'}
[+] USN-2719-1 doesn't exist: analyzing
[-] No related packages found: skipping
[+] USN-2710-2 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2710-2:
{'date': '9/3/15', 'advisory_name': 'USN-2710-2', 'advisory_type': 'Security Advisory', 'id': 584, 'advisory_synopsis': 'OpenSSH regression'}
[+] USN-2720-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2720-1:
{'date': '9/3/15', 'advisory_name': 'USN-2720-1', 'advisory_type': 'Security Advisory', 'id': 586, 'advisory_synopsis': 'Django vulnerability'}
[+] USN-2721-1 doesn't exist: analyzing
[+] Found 8 packages related: Publishing
[+] Creating errata USN-2721-1:
{'date': '9/3/15', 'advisory_name': 'USN-2721-1', 'advisory_type': 'Security Advisory', 'id': 588, 'advisory_synopsis': 'Subversion vulnerabilities'}
[+] USN-2702-3 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2702-3:
{'date': '9/3/15', 'advisory_name': 'USN-2702-3', 'advisory_type': 'Security Advisory', 'id': 590, 'advisory_synopsis': 'Firefox regression'}
[+] USN-2712-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2712-1:
{'date': '9/3/15', 'advisory_name': 'USN-2712-1', 'advisory_type': 'Security Advisory', 'id': 592, 'advisory_synopsis': 'Thunderbird vulnerabilities'}
[+] USN-2722-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2722-1:
{'date': '9/3/15', 'advisory_name': 'USN-2722-1', 'advisory_type': 'Security Advisory', 'id': 594, 'advisory_synopsis': 'GDK-PixBuf vulnerability'}
[+] USN-2724-1 doesn't exist: analyzing
[+] Found 16 packages related: Publishing
[+] Creating errata USN-2724-1:
{'date': '9/3/15', 'advisory_name': 'USN-2724-1', 'advisory_type': 'Security Advisory', 'id': 596, 'advisory_synopsis': 'QEMU vulnerabilities'}
[+] USN-2725-1 doesn't exist: analyzing
[-] No related packages found: skipping
[+] USN-2723-1 doesn't exist: analyzing
[+] Found 4 packages related: Publishing
[+] Creating errata USN-2723-1:
{'date': '9/3/15', 'advisory_name': 'USN-2723-1', 'advisory_type': 'Security Advisory', 'id': 598, 'advisory_synopsis': 'Firefox vulnerabilities'}
[-] Clossing Session on http://localhost/rpc/api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment