Public bug reported:

Using printers.conf from an ansible module for fact collection, I noticed that 
a printer's MakeModel randomly disappears from printers.conf.

The bug has already been fixed upstream and it's easy to backport:

https://www.cups.org/pipermail/cups/2014-December/026601.html

Attached is the same patch from the link, applied to the current sources
in trusty (1.7.2-0ubuntu1.7).

$ lsb_release -rd
Description:    Ubuntu 14.04 LTS
Release:        14.04

$ apt-cache policy cups
cups:
  Installed: 1.7.2-0ubuntu1.7
  Candidate: 1.7.2-0ubuntu1.7
  Version table:
 *** 1.7.2-0ubuntu1.7 0
        500 http://ar.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 
Packages
        100 /var/lib/dpkg/status
     1.7.2-0ubuntu1 0
        500 http://ar.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cups 1.7.2-0ubuntu1.7
ProcVersionSignature: Ubuntu 3.13.0-83.127-generic 3.13.11-ckt35
Uname: Linux 3.13.0-83-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Mon Apr  4 16:52:50 2016
Lpstat:
 device for q_other: socket://q_other
 device for q_other2: socket://q_other2
 device for q_other3: socket://q_other3
Lspci:
 
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize 
libusb: -99
Papersize: a4
PpdFiles:
 q_other2: Generic PCL 3 Printer Foomatic/pcl3 (recommended)
 q_other: Generic PCL 3 Printer Foomatic/pcl3 (recommended)
 q_other3: Generic PCL 3 Printer Foomatic/pcl3 (recommended)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=es_AR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: root=/dev/xvda2 ro elevator=noop root=/dev/xvda1 ro
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: cups (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cups trusty

** Patch added: "Upstream patch backported to 1.7.2-0ubuntu1.7"
   
https://bugs.launchpad.net/bugs/1565982/+attachment/4623492/+files/makemodel.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1565982

Title:
  MakeModel gets erased from printers.conf from time to   time

Status in cups package in Ubuntu:
  New

Bug description:
  
  Using printers.conf from an ansible module for fact collection, I noticed 
that a printer's MakeModel randomly disappears from printers.conf.

  The bug has already been fixed upstream and it's easy to backport:

  https://www.cups.org/pipermail/cups/2014-December/026601.html

  Attached is the same patch from the link, applied to the current
  sources in trusty (1.7.2-0ubuntu1.7).

  $ lsb_release -rd
  Description:  Ubuntu 14.04 LTS
  Release:      14.04

  $ apt-cache policy cups
  cups:
    Installed: 1.7.2-0ubuntu1.7
    Candidate: 1.7.2-0ubuntu1.7
    Version table:
   *** 1.7.2-0ubuntu1.7 0
          500 http://ar.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 
Packages
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 
Packages
          100 /var/lib/dpkg/status
       1.7.2-0ubuntu1 0
          500 http://ar.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: cups 1.7.2-0ubuntu1.7
  ProcVersionSignature: Ubuntu 3.13.0-83.127-generic 3.13.11-ckt35
  Uname: Linux 3.13.0-83-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.19
  Architecture: amd64
  Date: Mon Apr  4 16:52:50 2016
  Lpstat:
   device for q_other: socket://q_other
   device for q_other2: socket://q_other2
   device for q_other3: socket://q_other3
  Lspci:
   
  Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize 
libusb: -99
  Papersize: a4
  PpdFiles:
   q_other2: Generic PCL 3 Printer Foomatic/pcl3 (recommended)
   q_other: Generic PCL 3 Printer Foomatic/pcl3 (recommended)
   q_other3: Generic PCL 3 Printer Foomatic/pcl3 (recommended)
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=es_AR.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: root=/dev/xvda2 ro elevator=noop root=/dev/xvda1 ro
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1565982/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to