Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-07 Thread P V Mathew
Package: cups-client
Version: 2.2.6-2
Severity: normal

Dear Maintainer,


After update today, trying to print  postscript/pdf file resulted in the
error: 
lp:Unsupported document-format "application/octet-stream".

Same issue with pdf files also.

commands used:
lp -d  filename.ps
lp -d  filename.pdf 


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.13.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ml_IN.utf8, LC_CTYPE=ml_IN.utf8 (charmap=UTF-8), 
LANGUAGE=ml_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups-client depends on:
ii  adduser3.116
ii  cups-common2.2.6-2
ii  libc6  2.25-2
ii  libcups2   2.2.6-2
ii  libcupsimage2  2.2.6-2

cups-client recommends no packages.

Versions of packages cups-client suggests:
ii  cups   2.2.6-2
ii  cups-bsd   2.2.6-2
pn  smbclient  
ii  xpp1.5-cvs20081009-3

-- no debconf information



Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-08 Thread P V Mathew

Thanks for your prompt reply.
(1) The same error occurs for every printer chosen, even for PDF printer.
(2) Before update of Debian Buster yesterday every thing was ok.
(3) Firefox replies--Connection reset--- for localhost:631
(4) Tried removing and reinstalling cups in buster.
(5) Looks more like a Debian Buster problem as many other 
programs(icedove, file, man etc)

    are not working.
(6)as desired, output of lpstat -t is given below.
==
cups>lpstat -t
scheduler is running
system default destination: RA
device for ETD: socket://10.53.54.27
device for HP_deskjet_5100: hp:/usb/deskjet_5100?serial=MY37G3N13T8B
device for HP_LaserJet_Pro_M202dw: 
hp:/usb/HP_LaserJet_Pro_M202dw?serial=VNC3J23029
device for HP_LaserJet_Pro_M202dw_01FF68_: 
ipp://NPI01FF68.local:631/ipp/print

device for HP_PVM: socket://192.168.192.198
device for Kyocera_TASKalfa_3510i: socket://10.53.100.155
device for Kyocera_TASKalfa_3510i_71_: ipps://KM25E478.local:443/ipp/print
device for NehaMangal: socket://192.168.192.198
device for RA: socket://192.168.193.201
device for RitwikAnand: socket://192.168.192.201
device for SudhirBishnoi: 
hp:/net/HP_LaserJet_Professional_P1606dn?ip=10.53.40.5

ETD accepting requests since 2017-11-20T14:57:01 IST
HP_deskjet_5100 accepting requests since 2016-05-19T16:13:04 IST
HP_LaserJet_Pro_M202dw accepting requests since 2016-03-28T11:10:41 IST
HP_LaserJet_Pro_M202dw_01FF68_ accepting requests since 
2017-12-08T11:50:59 IST

HP_PVM accepting requests since 2017-03-17T09:13:21 IST
Kyocera_TASKalfa_3510i accepting requests since 2016-12-13T11:53:40 IST
Kyocera_TASKalfa_3510i_71_ accepting requests since 2017-12-08T11:50:59 IST
NehaMangal accepting requests since 2017-03-20T12:40:19 IST
RA accepting requests since 2017-12-06T17:00:12 IST
RitwikAnand accepting requests since 2017-05-15T11:14:20 IST
SudhirBishnoi accepting requests since 2016-12-16T14:30:51 IST
printer ETD is idle.  enabled since 2017-11-20T14:57:01 IST
printer HP_deskjet_5100 disabled since 2016-05-19T16:13:04 IST -
    Backend /usr/lib/cups/backend/hp does not exist!
printer HP_LaserJet_Pro_M202dw disabled since 2016-03-28T11:10:41 IST -
    File "/usr/lib/cups/filter/hpps" not available: No such file or 
directory
printer HP_LaserJet_Pro_M202dw_01FF68_ is idle.  enabled since 
2017-12-08T11:50:59 IST

printer HP_PVM is idle.  enabled since 2017-03-17T09:13:21 IST
printer Kyocera_TASKalfa_3510i is idle.  enabled since 
2016-12-13T11:53:40 IST
printer Kyocera_TASKalfa_3510i_71_ is idle.  enabled since 
2017-12-08T11:50:59 IST

printer NehaMangal is idle.  enabled since 2017-03-20T12:40:19 IST
printer RA is idle.  enabled since 2017-12-06T17:00:12 IST
printer RitwikAnand is idle.  enabled since 2017-05-15T11:14:20 IST
printer SudhirBishnoi disabled since 2016-12-16T14:30:51 IST -
    Backend /usr/lib/cups/backend/hp does not exist!
===

Thanks.
On 2017-12-07 18:17, Brian Potkin wrote:

tags 883765 moreinfo
thanks


Thank you for your report, P V Mathew,


On Thu 07 Dec 2017 at 15:59:35 +0530, P V Mathew wrote:


Package: cups-client
Version: 2.2.6-2
Severity: normal

Dear Maintainer,


After update today, trying to print  postscript/pdf file resulted in the
error:
lp:Unsupported document-format "application/octet-stream".

Same issue with pdf files also.

commands used:
lp -d  filename.ps
lp -d  filename.pdf

The printer make and model, please. Network or USB? See

https://wiki.debian.org/DissectingandDebuggingtheCUPSPrintingSystem

on how to get an error_log. Compress it before sending it here. Give the
output of 'lpstat -t'.

Regards,

Brian.





Bug#923304: texlive-pstricks: plain tex fails with Undefined control sequence on \scantokens after input of pstricks.

2019-02-25 Thread P V Mathew
Package: texlive-pstricks
Version: 2018.20190131-2
Severity: important

Dear Maintainer,

   * What led up to the situation?
Input of pstricks fails with plain tex.
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
Trying to compile plain tex file containing \input pstricks
fails.
   * What was the outcome of this action?
Undefined contorl sequence. First two lines which reads
! Undefined control sequence.
\pgfkeyssetevalue ...gfkeys@temptoks =\scantokens

   * What outcome did you expect instead?
   Expected a clean compile.

*** End of the template - remove these template lines ***


-- Package-specific info:
##
minimal input file
\input pstricks
\bye

##
other files

This is TeX, Version 3.14159265 (TeX Live 2019/dev/Debian) (preloaded 
format=tex)
(./test.tex (/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-tex.def
we are running tex and have to make it etex and latex compatible ...
) (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))
2014/12/03 v2.7a key=value parser (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvtxhdr.tex
2005/02/22 v1.1 xkeyval TeX header (HA
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t
ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t
ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
Loading pgffor.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
ric.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
e.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
thmetics.code.tex)))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
! Undefined control sequence.
\pgfkeyssetevalue ...gfkeys@temptoks =\scantokens 
  \expandafter {\expandafter...

\pgfkeys@ifcsname ...\fi \ifpgfkeys@csname@test #2
  \else #3\fi 
\pgfkeys@ifcsname ...gfkeys@csname@test #2\else #3
  \fi 
\pgfkeys@ifcsname ...gfkeys@csname@test #2\else #3
  \fi 
\pgfkeys@unpack ...pgfeov \else \pgfkeys@case@one 
  \fi \fi 
\pgfkeys@@normal ...pgfkeysnovalue =\pgfkeys@stop 
  \pgfkeys@parse 
...
l.1089 }

? The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

? OK, entering \batchmode
##
 List of ls-R files

-rw-rw-r-- 1 root staff 5226 Feb 21 09:26 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 1200 Feb 26 11:01 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Sep  2 18:02 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Jan 31 09:23 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jan 31 09:23 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
##
 Config files
-rw-r--r-- 1 root root 1101 Sep 11 11:29 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Jan 31 09:23 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIA

Bug#980030: vim-gtk3: gvim Could not load pixbuf defaults to vim with no gui

2021-01-12 Thread P V Mathew
Package: vim-gtk3
Version: 2:8.2.1913-1+b2
Severity: grave
Justification: renders package unusable

Dear Maintainer,

   After latest system update gvim does not load gui.It shows following
error messages.
* 
   (gvim:1792): Gtk-WARNING **: 12:28:53.889: Could not load a
pixbuf from /org/gtk/libgtk/icons/16x16/status/image-missing.png.
This may indicate that pixbuf loaders or the mime database could not be
found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon:
assertion failed (error == NULL): Failed to load
/org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image
file format (gdk-pixbuf-error-quark, 3)
Bail out!
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon:
assertion failed (error == NULL): Failed to load
/org/gtk/libgtk/icons/16x16/status/image-missing.png: Unrecognized image
file format (gdk-pixbuf-error-quark, 3)
Vim: Caught deadly signal ABRT
Vim: Finished.
E852: The child process failed to start the GUI
Press ENTER or type command to continue
*
   Tried update-mime-database /usr/share/mime and also
   /usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders 
--update-cache
   Also tried after removing .vimrc.
-- Package-specific info:

--- real paths of main Vim binaries ---
/usr/bin/vi is /usr/bin/vim.gtk3
/usr/bin/vim is /usr/bin/vim.gtk3
/usr/bin/gvim is /usr/bin/vim.gtk3

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/4 CPU threads)
Locale: LANG=ml_IN.UTF-8@pvm, LC_CTYPE=ml_IN.UTF-8@pvm (charmap=UTF-8), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages vim-gtk3 depends on:
ii  libacl1  2.2.53-9
ii  libc62.31-9
ii  libcairo21.16.0-5
ii  libcanberra0 0.30-7
ii  libgdk-pixbuf2.0-0   2.40.2-2
ii  libglib2.0-0 2.66.4-1
ii  libgpm2  1.20.7-6
ii  libgtk-3-0   3.24.24-1
ii  libice6  2:1.0.10-1
ii  liblua5.2-0  5.2.4-1.1+b3
ii  libpango-1.0-0   1.46.2-3
ii  libpangocairo-1.0-0  1.46.2-3
ii  libperl5.32  5.32.0-6
ii  libpython3.9 3.9.1-1
ii  libruby2.7   2.7.2-3
ii  libselinux1  3.1-2+b2
ii  libsm6   2:1.2.3-1
ii  libtcl8.68.6.11+dfsg-1
ii  libtinfo66.2+20201114-2
ii  libx11-6 2:1.6.12-1
ii  libxt6   1:1.2.0-1
ii  vim-common   2:8.2.1913-1
ii  vim-gui-common   2:8.2.1913-1
ii  vim-runtime  2:8.2.1913-1

vim-gtk3 recommends no packages.

Versions of packages vim-gtk3 suggests:
pn  cscope
ii  fonts-dejavu  2.37-2
ii  gnome-icon-theme  3.12.0-3
pn  vim-doc   

-- no debconf information



Bug#877682: texlive-pstricks: Undefined control sequence \@

2017-10-04 Thread P V Mathew
Package: texlive-pstricks
Version: 2017.20170926-1
Severity: important

Dear Maintainer,

Compiling file in plain tex format failed with the following output:

This is TeX, Version 3.14159265 (TeX Live 2017/Debian) (preloaded format=tex)
(./t.tex (/home/pvm/Documents/BIS/TeX/mymacros.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
we are running tex and have to define some LaTeX commands ...
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))
2014/12/03 v2.7a key=value parser (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvtxhdr.tex
2005/02/22 v1.1 xkeyval TeX header (HA
! Undefined control sequence.
l.135 \@
ifundefined{pgfutil@empty}{\input pgfutil-common.tex}{}

downgrading texlive-pstricks_2017.20170926-1_all.deb to
texlive-pstricks_2017.20170818-1_all.deb solves the issue. 

##
minimal input
\input pstricks

##
other files
NIL
##
 List of ls-R files

-rw-rw-r-- 1 root staff 4884 Dec  2  2015 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 1569 Oct  4 14:24 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Aug 17 11:08 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Sep 26 07:37 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Sep 26 07:37 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
##
 Config files
-rw-r--r-- 1 root root 1101 Aug 28 09:17 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Sep 26 07:37 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Sep 26 07:37 /usr/share/texmf/web2c/updmap.cfg -> 
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3321 Oct  4 13:44 
/var/lib/texmf/tex/generic/config/language.dat
##
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 Jun 27  2015 mktex.cnf
-rw-r--r-- 1 root root 1101 Aug 28 09:17 texmf.cnf
##
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.12.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=ml_IN.utf8, LC_CTYPE=ml_IN.utf8 (charmap=UTF-8), 
LANGUAGE=ml_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages texlive-pstricks depends on:
ii  tex-common 6.09
ii  texlive-base   2017.20170926-1
ii  texlive-binaries   2017.20170613.44572-6
ii  texlive-pictures   2017.20170926-1
ii  texlive-plain-generic  2017.20170926-1

Versions of packages texlive-pstricks recommends:
ii  ps2eps1.68+binaryfree-2
ii  texlive-extra-utils   2017.20170926-1
ii  texlive-font-utils2017.20170926-1
ii  texlive-pstricks-doc  2017.20170926-1

texlive-pstricks suggests no packages.

Versions of packages tex-common depends on:
ii  dpkg  1.18.24
ii  ucf   3.0036

Versions of packages tex-common suggests:
ii  debhelper  10.8

Versions of packages texlive-pstricks is related to:
ii  tex-common6.09
ii  texlive-binaries  2017.20170613.44572-6

-- no debconf information



Bug#899156: uswsusp: s2disk does not hibernate.

2020-02-10 Thread P V Mathew
Package: uswsusp
Version: 1.0+20120915-6.2
Followup-For: Bug #899156

Dear Maintainer,


The bug surfaced after upgrade from 5.3 to 5.4 kernels
Works fine if we use the 5.3 kernel at boot time.


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=ml_IN.utf8, LC_CTYPE=ml_IN.utf8 (charmap=UTF-8), 
LANGUAGE=ml_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]  1.5.73
ii  libblkid1  2.34-0.1
ii  libc6  2.29-10
ii  liblzo2-2  2.10-2
ii  libpci31:3.6.4-1
ii  libx86-1   1.1+ds1-11

Versions of packages uswsusp recommends:
ii  initramfs-tools  0.136
ii  mount2.34-0.1

uswsusp suggests no packages.

-- debconf information:
  uswsusp/shutdown_method: platform
  uswsusp/resume_device: /dev/disk/by-uuid/a225748f-3718-43df-aa2f-ce1ac4ad1d76
  uswsusp/compress: true
  uswsusp/continue_without_swap: true
  uswsusp/no_swap:
  uswsusp/compute_checksum: false
  uswsusp/create_RSA_key: false
  uswsusp/RSA_key_bits: 1024
  uswsusp/early_writeout: true
  uswsusp/no_snapshot:
  uswsusp/resume_offset:
  uswsusp/image_size: 2147483647
  uswsusp/suspend_loglevel:
  uswsusp/snapshot_device:
  uswsusp/encrypt: false
  uswsusp/RSA_key_file: /etc/uswsusp.key
  uswsusp/max_loglevel:



Bug#917996: texlive-pstricks: gs gives undefined in --execute-- when using color.tex with pstricks on plain tex.

2019-01-01 Thread P V Mathew
Package: texlive-pstricks
Version: 2018.20181214-1
Severity: normal

Dear Maintainer,


Inclusion of color.tex and calling \pscircle. plain tex compiled ok
with
  >tex test.tex 
and created test.dvi 
But running xdvi on generated test.dvi file results in gs error.
If we remove the \input color line, every thing works ok.



-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

   *** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##
minimal input file
/home/pvm/Documents/TeX/pstricks/test.tex

##
other files
/home/pvm/Documents/TeX/pstricks/test.log
/home/pvm/Documents/TeX/pstricks/test.dvi

##
 List of ls-R files

-rw-rw-r-- 1 root staff 4985 Apr 27  2018 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 1190 Jan  2 09:14 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Sep  2 18:02 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Dec 14 10:28 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Dec 14 10:28 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
##
 Config files
-rw-r--r-- 1 root root 1101 Sep 11 11:29 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Dec 14 10:28 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Dec 14 10:28 /usr/share/texmf/web2c/updmap.cfg -> 
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3342 Jan  2 09:14 
/var/lib/texmf/tex/generic/config/language.dat
##
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 Jun 27  2015 mktex.cnf
-rw-r--r-- 1 root root 1101 Sep 11 11:29 texmf.cnf
##
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=ml_IN.utf8, LC_CTYPE=ml_IN.utf8 (charmap=UTF-8), 
LANGUAGE=ml_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages texlive-pstricks depends on:
ii  tex-common 6.10
ii  texlive-base   2018.20181214-1
ii  texlive-binaries   2018.20181218.49446-1
ii  texlive-pictures   2018.20181214-1
ii  texlive-plain-generic  2018.20181214-1

Versions of packages texlive-pstricks recommends:
ii  ps2eps   1.68+binaryfree-2
ii  texlive-extra-utils  2018.20181214-1
ii  texlive-font-utils   2018.20181214-1

Versions of packages texlive-pstricks suggests:
ii  texlive-pstricks-doc  2018.20181214-1

Versions of packages tex-common depends on:
ii  dpkg  1.19.2
ii  ucf   3.0038+nmu1

Versions of packages tex-common suggests:
ii  debhelper  12

Versions of packages texlive-pstricks is related to:
ii  tex-common6.10
ii  texlive-binaries  2018.20181218.49446-1

-- no debconf information



Bug#917996: pstricks --- undefined in --execute-- when using color.tex in plain tex. --- files quoted.

2019-01-01 Thread P V Mathew

The files referenced in the bug report is attached herewith.

Regards

P V Mathew

\input pstricks
\input color
\pscircle{1.5}
\bye
This is TeX, Version 3.14159265 (TeX Live 2019/dev/Debian) (preloaded format=tex 2019.1.2)  2 JAN 2019 09:35
**test.tex
(./test.tex (/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.tex
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks-tex.def
\@unused=\write0

we are running tex and have to make it etex and latex compatible ...
\@unused=\write1
) (/usr/share/texlive/texmf-dist/tex/generic/xkeyval/pst-xkey.tex
2005/11/25 v1.6 PSTricks specialization of xkeyval (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkeyval.tex
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvutils.tex
\XKV@toks=\toks12
\XKV@tempa@toks=\toks13

(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/keyval.tex))
\XKV@depth=\count26

2014/12/03 v2.7a key=value parser (HA)
(/usr/share/texlive/texmf-dist/tex/generic/xkeyval/xkvtxhdr.tex
2005/02/22 v1.1 xkeyval TeX header (HA
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pst-fp.tex
`pst-fp' v0.05, 2010/01/17 (hv)
\pstFP@xs=\count61
\pstFP@xia=\count62
\pstFP@xib=\count63
\pstFP@xfa=\count64
\pstFP@xfb=\count65
\pstFP@rega=\count66
\pstFP@regb=\count67
\pstFP@regs=\count68
\pstFP@times=\count69
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex
\pgfutil@everybye=\toks14
\pgfutil@tempdima=\dimen16
\pgfutil@tempdimb=\dimen17

(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfutil-common-lists.t
ex)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeys.code.tex
\pgfkeys@pathtoks=\toks15
\pgfkeys@temptoks=\toks16

(/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgfkeysfiltered.code.t
ex
\pgfkeys@tmptoks=\toks17
)) (/usr/share/texlive/texmf-dist/tex/generic/pgf/utilities/pgffor.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmath.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathcalc.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathutil.code.tex
\pgf@x=\dimen18
\pgf@xa=\dimen19
\pgf@xb=\dimen20
\pgf@xc=\dimen21
\pgf@y=\dimen22
\pgf@ya=\dimen23
\pgf@yb=\dimen24
\pgf@yc=\dimen25
\c@pgf@counta=\count70
\c@pgf@countb=\count71
\c@pgf@countc=\count72
\c@pgf@countd=\count73
\pgfutil@tempcnta=\count74
\pgfutil@tempcntb=\count75
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathparser.code.tex
\pgfmath@dimen=\dimen26
\pgfmath@count=\count76
\pgfmath@box=\box16
\pgfmath@toks=\toks18
\pgfmath@stack@operand=\toks19
\pgfmath@stack@operation=\toks20
)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.code.tex
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.basic.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.trigonomet
ric.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.random.cod
e.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.comparison
.code.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.base.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.round.code
.tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.misc.code.
tex)
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfunctions.integerari
thmetics.code.tex)))
(/usr/share/texlive/texmf-dist/tex/generic/pgf/math/pgfmathfloat.code.tex
\c@pgfmathroundto@lastzeros=\count77
))
\pgffor@iter=\dimen27
\pgffor@skip=\dimen28
\pgffor@stack=\toks21
\pgffor@toks=\toks22
)
\psLoopIndex=\count78

`PSTricks' v2.88  <2018/12/13> (tvz,hv)
\pst@dima=\dimen29
\pst@dimb=\dimen30
\pst@dimc=\dimen31
\pst@dimd=\dimen32
\pst@dimg=\dimen33
\pst@dimh=\dimen34
\pst@dimm=\dimen35
\pst@dimn=\dimen36
\pst@dimo=\dimen37
\pst@dimp=\dimen38
\pst@hbox=\box17
\pst@ibox=\box18
\pst@boxg=\box19
\pst@cnta=\count79
\pst@cntb=\count80
\pst@cntc=\count81
\pst@cntd=\count82
\pst@cntg=\count83
\pst@cnth=\count84
\pst@cntm=\count85
\pst@cntn=\count86
\pst@cnto=\count87
\pst@cntp=\count88
\@zero=\count89
\pst@toks=\toks23
(/usr/share/texlive/texmf-dist/tex/generic/pstricks/pstricks.con)
\psunit=\dimen39
\psxunit=\dimen40
\psyunit=\dimen41
\pst@C@@rType=\count90
\pslinewidth=\dimen42
\psk@startLW=\dimen43
\psk@endLW=\dimen44
\pst@customdefs=\toks24
\pslinearc=\dimen45
\pst@symbolStep=\dimen46
\pst@symbolWidth=\dimen47
\pst@symbolLinewidth=\dimen48
\everypsbox=\toks25
\psframesep=\dimen49
\pslabelsep=\dimen50
\sh@wgridXunit=\dimen51
\sh@wgridYunit=\dimen52
\pst@shift=\dimen53
)
(/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/color.tex
(/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/miniltx.tex
\@tempcnta=\count91
\@tempcntb=\count92
\@tempdima=\dimen54
\@tempdimb=\dimen55
\@tempdimc=\dimen56
\@tempboxa=\box20
\@tempskipa=\skip18
\@tempskipb=\skip19
\@temptokena=\toks26
^^JDefining generic filename parser.^^J
\leftmarginv=\dimen57
\leftmarginvi=\dimen58
\@ovxx

Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-09 Thread P V Mathew

Sorry for the delay.
Unfortunately had to downgrade my desktop to Debian stretch. That is 
okay now.
The same errors occur on laptop(Debian Buster) also.  Hence, will send 
the details.

Tried lp -d PDF a.ps. The subject error is printed again.
The error_log remains empty.
The access_log remains empty.
The cups-pdf_log remains empty.
cupsd.conf is attached.
also output of dpkg --get-selections |grep cups is attached.

Regards
P V Mathew

On 2017-12-08 16:12, Brian Potkin wrote:

Do not forget to include the bug in any reply, P V. You sent the last
mail only to me.


On Fri 08 Dec 2017 at 12:07:43 +0530, P V Mathew wrote:


Thanks for your prompt reply.
(1) The same error occurs for every printer chosen, even for PDF printer.

An error_log is needed. Let us have have one for the  PDF printer and
we'll go from there.


(2) Before update of Debian Buster yesterday every thing was ok.
(3) Firefox replies--Connection reset--- for localhost:631
(4) Tried removing and reinstalling cups in buster.
(5) Looks more like a Debian Buster problem as many other programs(icedove,
file, man etc)
     are not workinag.

This looks like a problem with the upgrade rather than something
specific to the printing system.


(6)as desired, output of lpstat -t is given below.
==
cups>lpstat -t
scheduler is running
system default destination: RA
device for ETD: socket://10.53.54.27
device for HP_deskjet_5100: hp:/usb/deskjet_5100?serial=MY37G3N13T8B
device for HP_LaserJet_Pro_M202dw:
hp:/usb/HP_LaserJet_Pro_M202dw?serial=VNC3J23029
device for HP_LaserJet_Pro_M202dw_01FF68_:
ipp://NPI01FF68.local:631/ipp/print
device for HP_PVM: socket://192.168.192.198
device for Kyocera_TASKalfa_3510i: socket://10.53.100.155
device for Kyocera_TASKalfa_3510i_71_: ipps://KM25E478.local:443/ipp/print
device for NehaMangal: socket://192.168.192.198
device for RA: socket://192.168.193.201
device for RitwikAnand: socket://192.168.192.201
device for SudhirBishnoi:
hp:/net/HP_LaserJet_Professional_P1606dn?ip=10.53.40.5
ETD accepting requests since 2017-11-20T14:57:01 IST
HP_deskjet_5100 accepting requests since 2016-05-19T16:13:04 IST
HP_LaserJet_Pro_M202dw accepting requests since 2016-03-28T11:10:41 IST
HP_LaserJet_Pro_M202dw_01FF68_ accepting requests since 2017-12-08T11:50:59
IST
HP_PVM accepting requests since 2017-03-17T09:13:21 IST
Kyocera_TASKalfa_3510i accepting requests since 2016-12-13T11:53:40 IST
Kyocera_TASKalfa_3510i_71_ accepting requests since 2017-12-08T11:50:59 IST
NehaMangal accepting requests since 2017-03-20T12:40:19 IST
RA accepting requests since 2017-12-06T17:00:12 IST
RitwikAnand accepting requests since 2017-05-15T11:14:20 IST
SudhirBishnoi accepting requests since 2016-12-16T14:30:51 IST
printer ETD is idle.  enabled since 2017-11-20T14:57:01 IST
printer HP_deskjet_5100 disabled since 2016-05-19T16:13:04 IST -
     Backend /usr/lib/cups/backend/hp does not exist!

Is hplip installed?


printer HP_LaserJet_Pro_M202dw disabled since 2016-03-28T11:10:41 IST -
     File "/usr/lib/cups/filter/hpps" not available: No such file or
directory
printer HP_LaserJet_Pro_M202dw_01FF68_ is idle.  enabled since
2017-12-08T11:50:59 IST
printer HP_PVM is idle.  enabled since 2017-03-17T09:13:21 IST
printer Kyocera_TASKalfa_3510i is idle.  enabled since 2016-12-13T11:53:40
IST
printer Kyocera_TASKalfa_3510i_71_ is idle.  enabled since
2017-12-08T11:50:59 IST
printer NehaMangal is idle.  enabled since 2017-03-20T12:40:19 IST
printer RA is idle.  enabled since 2017-12-06T17:00:12 IST
printer RitwikAnand is idle.  enabled since 2017-05-15T11:14:20 IST
printer SudhirBishnoi disabled since 2016-12-16T14:30:51 IST -
     Backend /usr/lib/cups/backend/hp does not exist!
===

I can understand the HP printers not working if there is no hp backend,
but not any of the other printers. We really need error_logs.

Regards,

Brian.



cupsd.conf.tbz
Description: application/bzip-compressed-tar


Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-09 Thread P V Mathew

missing attachment in last mail
 output of dpkg --get-selections |grep cups is attached.

Regards
P V Mathew

On 2017-12-08 16:12, Brian Potkin wrote:

Do not forget to include the bug in any reply, P V. You sent the last
mail only to me.


On Fri 08 Dec 2017 at 12:07:43 +0530, P V Mathew wrote:


Thanks for your prompt reply.
(1) The same error occurs for every printer chosen, even for PDF printer.

An error_log is needed. Let us have have one for the  PDF printer and
we'll go from there.


(2) Before update of Debian Buster yesterday every thing was ok.
(3) Firefox replies--Connection reset--- for localhost:631
(4) Tried removing and reinstalling cups in buster.
(5) Looks more like a Debian Buster problem as many other programs(icedove,
file, man etc)
     are not workinag.

This looks like a problem with the upgrade rather than something
specific to the printing system.


(6)as desired, output of lpstat -t is given below.
==
cups>lpstat -t
scheduler is running
system default destination: RA
device for ETD: socket://10.53.54.27
device for HP_deskjet_5100: hp:/usb/deskjet_5100?serial=MY37G3N13T8B
device for HP_LaserJet_Pro_M202dw:
hp:/usb/HP_LaserJet_Pro_M202dw?serial=VNC3J23029
device for HP_LaserJet_Pro_M202dw_01FF68_:
ipp://NPI01FF68.local:631/ipp/print
device for HP_PVM: socket://192.168.192.198
device for Kyocera_TASKalfa_3510i: socket://10.53.100.155
device for Kyocera_TASKalfa_3510i_71_: ipps://KM25E478.local:443/ipp/print
device for NehaMangal: socket://192.168.192.198
device for RA: socket://192.168.193.201
device for RitwikAnand: socket://192.168.192.201
device for SudhirBishnoi:
hp:/net/HP_LaserJet_Professional_P1606dn?ip=10.53.40.5
ETD accepting requests since 2017-11-20T14:57:01 IST
HP_deskjet_5100 accepting requests since 2016-05-19T16:13:04 IST
HP_LaserJet_Pro_M202dw accepting requests since 2016-03-28T11:10:41 IST
HP_LaserJet_Pro_M202dw_01FF68_ accepting requests since 2017-12-08T11:50:59
IST
HP_PVM accepting requests since 2017-03-17T09:13:21 IST
Kyocera_TASKalfa_3510i accepting requests since 2016-12-13T11:53:40 IST
Kyocera_TASKalfa_3510i_71_ accepting requests since 2017-12-08T11:50:59 IST
NehaMangal accepting requests since 2017-03-20T12:40:19 IST
RA accepting requests since 2017-12-06T17:00:12 IST
RitwikAnand accepting requests since 2017-05-15T11:14:20 IST
SudhirBishnoi accepting requests since 2016-12-16T14:30:51 IST
printer ETD is idle.  enabled since 2017-11-20T14:57:01 IST
printer HP_deskjet_5100 disabled since 2016-05-19T16:13:04 IST -
     Backend /usr/lib/cups/backend/hp does not exist!

Is hplip installed?


printer HP_LaserJet_Pro_M202dw disabled since 2016-03-28T11:10:41 IST -
     File "/usr/lib/cups/filter/hpps" not available: No such file or
directory
printer HP_LaserJet_Pro_M202dw_01FF68_ is idle.  enabled since
2017-12-08T11:50:59 IST
printer HP_PVM is idle.  enabled since 2017-03-17T09:13:21 IST
printer Kyocera_TASKalfa_3510i is idle.  enabled since 2016-12-13T11:53:40
IST
printer Kyocera_TASKalfa_3510i_71_ is idle.  enabled since
2017-12-08T11:50:59 IST
printer NehaMangal is idle.  enabled since 2017-03-20T12:40:19 IST
printer RA is idle.  enabled since 2017-12-06T17:00:12 IST
printer RitwikAnand is idle.  enabled since 2017-05-15T11:14:20 IST
printer SudhirBishnoi disabled since 2016-12-16T14:30:51 IST -
     Backend /usr/lib/cups/backend/hp does not exist!
===

I can understand the HP printers not working if there is no hp backend,
but not any of the other printers. We really need error_logs.

Regards,

Brian.





InstalledPackages.tbz
Description: application/bzip-compressed-tar


Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-10 Thread P V Mathew

thanks.

On 2017-12-10 01:34, Brian Potkin wrote:

tags 883765 unreproducible
thanks.


On Sat 09 Dec 2017 at 20:06:28 +0530, P V Mathew wrote:


Sorry for the delay.
Unfortunately had to downgrade my desktop to Debian stretch. That is okay
now.

At least you are printing now.

Yes, from stretch.

The same errors occur on laptop(Debian Buster) also.  Hence, will send the
details.
Tried lp -d PDF a.ps. The subject error is printed again.

I am unable to reproduce this behaviour with printer-driver-cups-pdf.


The error_log remains empty.

Or this. Please try (as root)

  cupsfilter -p /etc/cups/PDF.ppd -m printer/foo -e /etc/services > 2>log > 
out.ps

log attached


Post log here.


The access_log remains empty.
The cups-pdf_log remains empty.
cupsd.conf is attached.

Your cupsd.conf worked for me.


also output of dpkg --get-selections |grep cups is attached.

Seems ok.

Do you have apparmor running?

Installed but not running.

regards

Mathew



log.bz2
Description: application/bzip


Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-10 Thread P V Mathew


On 2017-12-10 18:41, Brian Potkin wrote:

On Sun 10 Dec 2017 at 15:04:12 +0530, P V Mathew wrote:


thanks.

On 2017-12-10 01:34, Brian Potkin wrote:

tags 883765 unreproducible
thanks.


On Sat 09 Dec 2017 at 20:06:28 +0530, P V Mathew wrote:


Sorry for the delay.
Unfortunately had to downgrade my desktop to Debian stretch. That is okay
now.

At least you are printing now.

Yes, from stretch.

We will try to improve on that.


The same errors occur on laptop(Debian Buster) also.  Hence, will send the
details.
Tried lp -d PDF a.ps. The subject error is printed again.

I am unable to reproduce this behaviour with printer-driver-cups-pdf.


The error_log remains empty.

Or this. Please try (as root)

   cupsfilter -p /etc/cups/PDF.ppd -m printer/foo -e /etc/services > 2>log > 
out.ps

log attached

Post log here.


The access_log remains empty.
The cups-pdf_log remains empty.
cupsd.conf is attached.

Your cupsd.conf worked for me.


also output of dpkg --get-selections |grep cups is attached.

Seems ok.

Do you have apparmor running?

Installed but not running.

No problem there, then.

Part of your log has

  DEBUG: envp[1]="CONTENT_TYPE=text/plain"

CUPS has identified the job as being a text file. All the filters
complete successfully and the output is a PostScript file. All is
well with the cupsfilters command - but now I am mystified.

cupsfilter does the same as CUPS except the final file is not sent
to a printer. 'lp -d  filename.ps' gives

  Unsupported document-format "application/octet-stream"
and this is an indication of CUPS being unable to MIME type the
submitted file. But it has MIME typed it with cupsfilter!

I can reproduce your observation of the error message by moving
mime.types out of /usr/share/cups/mime, but then cupsfilter fails
to run to completion. I cannot reproduce the empty error_log you
get; mine records the error. That's using my cupsd.conf.

I take a further look at the issue later today. Meanwhile you could
check that the files in /usr/share/cups/mime are what is in the
cups-core-drivers and cups-daemon packages.

Have checked files in /usr/share/cups/mime.
Other than cups-core-drivers and cups-daemon packages
there are some more files in the directory.
attaching listing of the directory.  Only issue is that some
.convs(cupsfilters-ghostscript, cupsfilters-mupdf, cupsfilters-poppler)
files do not have have the corresponding .types
files and command.types does not have any corresponding
command.convs.

Also the issue of connection getting reset on trying
http://localhost:631 stil remains. This will mean that
I will not be able to do any printer administration.

Regards
Mathew


mimeFiles.bz2
Description: application/bzip


Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-10 Thread P V Mathew

On 2017-12-10 22:05, Brian Potkin wrote:

On Sun 10 Dec 2017 at 19:33:58 +0530, P V Mathew wrote:


On 2017-12-10 18:41, Brian Potkin wrote:

Part of your log has

   DEBUG: envp[1]="CONTENT_TYPE=text/plain"

CUPS has identified the job as being a text file. All the filters
complete successfully and the output is a PostScript file. All is
well with the cupsfilters command - but now I am mystified.

cupsfilter does the same as CUPS except the final file is not sent
to a printer. 'lp -d  filename.ps' gives

   Unsupported document-format "application/octet-stream"
and this is an indication of CUPS being unable to MIME type the
submitted file. But it has MIME typed it with cupsfilter!

I can reproduce your observation of the error message by moving
mime.types out of /usr/share/cups/mime, but then cupsfilter fails
to run to completion. I cannot reproduce the empty error_log you
get; mine records the error. That's using my cupsd.conf.

I take a further look at the issue later today. Meanwhile you could
check that the files in /usr/share/cups/mime are what is in the
cups-core-drivers and cups-daemon packages.

Have checked files in /usr/share/cups/mime.
Other than cups-core-drivers and cups-daemon packages
there are some more files in the directory.
attaching listing of the directory.  Only issue is that some
.convs(cupsfilters-ghostscript, cupsfilters-mupdf, cupsfilters-poppler)
files do not have have the corresponding .types
files and command.types does not have any corresponding
command.convs.

Nothing to worry about there; I have the same.
  

Also the issue of connection getting reset on trying
http://localhost:631 stil remains. This will mean that
I will not be able to do any printer administration.

Has this been mentioned before? There are command line utilities to do
printer administration.

Yes. Briefly in one of my mails.

What do you get with

lp -d PDF -o document-format=text/plain /etc/nsswitch ?

Printing? Error message?

>lp -d PDF -o document-format=text/plain /etc/nsswitch.conf
lp: Unsupported document-format "text/plain".

No error logs. Logging seems to have stopped after  last update of Debian.
Not even access log.

Regards
Mathew



Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-10 Thread P V Mathew


Thanks for all the help.

Just uninstalled AppArmor and
rebooted the system.

Everything fine now.

Even localhost:631 is fine.

Sorry once again for the trouble.

Regards and Best Wishes
Mathew



Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-11 Thread P V Mathew

as requested have reinstalled apparmor

The following programs are not working

man(from command line) but man2html ok

icedove - (double free error} ---bizarre? Using standalone download of 
thunderbird for this mail.


cups started on reboot but by the time logged in, it had stopped.

cups was restarted and command

lp -d PDF a.ps was used

the subject error returned.

but eventually cups stopped again.

dmesg showed some sort of infinite loop?

Oops. realize now, may be about 2-3 years ago when my var partition got 
full,


had moved the var/log on to /home/ and sym-linked to it in var. May be

this is not consistent with apparmor(not sure?).

any way,  pieces of dmesg|grep cups attached.  Not possible to attach full

file as similar lines keeps repeating.

Please let me know if any more input is required.

Regards

Mathew




bb.bz2
Description: application/bzip


a.bz2
Description: application/bzip


Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-12 Thread P V Mathew

On 2017-12-12 13:41, intrigeri wrote:

Control: tag -1 + moreinfo
Control: retitle -1 Printing is broken with AppArmor enabled if /var/log is a 
symlink to some other place

Hi,

Thanks Mathew for testing again, and Brian for adding me in the loop!
I'm Cc'ing the AppArmor team so the resolution of this problem does
not depend solely on myself :)

P V Mathew:

as requested have reinstalled apparmor
The following programs are not working
man(from command line) but man2html ok

Interesting, I don't have this problem. I notice that AppArmor
confinement was added in man-db (2.7.6.1-3), and then updated in
man-db (2.7.6.1-4). This is off-topic here so could you please report
a bug against man-db about this, including the corresponding AppArmor
denial logs? Feel free to X-Debbugs-Cc pkg-apparmor-team@.
In the meantime you can "sudo aa-disable /usr/bin/man".


cups started on reboot but by the time logged in, it had stopped.
[...]
Oops. realize now, may be about 2-3 years ago when my var partition got full,
had moved the var/log on to /home/ and sym-linked to it in var. May be
this is not consistent with apparmor(not sure?).

Right, this can cause lots of problems with AppArmor, and not only for
cupsd so I'm not going to suggest solutions that would address your
problem for cupsd only but leave other bits of your system broken.

I recommend you either:

A. bind-mount /home/log on /var/log instead of using a symlink

Thanks.
Works.
After changing all symlinks in similar way all the
reported issues(cups, man,icedove) resolved.
Regards.


B. use an AppArmor alias

# echo '/var/log/ -> /home/log/' >> /etc/apparmor.d/tunables/alias
# systemctl restart apparmor

Works?

If this works, then I suggest the cups maintainers close this bug or
tag it wontfix: with a path-based LSM like AppArmor, there's no
general solution to problems caused by such uncommon customization
applied locally by sysadmins, other than education and documentation
about AppArmor so they're able to adjust their AppArmor
configuration accordingly.

Regards,




Bug#883765: cups-client: Unsupported document-format "application/octet-stream".

2017-12-13 Thread P V Mathew

On 2017-12-12 05:24, Brian Potkin wrote:

On Mon 11 Dec 2017 at 20:02:42 +, Brian Potkin wrote:


On Mon 11 Dec 2017 at 22:28:15 +0530, P V Mathew wrote:


dmesg showed some sort of infinite loop?

Oops. realize now, may be about 2-3 years ago when my var partition got
full,

had moved the var/log on to /home/ and sym-linked to it in var. May be

this is not consistent with apparmor(not sure?).

When I do that I can still print but the error_log is not written to
because cupsd cannot change the permissions on /var/log/cups (as shown
by systemctl status cups after restarting cups).

I reckon the location of /var/log and the permissions on it is the
cause of your getting an empty error_log and has nothing to do with
the subject of your report. It would occur whether or not apparmor
is installed. You can check this.

Sorry once again. Even /usr/share was as symlink.

This symlinking business happened over a period of
15 years. Each time one partition gets full I had the habit
of symlinking it to some place where space is available
rather than resizing partitions etc. When I change my
hardware, I always clone the existing system. So the
symlinks continued...

After following integri solution of mount bind for every
symlink, all is right and working fine.




any way,  pieces of dmesg|grep cups attached.  Not possible to attach full

file as similar lines keeps repeating.

Please let me know if any more input is required.

Thanks, Mathew.

 From bb.bbz2:

[ 2121.775238] audit: type=1400 audit(1513009058.480:17316): apparmor="DENIED" \
operation="chown" profile="/usr/sbin/cupsd" 
name="/home/log/cups/" \
pid=5896 comm="cupsd" requested_mask="w" denied_mask="w" 
fsuid=0 ouid=0

[ 2121.775251] audit: type=1400 audit(1513009058.480:17317): apparmor="DENIED" \
operation="capable" profile="/usr/sbin/cupsd" pid=5896 
comm="cupsd" \
capability=12  capname="net_admin"

apparmor is new to buster and I am new to apparmor; but this looks like
cupsd has been refused write permission.

intrigeri is our lifeline for things apparmor, so I have cc'ed him (her?)
for advice.

I missed this in bb.bz2:

  [ 2153.319653] cupsd[5896]: segfault at c ip 7f36a1f13f46 sp 
7ffc5bb5ba28 error 4 in libc-2.25.so[7f36a1e92000199000]

You did say cupsd crashed?

Yes. Even this issue seems to have resolved.

I am out of my depth with this sort of thing but came across

  https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1706052

Please read and carry out the instructions in message #38 there. You
don't need sudo. How do you go on?

Did not have to do this.
I Do not use sudo(some how not my preference.), use ssh instead.

Cheers,

Brian.


Thanks for all the help.

May I remove apparmor now. Have no need for it. All this arose

because Debian had introduced it as default.   But I am happy to

have a learned a few things in between.

Regards and thanks once again for all your help.

Mathew



Bug#933871: texlive-pictures: etex and pdftex would not compile if tikz.tex is input - undefined control sequence

2019-08-04 Thread P V Mathew
Package: texlive-pictures
Version: 2019.20190710-1
Severity: normal

Dear Maintainer,


   * What led up to the situation?
Compiling the minimal tex file given below in the minimal input file
section with etex results in "
! Undefined control sequence.
\pgf@setup@shading@model ...delgrayfalse \XC@sdef 
  \pgf@mod@test
{\XC@tgt@mod..."
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
The file does not compile.
   * What outcome did you expect instead?
Clean compilation.



-- Package-specific info:
IMPORTANT INFORMATION: We will only consider bug reports concerning
the packaging of TeX Live as relevant. If you have problems with
combination of packages in a LaTeX document, please consult your
local TeX User Group, the comp.text.tex user group, the author of
the original .sty file, or any other help resource. 

In particular, bugs that are related to up-upstream, i.e., neither
Debian nor TeX Live (upstream), but the original package authors,
will be closed immediately.

   *** The Debian TeX Team is *not* a LaTeX Help Desk ***

If you report an error when running one of the TeX-related binaries 
(latex, pdftex, metafont,...), or if the bug is related to bad or wrong
output, please include a MINIMAL example input file that produces the
error in your report.

Please run your example with
(pdf)latex -recorder ...
(or any other program that supports -recorder) and send us the generated
file with the extension .fls, it lists all the files loaded during
the run and can easily explain problems induced by outdated files in
your home directory.

Don't forget to also include minimal examples of other files that are 
needed, e.g. bibtex databases. Often it also helps
to include the logfile. Please, never send included pictures!

If your example file isn't short or produces more than one page of
output (except when multiple pages are needed to show the problem),
you can probably minimize it further. Instructions on how to do that
can be found at

http://www.minimalbeispiel.de/mini-en.html (english)

or 

http://www.minimalbeispiel.de/mini.html (german)

##
minimal input file
\input tikz.tex
\bye

##
other files

##
 List of ls-R files

-rw-rw-r-- 1 root staff 5754 Apr 10 21:42 /usr/local/share/texmf/ls-R
-rw-r--r-- 1 root root 1549 Jul 22 21:39 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 Feb 28 19:58 /usr/share/texmf/ls-R -> 
/var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 31 Jul 10 06:39 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
lrwxrwxrwx 1 root root 31 Jul 10 06:39 /usr/share/texlive/texmf-dist/ls-R -> 
/var/lib/texmf/ls-R-TEXLIVEDIST
##
 Config files
-rw-r--r-- 1 root root 1464 Jun  5 08:43 /etc/texmf/web2c/texmf.cnf
lrwxrwxrwx 1 root root 33 Jul 10 06:39 /usr/share/texmf/web2c/fmtutil.cnf -> 
/var/lib/texmf/fmtutil.cnf-DEBIAN
lrwxrwxrwx 1 root root 32 Jul 10 06:39 /usr/share/texmf/web2c/updmap.cfg -> 
/var/lib/texmf/updmap.cfg-DEBIAN
-rw-r--r-- 1 root root 3547 Jul 22 21:38 
/var/lib/texmf/tex/generic/config/language.dat
##
 Files in /etc/texmf/web2c/
total 8
-rw-r--r-- 1 root root  283 Jun 20  2007 mktex.cnf
-rw-r--r-- 1 root root 1464 Jun  5 08:43 texmf.cnf
##
 md5sums of texmf.d
ca40c66f144b4bafc3e59a2dd32ecb9c  /etc/texmf/texmf.d/00debian.cnf
055e06548bac99958d8ab2dd1248f2b4  /etc/texmf/texmf.d/80tex4ht.cnf
1df66bc319cec731e202eaf39f5d85e1  /etc/texmf/texmf.d/96JadeTeX.cnf

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=ml_IN.utf8, LC_CTYPE=ml_IN.utf8 (charmap=UTF-8), 
LANGUAGE=ml_IN.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages texlive-pictures depends on:
ii  python 2.7.16-1
ii  tex-common 6.11
ii  texlive-base   2019.20190710-1
ii  texlive-binaries   2019.20190605.51237-2
ii  texlive-latex-recommended  2019.20190710-1

Versions of packages texlive-pictures recommends:
ii  ruby  1:2.5.1
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.484-1
ii  ruby2.0 [ruby-interpreter]2.0.0.484+really457-3
ii  ruby2.1 [ruby-interpreter]2.1.5-4
ii  ruby2.2 [ruby-interpreter]2.2.4-1
ii  tk8.6.9+1

Versions of packages texlive-pictures suggests:
pn  dot2tex 
ii  prerex  6.5.4-1
pn  ruby-tcltk | libtcltk-ruby  
hc  texlive-latex-extra 2018.20181116-1
ii  texlive-pictures-doc2019.20190710-1
ii  vprerex 1:6.5.1-1

Versions of packag