[Touch-packages] [Bug 1995236] Re: Xsessions has_option code error with fix

2022-10-31 Thread Peter D.
And now OPTIONS has to be exported, 
and probably should be protected against being empty in the new file. So it 
becomes ${OPTIONS:-} and ${1:-}

What else have I missed?

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

Title:
  Xsessions has_option code error with fix

Status in xorg package in Ubuntu:
  New

Bug description:
  Jammy Jellyfish 22.04.1 LTS and others. There have been numerous bug
  reports and failed fixes for this over several years and releases.

  There are a couple of problems in /etc/X11/Xsessions where it fails to
  handle options, causing bogus error messages and, doubtless, many
  errors.

  The first bug is that the entire options file, including comments, is
  read into a variable.

  Where the variable "OPTIONS" is assigned;

  Replacing "cat" with "grep" strips out comments and blank lines;

  $ diff Xsession Xsession.orig 
  65c65
  < grep -v "^\s*\#\|^\s*$" "$OPTIONFILE"
  ---
  > cat "$OPTIONFILE"

  The second problem is that checking for a non-existent directory
  inside a command substitution does not work.  It just appends garbage
  onto the output string.

  That is probably a bug in BASH, but I defer to your opinion there.

  The immediate work around is to create an empty directory so that the
  test does not fail.  Better still, force the creation of the directory
  and remove the test.

  
  eg. change this;

  OPTIONS="$(
if [ -r "$OPTIONFILE" ]; then
  cat "$OPTIONFILE"
fi
if [ -d /etc/X11/Xsession.options.d ]; then
  run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
fi
  )"

  to this;

  OPTIONSDIR=/etc/X11/Xsession.options.d
  mkdir --parents ${OPTIONSDIR}
  OPTIONS="$(
if [ -r "$OPTIONFILE" ]; then
  grep -v "^\s*\#\|^\s*$" "$OPTIONFILE"
fi
run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
  )"

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
  Uname: Linux 5.15.0-52-generic x86_64
  .tmp.unity_support_test.0:
   
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: XFCE
  Date: Mon Oct 31 16:33:14 2022
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  DkmsStatus:
   virtualbox/6.1.38, 5.15.0-362206031516-generic, x86_64: installed
   virtualbox/6.1.38, 5.15.0-52-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / 
Radeon Vega Mobile Series] [1002:15dd] (rev c8) (prog-if 00 [VGA controller])
 Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega 
Series / Radeon Vega Mobile Series] [1002:15dd]
  InstallationDate: Installed on 2022-10-20 (11 days ago)
  InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  MachineType: Micro-Star International Co., Ltd. MS-7B89
  ProcKernelCmdLine: ro root=PARTUUID=1c70e394-574c-46cc-a65e-a402f0e077d4 
fbcon=rotate:2 initrd=\initrd.img
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/01/2021
  dmi.bios.release: 5.17
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: 2.C0
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: B450M MORTAR MAX (MS-7B89)
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Micro-Star International Co., Ltd.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvr2.C0:bd02/01/2021:br5.17:svnMicro-StarInternationalCo.,Ltd.:pnMS-7B89:pvr1.0:rvnMicro-StarInternationalCo.,Ltd.:rnB450MMORTARMAX(MS-7B89):rvr1.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr1.0:skuTobefilledbyO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: MS-7B89
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: 1.0
  dmi.sys.vendor: Micro-Star International Co., Ltd.
  version.compiz: compiz 1:0.9.14.1+22.04.20220820-0ubuntu1
  version.libdrm2: libdrm2 2.4.110-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx 22.0.5-0ubuntu0.1
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.2
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.17-2build1

To manage 

[Touch-packages] [Bug 1995236] Re: Xsessions has_option code error with fix

2022-10-31 Thread Peter D.
Bother.  There is a third problem, a scope issue of some sort. 
The errors in ~/.xsession.error go away if "has_options" is moved from Xsession 
to its own file in Xsession.d

I don't see why sourceing it should make any difference, but it does.

$ cat /etc/X11/Xsession.d/00
has_option () {
  # Ensure that a later no-foo overrides an earlier foo
  if [ "$(echo "$OPTIONS" | grep -Eo "^(no-)?$1\>" | tail -n 1)" == "$1" ]; then
return 0
  else
return 1
  fi
}

Also I changed a "=" to "==", but that should be cosmetic.

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

Title:
  Xsessions has_option code error with fix

Status in xorg package in Ubuntu:
  New

Bug description:
  Jammy Jellyfish 22.04.1 LTS and others. There have been numerous bug
  reports and failed fixes for this over several years and releases.

  There are a couple of problems in /etc/X11/Xsessions where it fails to
  handle options, causing bogus error messages and, doubtless, many
  errors.

  The first bug is that the entire options file, including comments, is
  read into a variable.

  Where the variable "OPTIONS" is assigned;

  Replacing "cat" with "grep" strips out comments and blank lines;

  $ diff Xsession Xsession.orig 
  65c65
  < grep -v "^\s*\#\|^\s*$" "$OPTIONFILE"
  ---
  > cat "$OPTIONFILE"

  The second problem is that checking for a non-existent directory
  inside a command substitution does not work.  It just appends garbage
  onto the output string.

  That is probably a bug in BASH, but I defer to your opinion there.

  The immediate work around is to create an empty directory so that the
  test does not fail.  Better still, force the creation of the directory
  and remove the test.

  
  eg. change this;

  OPTIONS="$(
if [ -r "$OPTIONFILE" ]; then
  cat "$OPTIONFILE"
fi
if [ -d /etc/X11/Xsession.options.d ]; then
  run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
fi
  )"

  to this;

  OPTIONSDIR=/etc/X11/Xsession.options.d
  mkdir --parents ${OPTIONSDIR}
  OPTIONS="$(
if [ -r "$OPTIONFILE" ]; then
  grep -v "^\s*\#\|^\s*$" "$OPTIONFILE"
fi
run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
  )"

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
  Uname: Linux 5.15.0-52-generic x86_64
  .tmp.unity_support_test.0:
   
  ApportVersion: 2.20.11-0ubuntu82.1
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: XFCE
  Date: Mon Oct 31 16:33:14 2022
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  DkmsStatus:
   virtualbox/6.1.38, 5.15.0-362206031516-generic, x86_64: installed
   virtualbox/6.1.38, 5.15.0-52-generic, x86_64: installed
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / 
Radeon Vega Mobile Series] [1002:15dd] (rev c8) (prog-if 00 [VGA controller])
 Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega 
Series / Radeon Vega Mobile Series] [1002:15dd]
  InstallationDate: Installed on 2022-10-20 (11 days ago)
  InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  MachineType: Micro-Star International Co., Ltd. MS-7B89
  ProcKernelCmdLine: ro root=PARTUUID=1c70e394-574c-46cc-a65e-a402f0e077d4 
fbcon=rotate:2 initrd=\initrd.img
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 02/01/2021
  dmi.bios.release: 5.17
  dmi.bios.vendor: American Megatrends International, LLC.
  dmi.bios.version: 2.C0
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: B450M MORTAR MAX (MS-7B89)
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To be filled by O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Micro-Star International Co., Ltd.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvr2.C0:bd02/01/2021:br5.17:svnMicro-StarInternationalCo.,Ltd.:pnMS-7B89:pvr1.0:rvnMicro-StarInternationalCo.,Ltd.:rnB450MMORTARMAX(MS-7B89):rvr1.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr1.0:skuTobefilledbyO.E.M.:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: MS-7B89
  dmi.product.sku: To be filled by O.E.M.
  dmi.product.version: 1.0
  dmi.sys.vendor: Micro-Star International Co., Ltd.
  version.compiz: compiz 1:0.9.14.1+22.04.20220820-0ubuntu1
  version.libdrm2: libdrm2 2.4.110-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx 22.0.5-0ubuntu0.1
  version.xserver-xorg-core: 

[Touch-packages] [Bug 1995236] [NEW] Xsessions has_option code error with fix

2022-10-31 Thread Peter D.
Public bug reported:

Jammy Jellyfish 22.04.1 LTS and others. There have been numerous bug
reports and failed fixes for this over several years and releases.

There are a couple of problems in /etc/X11/Xsessions where it fails to
handle options, causing bogus error messages and, doubtless, many
errors.

The first bug is that the entire options file, including comments, is
read into a variable.

Where the variable "OPTIONS" is assigned;

Replacing "cat" with "grep" strips out comments and blank lines;

$ diff Xsession Xsession.orig 
65c65
< grep -v "^\s*\#\|^\s*$" "$OPTIONFILE"
---
> cat "$OPTIONFILE"

The second problem is that checking for a non-existent directory inside
a command substitution does not work.  It just appends garbage onto the
output string.

That is probably a bug in BASH, but I defer to your opinion there.

The immediate work around is to create an empty directory so that the
test does not fail.  Better still, force the creation of the directory
and remove the test.


eg. change this;

OPTIONS="$(
  if [ -r "$OPTIONFILE" ]; then
cat "$OPTIONFILE"
  fi
  if [ -d /etc/X11/Xsession.options.d ]; then
run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
  fi
)"

to this;

OPTIONSDIR=/etc/X11/Xsession.options.d
mkdir --parents ${OPTIONSDIR}
OPTIONS="$(
  if [ -r "$OPTIONFILE" ]; then
grep -v "^\s*\#\|^\s*$" "$OPTIONFILE"
  fi
  run-parts --list --regex '\.conf$' /etc/X11/Xsession.options.d | xargs -d 
'\n' cat
)"

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: xorg 1:7.7+23ubuntu2
ProcVersionSignature: Ubuntu 5.15.0-52.58-generic 5.15.60
Uname: Linux 5.15.0-52-generic x86_64
.tmp.unity_support_test.0:
 
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperMD5CheckResult: pass
CompositorRunning: None
CurrentDesktop: XFCE
Date: Mon Oct 31 16:33:14 2022
DistUpgraded: Fresh install
DistroCodename: jammy
DistroVariant: ubuntu
DkmsStatus:
 virtualbox/6.1.38, 5.15.0-362206031516-generic, x86_64: installed
 virtualbox/6.1.38, 5.15.0-52-generic, x86_64: installed
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / 
Radeon Vega Mobile Series] [1002:15dd] (rev c8) (prog-if 00 [VGA controller])
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega 
Series / Radeon Vega Mobile Series] [1002:15dd]
InstallationDate: Installed on 2022-10-20 (11 days ago)
InstallationMedia: Kubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
MachineType: Micro-Star International Co., Ltd. MS-7B89
ProcKernelCmdLine: ro root=PARTUUID=1c70e394-574c-46cc-a65e-a402f0e077d4 
fbcon=rotate:2 initrd=\initrd.img
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/01/2021
dmi.bios.release: 5.17
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: 2.C0
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: B450M MORTAR MAX (MS-7B89)
dmi.board.vendor: Micro-Star International Co., Ltd.
dmi.board.version: 1.0
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Micro-Star International Co., Ltd.
dmi.chassis.version: 1.0
dmi.modalias: 
dmi:bvnAmericanMegatrendsInternational,LLC.:bvr2.C0:bd02/01/2021:br5.17:svnMicro-StarInternationalCo.,Ltd.:pnMS-7B89:pvr1.0:rvnMicro-StarInternationalCo.,Ltd.:rnB450MMORTARMAX(MS-7B89):rvr1.0:cvnMicro-StarInternationalCo.,Ltd.:ct3:cvr1.0:skuTobefilledbyO.E.M.:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: MS-7B89
dmi.product.sku: To be filled by O.E.M.
dmi.product.version: 1.0
dmi.sys.vendor: Micro-Star International Co., Ltd.
version.compiz: compiz 1:0.9.14.1+22.04.20220820-0ubuntu1
version.libdrm2: libdrm2 2.4.110-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
version.libgl1-mesa-glx: libgl1-mesa-glx 22.0.5-0ubuntu0.1
version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

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


** Tags: amd64 apport-bug jammy ubuntu

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

Title:
  Xsessions has_option code error with fix

Status in xorg package in Ubuntu:
  New

Bug description:
  Jammy Jellyfish 22.04.1 LTS and others. There have been numerous bug
  reports and failed fixes for this over several years and releases.

  There are a couple of problems in /etc/X11/Xsessions where it fails to
  handle options, causing bogus 

[Touch-packages] [Bug 1885310] [NEW] Unable to add local printer. cups hanging

2020-06-26 Thread Peter D Knight
Public bug reported:

Initially added epson c60 stylus but it installed with filter error.
Deleted printer from cups , added new printer.
Added the epson printer , selected the .ppd file that worked in 1904 and 
clicked add printer.
Cups just sits and thinks.
Same happens if I use the applications/System/printers menu.
Thanks
Peter

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: cups-daemon 2.3.1-9ubuntu1.1
ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
Uname: Linux 5.4.0-37-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.2
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jun 26 18:16:57 2020
ExecutablePath: /usr/sbin/cupsd
InstallationDate: Installed on 2020-06-01 (25 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
MachineType: System manufacturer System Product Name
Papersize: a4
PpdFiles: EPSON-Stylus-C60: Epson Stylus C60 - CUPS+Gutenprint v5.3.1
ProcAttrCurrent: /usr/sbin/cupsd (enforce)
ProcEnviron:
 LANG=en_ZA.UTF-8
 LANGUAGE=en_ZA:en
 PATH=(custom, no user)
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-37-generic 
root=UUID=b750d723-abc0-43bf-bfd0-945d09637362 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/16/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0402
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5G41T-M LX3
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0402:bd05/16/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5G41T-MLX3:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: System Product Name
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

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


** Tags: amd64 apport-bug focal

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

Title:
  Unable to add local printer. cups hanging

Status in cups package in Ubuntu:
  New

Bug description:
  Initially added epson c60 stylus but it installed with filter error.
  Deleted printer from cups , added new printer.
  Added the epson printer , selected the .ppd file that worked in 1904 and 
clicked add printer.
  Cups just sits and thinks.
  Same happens if I use the applications/System/printers menu.
  Thanks
  Peter

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: cups-daemon 2.3.1-9ubuntu1.1
  ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
  Uname: Linux 5.4.0-37-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.2
  Architecture: amd64
  CasperMD5CheckResult: skip
  Date: Fri Jun 26 18:16:57 2020
  ExecutablePath: /usr/sbin/cupsd
  InstallationDate: Installed on 2020-06-01 (25 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  MachineType: System manufacturer System Product Name
  Papersize: a4
  PpdFiles: EPSON-Stylus-C60: Epson Stylus C60 - CUPS+Gutenprint v5.3.1
  ProcAttrCurrent: /usr/sbin/cupsd (enforce)
  ProcEnviron:
   LANG=en_ZA.UTF-8
   LANGUAGE=en_ZA:en
   PATH=(custom, no user)
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-37-generic 
root=UUID=b750d723-abc0-43bf-bfd0-945d09637362 ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/16/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0402
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5G41T-M LX3
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0402:bd05/16/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5G41T-MLX3:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.family: To Be Filled By O.E.M.
  dmi.product.name: System Product Name
  dmi.product.sku: To Be Filled By O.E.M.
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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

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

[Touch-packages] [Bug 1848900] [NEW] blank display with Eoan Ermine live DVD on Rysen 2200G

2019-10-19 Thread Peter D.
Public bug reported:

Regression with Ryzen 3 2200G, UEFI Asrock B450 Pro4 motherboard and
55-75 Hz monitor.

Booting Xubuntu 19.10 live iso with safe graphics options did give a
stable desktop display, but

xubuntu@xubuntu:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
   1920x1080 77.00* 
xubuntu@xubuntu:~$ 

The monitor is only supposed to have a maximum vertical refresh rate of
75 Hz. Xrandr reports 77 Hz as the only choice.  The monitor reports 60
Hz, not that I trust the monitor.

Swapping monitors and running many reboots the situation seems to be...

Old versions of Ubuntu (Bionic and Dingo) can handle the hardware.
Standard boot sometimes gives a blank screen.  
Standard boot sometimes gives a badly pixelated display 
(Ctl-Alt-F6, Ctl-Alt-F7 temporarily improves it).  
Connecting a 144 Hz monitor convinces something (the firmware?) 
that fast refreshes are OK on a slow monitor, or at least it fails to 
reread and abide by the slow monitor's limitations when swapping back.
Something, I don't know what, convinces the computer to run the display 
at 60 Hz, sometimes. 

The motherboard has three video ports; DP, HDMI and VGA (using an onboard 
DP? to VGA converter chip).  The fast monitor has DP, HDMI and VGA ports, 
but I only experimented with the DP connection.  The slow monitor has VGA and 
DVI-D ports.  I experimented with VGA to VGA and HDMI via a passive adapter 
to DVI.  When running in the badly pixelated mode xorg seems to think that 
the VGA port is "DP-1".

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: xorg 1:7.7+19ubuntu12
ProcVersionSignature: Ubuntu 5.3.0-18.19-generic 5.3.1
Uname: Linux 5.3.0-18-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu8
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CasperVersion: 1.427
CompositorRunning: None
CurrentDesktop: XFCE
Date: Sun Oct 20 00:17:34 2019
DistUpgraded: Fresh install
DistroCodename: eoan
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / 
Radeon Vega Mobile Series] [1002:15dd] (rev c8) (prog-if 00 [VGA controller])
   Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega 
Series / Radeon Vega Mobile Series] [1002:15dd]
LiveMediaBuild: Xubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz file=/cdrom/preseed/username.seed 
quiet splash nomodeset ---
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/02/2019
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P3.40
dmi.board.name: B450 Pro4
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrP3.40:bd07/02/2019:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnB450Pro4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.99-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.1-1ubuntu1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.5+git20191008-0ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.0.1-1ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20190815-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1
xserver.bootTime: Sat Oct 19 23:52:52 2019
xserver.configfile: default
xserver.errors:
 open /dev/dri/card0: No such file or directory
 open /dev/dri/card0: No such file or directory
 Screen 0 deleted because of no matching config section.
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 
xserver.version: 2:1.20.5+git20191008-0ubuntu1

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


** Tags: amd64 apport-bug eoan ubuntu

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

Title:
  blank display with Eoan Ermine live DVD on Rysen 2200G

Status in xorg package in Ubuntu:
  New

Bug description:
  Regression with Ryzen 3 2200G, UEFI Asrock B450 Pro4 motherboard and
  55-75 Hz monitor.

  Booting Xubuntu 19.10 live iso with safe graphics options did give a
  stable desktop display, but

 

[Touch-packages] [Bug 1550846] Re: package identification is awful

2016-03-05 Thread Peter D.
Why is this still "incomplete"?  What more needs to be added?

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

Title:
  package identification is awful

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Recently I reported a bug against the kernel - apport made this very
  difficult.

  The instructions at 
  clearly state that the correct thing to do is to report kernel bugs
  against the package "linux".  That does not work.

  "ubuntu-bug linux" reports that linux is not installed!

  After some head-scratching I tried "ubuntu-bug linux-image", that also
  failed.  It did finally work with "ubuntu-bug linux-image-generic",
  but that is not an obvious choice *and it is contrary to the
  instructions*.  The obvious choice was "ubuntu-bug kernel" (which I
  tried first) that also failed.

  So, I tried to report a bug against ubuntu-bug with "ubuntu-bug
  ubuntu-bug", not installed!  According to the web site
   ubuntu-bug does not belong to
  any package!  OK it is a link.  Try again with the real binary name;
  apport-bug is not installed either!

  If you want feedback from ordinary users, bugs in the bug reporting
  system are serious.

  When apport is given a name that is not a package name it could follow a few 
simple steps to at lest provide hints to user; 
  "ls -l $(which ubuntu-bug)" shows that it is a link, 
  "ls -l --dereference $(which ubuntu-bug)" shows what it links to, and
  "dpkg-query --search $(ls  --dereference $(which ubuntu-bug))" even reports 
"apport: /usr/bin/ubuntu-bug".  
  That would be a useful clue to most users.  Note, "dpkg-query --search 
ubuntu-bug" is less useful.  

  As for kernel bugs, it should at least behave as documented.  Please
  add an extra line of code so that as a special case both "ubuntu-bug
  linux" and "ubuntu-bug kernel" work.

  There have been many times that apport has stated that a bug could not
  be reported and I had believed that it was because there were non-
  standard packages installed, now I am not so sure.

  TIA

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: apport 2.19.4-0ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
  Uname: Linux 4.4.0-2-generic x86_64
  ApportVersion: 2.19.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun Feb 28 13:06:32 2016
  InstallationDate: Installed on 2016-02-03 (24 days ago)
  InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160202)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1550846/+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


[Touch-packages] [Bug 1550846] Re: package identification is awful

2016-03-04 Thread Peter D.
I've just booted a few different releases.

A live pre-release DVD of Mythbuntu from a few day ago does behave with
"ubuntu-bug linux" and "ubuntu-bug apport" although it could have done
better with; "ubuntu-bug kernel", "ubuntu-bug ubuntu-bug", "ubuntu-bug
ubuntu", and "ubuntu-bug apport-bug".

The month old installation also misbehaves with "ubuntu-bug linux", but
I guess that a bug has been fixed since then.

Also on Trusty Tahr a possibly unrelated bug gives this;

$ ubuntu-bug apport
usage: whoopsie-upload-all [-h] [-t TIMEOUT]
whoopsie-upload-all: error: unrecognized arguments: apport

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

Title:
  package identification is awful

Status in apport package in Ubuntu:
  Incomplete

Bug description:
  Recently I reported a bug against the kernel - apport made this very
  difficult.

  The instructions at 
  clearly state that the correct thing to do is to report kernel bugs
  against the package "linux".  That does not work.

  "ubuntu-bug linux" reports that linux is not installed!

  After some head-scratching I tried "ubuntu-bug linux-image", that also
  failed.  It did finally work with "ubuntu-bug linux-image-generic",
  but that is not an obvious choice *and it is contrary to the
  instructions*.  The obvious choice was "ubuntu-bug kernel" (which I
  tried first) that also failed.

  So, I tried to report a bug against ubuntu-bug with "ubuntu-bug
  ubuntu-bug", not installed!  According to the web site
   ubuntu-bug does not belong to
  any package!  OK it is a link.  Try again with the real binary name;
  apport-bug is not installed either!

  If you want feedback from ordinary users, bugs in the bug reporting
  system are serious.

  When apport is given a name that is not a package name it could follow a few 
simple steps to at lest provide hints to user; 
  "ls -l $(which ubuntu-bug)" shows that it is a link, 
  "ls -l --dereference $(which ubuntu-bug)" shows what it links to, and
  "dpkg-query --search $(ls  --dereference $(which ubuntu-bug))" even reports 
"apport: /usr/bin/ubuntu-bug".  
  That would be a useful clue to most users.  Note, "dpkg-query --search 
ubuntu-bug" is less useful.  

  As for kernel bugs, it should at least behave as documented.  Please
  add an extra line of code so that as a special case both "ubuntu-bug
  linux" and "ubuntu-bug kernel" work.

  There have been many times that apport has stated that a bug could not
  be reported and I had believed that it was because there were non-
  standard packages installed, now I am not so sure.

  TIA

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: apport 2.19.4-0ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
  Uname: Linux 4.4.0-2-generic x86_64
  ApportVersion: 2.19.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun Feb 28 13:06:32 2016
  InstallationDate: Installed on 2016-02-03 (24 days ago)
  InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160202)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1550846/+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


[Touch-packages] [Bug 1550846] [NEW] package identification is awful

2016-02-27 Thread Peter D.
Public bug reported:

Recently I reported a bug against the kernel - apport made this very
difficult.

The instructions at 
clearly state that the correct thing to do is to report kernel bugs
against the package "linux".  That does not work.

"ubuntu-bug linux" reports that linux is not installed!

After some head-scratching I tried "ubuntu-bug linux-image", that also
failed.  It did finally work with "ubuntu-bug linux-image-generic", but
that is not an obvious choice *and it is contrary to the instructions*.
The obvious choice was "ubuntu-bug kernel" (which I tried first) that
also failed.

So, I tried to report a bug against ubuntu-bug with "ubuntu-bug ubuntu-
bug", not installed!  According to the web site
 ubuntu-bug does not belong to any
package!  OK it is a link.  Try again with the real binary name; apport-
bug is not installed either!

If you want feedback from ordinary users, bugs in the bug reporting
system are serious.

When apport is given a name that is not a package name it could follow a few 
simple steps to at lest provide hints to user; 
"ls -l $(which ubuntu-bug)" shows that it is a link, 
"ls -l --dereference $(which ubuntu-bug)" shows what it links to, and
"dpkg-query --search $(ls  --dereference $(which ubuntu-bug))" even reports 
"apport: /usr/bin/ubuntu-bug".  
That would be a useful clue to most users.  Note, "dpkg-query --search 
ubuntu-bug" is less useful.  

As for kernel bugs, it should at least behave as documented.  Please add
an extra line of code so that as a special case both "ubuntu-bug linux"
and "ubuntu-bug kernel" work.

There have been many times that apport has stated that a bug could not
be reported and I had believed that it was because there were non-
standard packages installed, now I am not so sure.

TIA

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apport 2.19.4-0ubuntu2
ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
Uname: Linux 4.4.0-2-generic x86_64
ApportVersion: 2.19.4-0ubuntu2
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Feb 28 13:06:32 2016
InstallationDate: Installed on 2016-02-03 (24 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160202)
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

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


** Tags: amd64 apport-bug xenial

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

Title:
  package identification is awful

Status in apport package in Ubuntu:
  New

Bug description:
  Recently I reported a bug against the kernel - apport made this very
  difficult.

  The instructions at 
  clearly state that the correct thing to do is to report kernel bugs
  against the package "linux".  That does not work.

  "ubuntu-bug linux" reports that linux is not installed!

  After some head-scratching I tried "ubuntu-bug linux-image", that also
  failed.  It did finally work with "ubuntu-bug linux-image-generic",
  but that is not an obvious choice *and it is contrary to the
  instructions*.  The obvious choice was "ubuntu-bug kernel" (which I
  tried first) that also failed.

  So, I tried to report a bug against ubuntu-bug with "ubuntu-bug
  ubuntu-bug", not installed!  According to the web site
   ubuntu-bug does not belong to
  any package!  OK it is a link.  Try again with the real binary name;
  apport-bug is not installed either!

  If you want feedback from ordinary users, bugs in the bug reporting
  system are serious.

  When apport is given a name that is not a package name it could follow a few 
simple steps to at lest provide hints to user; 
  "ls -l $(which ubuntu-bug)" shows that it is a link, 
  "ls -l --dereference $(which ubuntu-bug)" shows what it links to, and
  "dpkg-query --search $(ls  --dereference $(which ubuntu-bug))" even reports 
"apport: /usr/bin/ubuntu-bug".  
  That would be a useful clue to most users.  Note, "dpkg-query --search 
ubuntu-bug" is less useful.  

  As for kernel bugs, it should at least behave as documented.  Please
  add an extra line of code so that as a special case both "ubuntu-bug
  linux" and "ubuntu-bug kernel" work.

  There have been many times that apport has stated that a bug could not
  be reported and I had believed that it was because there were non-
  standard packages installed, now I am not so sure.

  TIA

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: apport 2.19.4-0ubuntu2
  ProcVersionSignature: Ubuntu 4.4.0-2.16-generic 4.4.0
  Uname: Linux 4.4.0-2-generic x86_64
  ApportVersion: 2.19.4-0ubuntu2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Sun Feb 28 13:06:32 2016
  InstallationDate: Installed on 

[Touch-packages] [Bug 1481158] Re: sfdisk gets cylinder calculation wrong when using sectors

2016-02-17 Thread Peter D.
I suspect that this causes a problem that later versions do not clean
up.  In this case the sequences was (probably) partition with Trusty,
install Trusty, delete Trusty,  , install Wily (without re-
partitioning).  The current partition table as displayed by fdisk on
Trusty is clearly wrong for partition three (the one with Wily installed
on it).

It is not obvious how to fix this without repartitioning, and re-
installing.  Neither is it obvious how much (if any) real trouble it has
caused.

There has been persistent non-sense CHS and Disk-ID values on my phone's
micro SD card, as well as some reliability trouble.  It was partitioned
and formatted under Trusty.

$ sudo fdisk /dev/sda

Welcome to fdisk (util-linux 2.26.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): x

Expert command (m for help): v
Remaining 54093 unallocated 512-byte sectors.

Expert command (m for help): p

Disk /dev/sda: 298.1 GiB, 320068705792 bytes, 625134191 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x25f55d02

Device Boot Start   End   Sectors Id Type 
Start-C/H/S   End-C/H/S Attrs
/dev/sda1  * 2048  21655619  21653572 83 Linux
0/33/32 1023/63/25480
/dev/sda221659646 60511 578340866  5 Extended 
1023/63/254 1023/63/254  
/dev/sda3   60512 625088511  25088000 83 Linux  
484/42/77 1021/55/244  
/dev/sda4   625121280 625133567 12288 83 Linux
1023/63/254 1023/63/254  
/dev/sda521659648  42125311  20465664 83 Linux
1023/63/254 1023/63/254  
/dev/sda642127360  62590975  20463616 83 Linux
1023/63/254 1023/63/254  
/dev/sda762593024  83071538  20478515 82 Linux swap / Solaris 
1023/63/254 1023/63/254  
/dev/sda883073024 102602751  19529728 83 Linux
1023/63/254 1023/63/254  
/dev/sda9   102604800 122134096  19529297 83 Linux
1023/63/254 1023/63/254  
/dev/sda10  122136576 141666303  19529728 83 Linux
1023/63/254 1023/63/254  
/dev/sda11  141668352 161197648  19529297 83 Linux
1023/63/254 1023/63/254  
/dev/sda12  161200128 54367 438794240 83 Linux
1023/63/254 1023/63/254  
/dev/sda13  56416 60511  4096 83 Linux
1023/63/254 1023/63/254  

Partition table entries are not in disk order.

Expert command (m for help): q

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

Title:
  sfdisk gets cylinder calculation wrong when using sectors

Status in util-linux package in Ubuntu:
  Fix Released
Status in util-linux source package in Trusty:
  Triaged

Bug description:
  If you try and specify the starting offset for the partition in
  sectors and ask sfdisk to use the rest of the disk (with "+"), sfdisk
  will incorrectly calculate the end cylinders and not create the
  partition.  For example

  ---

  # dd if=/dev/zero of=/tmp/disk.img bs=1M count=10
  # losetup -f /tmp/disk.img
  # sfdisk -uS /dev/loop1