[Touch-packages] [Bug 1904068] Re: apt(-get) source fails to use credentials from /etc/apt/auth.conf(.d)

2022-08-24 Thread Gabriel Kaufmann
Also affects me. But instead of "only" source-packages all updates fail
with Unauthorized 401. ESM is unusable in fact working like that! In my
case Ubuntu 16.04 is affected which still should work for ESM Updates
and there are about 300 updates proposed for me, but I'm not able to
download them.

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

Title:
  apt(-get) source fails to use credentials from /etc/apt/auth.conf(.d)

Status in apt package in Ubuntu:
  Confirmed

Bug description:
  I have configured apt-src access to the private ESM PPAs via entries
  in /etc/apt/sources.list.d/ubuntu-security.list as follows:

  deb-src https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-
  security/ubuntu trusty main

  and then added credentials as follows to /etc/apt/auth.conf.d/ubuntu-
  security.conf:

  machine private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu
  login alexmurray password 

  Running apt-get update then succeeds - but if I then try and run `apt-
  get source` to download from the PPA it fails:

  $ apt-get source --only-source intel-microcode/trusty
  Reading package lists... Done
  Selected version '3.20201110.0ubuntu0.14.04.2' (trusty) for intel-microcode
  NOTICE: 'intel-microcode' packaging is maintained in the 'Git' version 
control system at:
  https://salsa.debian.org/hmh/intel-microcode.git
  Please use:
  git clone https://salsa.debian.org/hmh/intel-microcode.git
  to retrieve the latest (possibly unreleased) updates to the package.
  Need to get 3,447 kB of source archives.
  Err:1 https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu 
trusty/main intel-microcode 3.20201110.0ubuntu0.14.04.2 (tar)
401  Unauthorized [IP: 2001:67c:1560:8008::15 443]
  Err:2 https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu 
trusty/main intel-microcode 3.20201110.0ubuntu0.14.04.2 (dsc)
401  Unauthorized [IP: 2001:67c:1560:8008::15 443]
  E: Failed to fetch 
https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu/pool/main/i/intel-microcode/intel-microcode_3.20201110.0ubuntu0.14.04.2.tar.xz
  401  Unauthorized [IP: 2001:67c:1560:8008::15 443]
  E: Failed to fetch 
https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu/pool/main/i/intel-microcode/intel-microcode_3.20201110.0ubuntu0.14.04.2.dsc
  401  Unauthorized [IP: 2001:67c:1560:8008::15 443]
  E: Failed to fetch some archives.

  
  However if I edit /etc/apt/sources.list.d/ubuntu-security.list above to 
specify the credentials in-line then it succeeds:

  deb-src https://alexmurray:x...@private-ppa.launchpad.net/ubuntu-
  esm/esm-infra-security/ubuntu trusty main

  $ apt-get source --only-source intel-microcode/trusty
  Reading package lists... Done
  Selected version '3.20201110.0ubuntu0.14.04.2' (trusty) for intel-microcode
  NOTICE: 'intel-microcode' packaging is maintained in the 'Git' version 
control system at:
  https://salsa.debian.org/hmh/intel-microcode.git
  Please use:
  git clone https://salsa.debian.org/hmh/intel-microcode.git
  to retrieve the latest (possibly unreleased) updates to the package.
  Need to get 3,447 kB of source archives.
  Get:1 https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu 
trusty/main intel-microcode 3.20201110.0ubuntu0.14.04.2 (tar) [3,446 kB]
  Get:2 https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu 
trusty/main intel-microcode 3.20201110.0ubuntu0.14.04.2 (dsc) [1,604 B]
  Fetched 3,447 kB in 5s (657 kB/s) 
  dpkg-source: info: extracting intel-microcode in 
intel-microcode-3.20201110.0ubuntu0.14.04.2
  dpkg-source: info: unpacking 
intel-microcode_3.20201110.0ubuntu0.14.04.2.tar.xz

  However now apt(-get) update complains about having credentials
  manually listed in the apt sources:

  $ sudo apt update
  ...
  N: Usage of apt_auth.conf(5) should be preferred over embedding login 
information directly in the sources.list(5) entry for 
'https://private-ppa.launchpad.net/ubuntu-esm/esm-infra-security/ubuntu'

  ProblemType: Bug
  DistroRelease: Ubuntu 20.10
  Package: apt 2.1.10
  ProcVersionSignature: Ubuntu 5.8.0-28.30-generic 5.8.14
  Uname: Linux 5.8.0-28-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.11-0ubuntu50
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Fri Nov 13 09:09:54 2020
  InstallationDate: Installed on 2020-10-11 (32 days ago)
  InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Beta amd64 (20200930)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

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


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

[Touch-packages] [Bug 357732] Re: cups always prints with the default page size

2021-07-21 Thread Gabriel Kaufmann
Having kind of this issue on my Ubuntu Xenial (16.04) with Brother MFC
Laser-Printer. The printer worked fine on the same system for over 1
year and suddenly every(!) custom settings from GUI printing dialog was
ignored. I need papersize A4 but always got letter format.

The only workaround I found was to set A4 hard-coded in default PPA
file. But since today I can't switch dublex-printing or switch from
color-printing (default) to black and white!

Very annoying and I don't know what may have changed between once
working and stopped ignoring my custom printing settings for a new
printing-job.

In my case there already is '/usr/lib/cups/filter/pstopdf'.

Reinstalling the packages 'cups-filters cups-filters-core-drivers'
didn't help.

-- 
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/357732

Title:
  cups always prints with the default page size

Status in GS-GPL:
  Invalid
Status in cups package in Ubuntu:
  Fix Released
Status in ghostscript package in Ubuntu:
  Invalid
Status in cups source package in Intrepid:
  Invalid
Status in ghostscript source package in Intrepid:
  Invalid
Status in cups source package in Jaunty:
  Fix Released
Status in ghostscript source package in Jaunty:
  Invalid

Bug description:
  After the upgrade to Jaunty some users experience that a part of the
  page is cut when printing, or other kinds of misalignment.  (A fix is
  available, see below)

  Details:
  Cups does not print in any other page size than the one set in 
/etc/papersize, if the requested page size is specified as a job option rather 
than within the PS file. Pages are passed through "gs -sDEVICE=pdfwrite ..." 
which sets the page size to the default page size. Yet, I don't know whether 
this is a bug in ghostscript or the intended behavior of ghostscript and a bug 
in cups.

  Since the upgrade to Jauny beta, I experienced that evince would shift
  a document up when printing. It is reproducible. I print in A4 on a
  Canon IR3170Ci.

  The printed output is translated up. The upper part of the contents in
  not visible. I also tried another printer driver (hpijs instead of
  post-script) and did not observe any improvement.

  Changing /etc/papersize from letter to a4 allows me to print in a4.

  Printing from evince also working fine in intrepid.

  To reproduce the bug:
  lpr -omedia=A3 testpage.ps
  There should not be a problem if the postscript file itself requests a page 
size.

  FIX:
  # (For simplicity, just paste this section to a terminal.)
  # Download the attached pstopdf and install it in /usr/lib/cups/filter/
  cd /tmp
  wget http://launchpadlibrarian.net/25537150/pstopdf
  sudo cp pstopdf /usr/lib/cups/filter/
  # Then change the permissions of the installed file:
  sudo chmod ugo+rx /usr/lib/cups/filter/pstopdf
  # that's all.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-gpl/+bug/357732/+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