[Touch-packages] [Bug 1847543] Re: libatk1.0-dev multiarch conflict

2020-06-01 Thread insaner
Related (same problem on fedora 30):
https://bugzilla.redhat.com/show_bug.cgi?id=1801768

Files that differ are:

/usr/share/gir-1.0/Atk-1.0.gir
/usr/share/gtk-doc/html/atk/api-index-full.html

as shown in the rpm install error below:


file /usr/share/gir-1.0/Atk-1.0.gir conflicts between attempted 
installs of atk-devel-2.31.92-1.fc30.x86_64 and atk-devel-2.31.92-1.fc30.i686
file /usr/share/gtk-doc/html/atk/api-index-full.html conflicts between 
attempted installs of atk-devel-2.31.92-1.fc30.x86_64 and 
atk-devel-2.31.92-1.fc30.i686


** Bug watch added: Red Hat Bugzilla #1801768
   https://bugzilla.redhat.com/show_bug.cgi?id=1801768

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

Title:
  libatk1.0-dev multiarch conflict

Status in atk1.0 package in Ubuntu:
  New

Bug description:
  It is not possible to install libatk1.0-dev:i386 and
  libatk1.0-dev:amd64 together:

  # apt install libatk1.0-dev:i386
  Reading package lists... Done
  Building dependency tree   
  Reading state information... Done
  The following additional packages will be installed:
gir1.2-atk-1.0:i386
  The following NEW packages will be installed:
gir1.2-atk-1.0:i386 libatk1.0-dev:i386
  0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
  Need to get 109 kB of archives.
  After this operation, 1.370 kB of additional disk space will be used.
  Do you want to continue? [Y/n] Y
  Get:1 http://de.archive.ubuntu.com/ubuntu disco/main i386 gir1.2-atk-1.0 i386 
2.32.0-1 [18,0 kB]
  Get:2 http://de.archive.ubuntu.com/ubuntu disco/main i386 libatk1.0-dev i386 
2.32.0-1 [91,3 kB]
  Fetched 109 kB in 0s (457 kB/s)  
  Selecting previously unselected package gir1.2-atk-1.0:i386.
  (Reading database ... 295431 files and directories currently installed.)
  Preparing to unpack .../gir1.2-atk-1.0_2.32.0-1_i386.deb ...
  Unpacking gir1.2-atk-1.0:i386 (2.32.0-1) ...
  Selecting previously unselected package libatk1.0-dev:i386.
  Preparing to unpack .../libatk1.0-dev_2.32.0-1_i386.deb ...
  Unpacking libatk1.0-dev:i386 (2.32.0-1) ...
  dpkg: error processing archive 
/var/cache/apt/archives/libatk1.0-dev_2.32.0-1_i386.deb (--unpack):
   trying to overwrite shared '/usr/share/gir-1.0/Atk-1.0.gir', which is 
different from other instances of package libatk1.0-dev:i386
  Errors were encountered while processing:
   /var/cache/apt/archives/libatk1.0-dev_2.32.0-1_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  I need this for cross compiling

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/atk1.0/+bug/1847543/+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 763755] Re: Remote access to CUPS service gives Bad Request 400

2015-11-23 Thread insaner
Related: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1086303

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

Title:
  Remote access to CUPS service gives Bad Request 400

Status in cups package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: cups

  Ubuntu 10.10 Latest Updates:

  I can no longer print remotely using the public CUPS server address
  ComputerName:631/ is met is bad request 400.

  Syslog reports:
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.130899] type=1400 
audit(1303051752.778:63): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="rwc" denied_mask="rwc" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.131135] type=1400 
audit(1303051752.778:64): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.141770] type=1400 
audit(1303051752.790:65): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="rwc" denied_mask="rwc" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.142003] type=1400 
audit(1303051752.790:66): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.147693] type=1400 
audit(1303051752.794:67): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="rwc" denied_mask="rwc" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.147922] type=1400 
audit(1303051752.794:68): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.150164] type=1400 
audit(1303051752.798:69): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="rwc" denied_mask="rwc" fsuid=0 ouid=0
  Apr 17 15:49:12 AM2x6 kernel: [ 2828.150394] type=1400 
audit(1303051752.798:70): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
  Apr 17 15:49:17 AM2x6 kernel: [ 2832.567096] type=1400 
audit(1303051757.214:71): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="rwc" denied_mask="rwc" fsuid=0 ouid=0
  Apr 17 15:49:17 AM2x6 kernel: [ 2832.567330] type=1400 
audit(1303051757.214:72): apparmor="DENIED" operation="open" parent=1 
profile="/usr/sbin/cupsd" name="/var/run/samba/gencache.tdb" pid=1231 
comm="cupsd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

  cups:
Installed: 1.4.4-6ubuntu2.3
Candidate: 1.4.4-6ubuntu2.3
Version table:
   *** 1.4.4-6ubuntu2.3 0
  500 http://gb.archive.ubuntu.com/ubuntu/ maverick-updates/main i386 
Packages
  500 http://security.ubuntu.com/ubuntu/ maverick-security/main i386 
Packages
  100 /var/lib/dpkg/status
   1.4.4-6ubuntu2 0
  500 http://gb.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: cups 1.4.4-6ubuntu2.3
  ProcVersionSignature: Ubuntu 2.6.35-28.50-generic-pae 2.6.35.11
  Uname: Linux 2.6.35-28-generic-pae i686
  NonfreeKernelModules: fglrx
  Architecture: i386
  Date: Sun Apr 17 16:21:23 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
  Lpstat:
   device for LBP3010: ccp://localhost:59687
   device for LBP3010-LBP3018-LBP3050: usb://Canon/LBP3010/LBP3018/LBP3050
  MachineType: System manufacturer System Product Name
  Papersize: a4
  PpdFiles:
   LBP3010: Canon LBP3010/LBP3018/LBP3050 CAPT (UK)
   LBP3010-LBP3018-LBP3050: Canon LBP3010/LBP3018/LBP3050 CAPT (UK)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.35-28-generic-pae 
root=UUID=4e67e412-cb5e-4858-85d6-12e78cd70ef3 ro quiet splash
  ProcEnviron:
   LANG=en_GB.utf8
   SHELL=/bin/bash
  SourcePackage: cups
  dmi.bios.date: 09/08/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1601
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: M4A88TD-V EVO/USB3
  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: 

[Touch-packages] [Bug 1086303] Re: Cups server can't listen - accept connections to 127.0.1.1 ( Bad request )

2015-11-23 Thread insaner
I was about to file this same bug. After a few days of research, I found
the following similar or related bug reports:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525910
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/763755
https://answers.launchpad.net/ubuntu/+source/cupsys/+question/7880
http://thismightbehelpful.blogspot.ca/2008/09/remote-access-to-cups-web-interface.html

Note, the issue begins in 1.4.x versions of cups, <=1.3 should work
fine, so a downgrade might be your desired course of action if that's a
possibility for you.

None of the solutions provided in those helped. In case you find this
via google, let me save you some time and enumerate them here:

-In cups.conf, add (or uncomment, or modify) a line at the end to read:
ServerAlias *

-In cups.conf, add (or uncomment, or modify) the entry for "" 
to:
Allow from all
or
Allow from [some ip here]

-In cups.conf, add a line that reads:
Listen 192.168.1.1:631
or
Listen *:631
(or whatever port you want to use instead of 631)

(with the IP you want to allow access to)


The problem shows up as lines similar to the following in your cups error_log 
file:

E [23/Nov/2015:15:35:28 -0500] Request from "localhost" using invalid
Host: field "cups_local_host:631"


The most relevant link was:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530027

which traces the problem to this patch:

https://bugzilla.redhat.com/attachment.cgi?id=335489
(direct link to msg: 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530027#56 )

Which was submitted to solve:

https://security-tracker.debian.org/tracker/CVE-2009-0164

So with that info, I downloaded the sources on my fedora (fc17) machine,
modified them, rebuilt the packages and installed, and everything works
now as (I) intended.

I have attached the patch I wrote which solves it for me,

WARNING: this might introduce some security issues (related to CVE-2009-0164), 
which I didn't delve too deeply to know whether they do or not. 
So, USE AT YOUR OWN RISK. 

Read this too: 
http://www.cups.org/str.php?L3183


When running the patched version, you still need to have the proper Listen and 
ServerAlias entries, of course.

** Bug watch added: Debian Bug tracker #525910
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=525910

** Bug watch added: Debian Bug tracker #530027
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530027

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2009-0164

** Patch added: "cups-patch-for-bad-request.diff"
   
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1086303/+attachment/4524379/+files/cups-patch-for-bad-request.diff

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

Title:
  Cups server can't listen - accept connections to 127.0.1.1  ( Bad
  request )

Status in cups package in Ubuntu:
  New

Bug description:
  As we know ubuntu binds the following

  127.0.0.1 localhost
  127.0.1.1 hostname

  We assume that my hostname  is afterburner

  Cups listens by default to localhost - 127.0.0.1  so if you try to
  access it using your hostname it fails so i proceed as follows

  In the cupsd.conf

  If i comment out the  " port 631 " and add

  Listen afterburner:631

  im getting bad request when trying to open http://afterburner:631

  The same is happening with the

  Listen 127.0.1.1:631

  All this happening when trying to access cups webpage form the pc that
  running the cups , if you try to access the cups server form a lan pc
  using the http://afterburner:631  it works even with the default
  config.

  So my question is  why using all the different configurations  im not
  able to access cups webpages from the same pc using the hostname ?

  http://afterburner:631

  I can only access cups from the same pc using

  http://127.0.0.1:631
  http://localhost:631

  when using the default cupsd.conf that listens to "port 631"

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: cups 1.6.1-0ubuntu11
  ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
  Uname: Linux 3.5.0-19-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 2.6.1-0ubuntu7
  Architecture: amd64
  Date: Tue Dec  4 11:19:58 2012
  InstallationDate: Installed on 2012-11-14 (19 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No 
destinations added.
  MachineType: System manufacturer System Product Name
  MarkForUpload: True
  Papersize: letter
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-19-generic 
root=UUID=c8a96c42-10b2-4661-9472-a89ba6ef74cb ro quiet splash vt.handoff=7
  SourcePackage: cups
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/30/2008
  dmi.bios.vendor: