public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
@ 2020-06-22  2:48 My Name
  2020-06-22  5:07 ` Marco Atzeri
  0 siblings, 1 reply; 8+ messages in thread
From: My Name @ 2020-06-22  2:48 UTC (permalink / raw)
  To: The Cygwin Mailing List

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

[image: CygwinSetup64ErrorMessage-000.png]

/var/log/setup:

===============================
...
2020/06/21 17:21:30 running: C:\cygwin64\bin\bash.exe --norc --noprofile
"/etc/postinstall/fontconfig_dtd.sh"
could not open /etc/xml/catalog for saving
add command failed
2020/06/21 17:21:30 abnormal exit: exit code=2
...
===============================

[-- Attachment #2: CygwinSetup64ErrorMessage-000.png --]
[-- Type: image/png, Size: 13722 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-22  2:48 Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it? My Name
@ 2020-06-22  5:07 ` Marco Atzeri
  2020-06-22  6:13   ` My Name
  0 siblings, 1 reply; 8+ messages in thread
From: Marco Atzeri @ 2020-06-22  5:07 UTC (permalink / raw)
  To: cygwin

On 22.06.2020 04:48, My Name via Cygwin wrote:
> [image: CygwinSetup64ErrorMessage-000.png]
> 
> /var/log/setup:
> 
> ===============================
> ...
> 2020/06/21 17:21:30 running: C:\cygwin64\bin\bash.exe --norc --noprofile
> "/etc/postinstall/fontconfig_dtd.sh"
> could not open /etc/xml/catalog for saving
> add command failed
> 2020/06/21 17:21:30 abnormal exit: exit code=2
> ...
> ===============================
> 

try

   mkdir /etc/xml/catalog
   /etc/postinstall/fontconfig_dtd.sh


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-22  5:07 ` Marco Atzeri
@ 2020-06-22  6:13   ` My Name
  2020-06-22  7:47     ` My Name
  2020-06-22 10:36     ` Henry S. Thompson
  0 siblings, 2 replies; 8+ messages in thread
From: My Name @ 2020-06-22  6:13 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: The Cygwin Mailing List

Thank you, but I find catalog already present, as a file rather than a
directory; so I'll hold off unless you say mkdir is really what I should do:

=================
$ cat /etc/xml/catalog
<?xml version="1.0"?>
<!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
V1.0//EN" "
http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
  <system systemId="fonts.dtd" uri="/usr/share/xml/fontconfig/fonts.dtd"/>
</catalog>

$
=================

On Sun, Jun 21, 2020 at 10:07 PM Marco Atzeri via Cygwin <cygwin@cygwin.com>
wrote:

> On 22.06.2020 04:48, My Name via Cygwin wrote:
> > [image: CygwinSetup64ErrorMessage-000.png]
> >
> > /var/log/setup:
> >
> > ===============================
> > ...
> > 2020/06/21 17:21:30 running: C:\cygwin64\bin\bash.exe --norc --noprofile
> > "/etc/postinstall/fontconfig_dtd.sh"
> > could not open /etc/xml/catalog for saving
> > add command failed
> > 2020/06/21 17:21:30 abnormal exit: exit code=2
> > ...
> > ===============================
> >
>
> try
>
>    mkdir /etc/xml/catalog
>    /etc/postinstall/fontconfig_dtd.sh
>
> --
> Problem reports:      https://cygwin.com/problems.html
> FAQ:                  https://cygwin.com/faq/
> Documentation:        https://cygwin.com/docs.html
> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-22  6:13   ` My Name
@ 2020-06-22  7:47     ` My Name
  2020-06-22 10:36     ` Henry S. Thompson
  1 sibling, 0 replies; 8+ messages in thread
From: My Name @ 2020-06-22  7:47 UTC (permalink / raw)
  To: Marco Atzeri; +Cc: The Cygwin Mailing List

BTW, Cygwin Setup 64 showed me that error message at the end of
installing this set of Cygwin packages: python27, bzr, emacs-w32, aspell,
aspell-en, octave.

On Sun, Jun 21, 2020 at 11:13 PM My Name <mname989@gmail.com> wrote:

> Thank you, but I find catalog already present, as a file rather than a
> directory; so I'll hold off unless you say mkdir is really what I should do:
>
> =================
> $ cat /etc/xml/catalog
> <?xml version="1.0"?>
> <!DOCTYPE catalog PUBLIC "-//OASIS//DTD Entity Resolution XML Catalog
> V1.0//EN" "
> http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
>   <system systemId="fonts.dtd" uri="/usr/share/xml/fontconfig/fonts.dtd"/>
> </catalog>
>
> $
> =================
>
> On Sun, Jun 21, 2020 at 10:07 PM Marco Atzeri via Cygwin <
> cygwin@cygwin.com> wrote:
>
>> On 22.06.2020 04:48, My Name via Cygwin wrote:
>> > [image: CygwinSetup64ErrorMessage-000.png]
>> >
>> > /var/log/setup:
>> >
>> > ===============================
>> > ...
>> > 2020/06/21 17:21:30 running: C:\cygwin64\bin\bash.exe --norc --noprofile
>> > "/etc/postinstall/fontconfig_dtd.sh"
>> > could not open /etc/xml/catalog for saving
>> > add command failed
>> > 2020/06/21 17:21:30 abnormal exit: exit code=2
>> > ...
>> > ===============================
>> >
>>
>> try
>>
>>    mkdir /etc/xml/catalog
>>    /etc/postinstall/fontconfig_dtd.sh
>>
>> --
>> Problem reports:      https://cygwin.com/problems.html
>> FAQ:                  https://cygwin.com/faq/
>> Documentation:        https://cygwin.com/docs.html
>> Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
>>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-22  6:13   ` My Name
  2020-06-22  7:47     ` My Name
@ 2020-06-22 10:36     ` Henry S. Thompson
  2020-06-23  9:01       ` Henry S. Thompson
  1 sibling, 1 reply; 8+ messages in thread
From: Henry S. Thompson @ 2020-06-22 10:36 UTC (permalink / raw)
  To: My Name; +Cc: Marco Atzeri, The Cygwin Mailing List

My Name via Cygwin writes:

> Thank you, but I find catalog already present, as a file rather than a
> directory; so I'll hold off unless you say mkdir is really what I should do:

No, the file is correct.  The following worked for me:

 > chmod a+x /etc/xml/catalog
 > /etc/postinstall/fontconfig_dtd.sh.done

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-22 10:36     ` Henry S. Thompson
@ 2020-06-23  9:01       ` Henry S. Thompson
  2020-06-23 13:07         ` My Name
  0 siblings, 1 reply; 8+ messages in thread
From: Henry S. Thompson @ 2020-06-23  9:01 UTC (permalink / raw)
  To: My Name; +Cc: The Cygwin Mailing List

Henry S. Thompson via Cygwin writes:

> My Name via Cygwin writes:
>
>> Thank you, but I find catalog already present, as a file rather than a
>> directory; so I'll hold off unless you say mkdir is really what I should do:
>
> No, the file is correct.  The following worked for me:
>
>  > chmod a+x /etc/xml/catalog
>  > /etc/postinstall/fontconfig_dtd.sh.done

Argh, apologies, typo above, should be

 > chmod a+w /etc/xml/catalog

ht
-- 
       Henry S. Thompson, School of Informatics, University of Edinburgh
      10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
                Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
                       URL: http://www.ltg.ed.ac.uk/~ht/
 [mail from me _always_ has a .sig like this -- mail without it is forged spam]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-23  9:01       ` Henry S. Thompson
@ 2020-06-23 13:07         ` My Name
  2020-06-23 13:54           ` My Name
  0 siblings, 1 reply; 8+ messages in thread
From: My Name @ 2020-06-23 13:07 UTC (permalink / raw)
  To: Henry S. Thompson; +Cc: The Cygwin Mailing List

I tried chmod a+w in the meantime and confirmed it works around the issue.
Thanks for suggesting it.

On Tue, Jun 23, 2020 at 2:01 AM Henry S. Thompson <ht@inf.ed.ac.uk> wrote:

> Henry S. Thompson via Cygwin writes:
>
> > My Name via Cygwin writes:
> >
> >> Thank you, but I find catalog already present, as a file rather than a
> >> directory; so I'll hold off unless you say mkdir is really what I
> should do:
> >
> > No, the file is correct.  The following worked for me:
> >
> >  > chmod a+x /etc/xml/catalog
> >  > /etc/postinstall/fontconfig_dtd.sh.done
>
> Argh, apologies, typo above, should be
>
>  > chmod a+w /etc/xml/catalog
>
> ht
> --
>        Henry S. Thompson, School of Informatics, University of Edinburgh
>       10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
>                 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
>                        URL: http://www.ltg.ed.ac.uk/~ht/
>  [mail from me _always_ has a .sig like this -- mail without it is forged
> spam]
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it?
  2020-06-23 13:07         ` My Name
@ 2020-06-23 13:54           ` My Name
  0 siblings, 0 replies; 8+ messages in thread
From: My Name @ 2020-06-23 13:54 UTC (permalink / raw)
  To: Henry S. Thompson; +Cc: The Cygwin Mailing List

P.S. Now I too need to correct my previous email to the list. What *really*
did, which worked around the issue for me, was the more conservative "chmod
u+w".

On Tue, Jun 23, 2020 at 6:07 AM My Name <mname989@gmail.com> wrote:

> I tried chmod a+w in the meantime and confirmed it works around the issue.
> Thanks for suggesting it.
>
> On Tue, Jun 23, 2020 at 2:01 AM Henry S. Thompson <ht@inf.ed.ac.uk> wrote:
>
>> Henry S. Thompson via Cygwin writes:
>>
>> > My Name via Cygwin writes:
>> >
>> >> Thank you, but I find catalog already present, as a file rather than a
>> >> directory; so I'll hold off unless you say mkdir is really what I
>> should do:
>> >
>> > No, the file is correct.  The following worked for me:
>> >
>> >  > chmod a+x /etc/xml/catalog
>> >  > /etc/postinstall/fontconfig_dtd.sh.done
>>
>> Argh, apologies, typo above, should be
>>
>>  > chmod a+w /etc/xml/catalog
>>
>> ht
>> --
>>        Henry S. Thompson, School of Informatics, University of Edinburgh
>>       10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
>>                 Fax: (44) 131 650-4587, e-mail: ht@inf.ed.ac.uk
>>                        URL: http://www.ltg.ed.ac.uk/~ht/
>>  [mail from me _always_ has a .sig like this -- mail without it is forged
>> spam]
>>
>> The University of Edinburgh is a charitable body, registered in
>> Scotland, with registration number SC005336.
>>
>>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-23 13:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22  2:48 Cygwin Setup says, "could not open /etc/xml/catalog for saving // add command failed". Am I safe to ignore it? My Name
2020-06-22  5:07 ` Marco Atzeri
2020-06-22  6:13   ` My Name
2020-06-22  7:47     ` My Name
2020-06-22 10:36     ` Henry S. Thompson
2020-06-23  9:01       ` Henry S. Thompson
2020-06-23 13:07         ` My Name
2020-06-23 13:54           ` My Name

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).