Recent problem with man-db-update

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Recent problem with man-db-update

Paquet André Earl
Good afternoon,

                                   I have been a user of CYGWIN for many years.  I have a full (everything) installation (see article 2.12 of the FAQ).

                                   I update my installation every day (completely, see article 2.12), so this is the reason I know the problem I am reporting is very recent (a few days). This problem appeared on my two PCs. Also, just to make sure, I completely removed CYGWIN yesterday on one of the PCs and re-installed it from scratch : the problem still persists after that so this is clearly a new bug.

                                   If you want to know, both my PCs run version 20H2 of Windows Pro (the upgrade was made 3 weeks ago, so that is not the cause of the problem).

                                   The problem is the following : when I update Cygwin, it now blocks (after two or three hours of being blocked there, I just stop the procedure ...) at this stage :

                                           Running ...

                                           z/Perpetual

                                           /etc/postinstall/zp_man-db-update-index.dash

                                   The contents of the setup.log.runX...  is :

  ManDB index update starting...
  ... ManDB index update complete.
/etc/postinstall/zp_man-db-update-index.dash: 14: exec: 3: not found

                                  It is probably not related to my problem, but the contents of  mandb-index.log is not clean (this is the log after a fresh clean installation) :

Updating index cache for path `/usr/man/man1'. Wait...
Processing manual pages under /usr/man...
done.
Updating index cache for path `/usr/share/man/man0p'. Wait...
Checking for stray cats under /usr/man...
Checking for stray cats under /var/cache/man/fsstnd...
Purging old database entries in /usr/share/man...
Processing manual pages under /usr/share/man...
Updating index cache for path `/usr/share/man/man1'. Wait...
/usr/bin/mandb: warning: /usr/share/man/man1/ANNOUNCE-2.5.1.gz: whatis parse for ANNOUNCE-2.5(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/autoscan-2.69.1.gz: whatis parse for autoscan-2.69(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/cgi-fcgi.1.gz: whatis parse for cgi-fcgi(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/escp2topbm.1.gz: whatis parse for escp2topbm(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/faxformat.1.gz: whatis parse for faxformat(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/imv.1 is a dangling symlink
/usr/bin/mandb: warning: /usr/share/man/man1/inkscape.el.1.gz: whatis parse for inkscape.el(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/inkscape.sk.1.gz: whatis parse for inkscape.sk(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/man: ignoring bogus filename
/usr/bin/mandb: warning: /usr/share/man/man1/pamfixtrunc.1.gz: whatis parse for pamfixtrunc(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/pampaintspill.1.gz: whatis parse for pampaintspill(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/pnmflip.1.gz: whatis parse for pnmflip(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/pp.1.gz: whatis parse for pp(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/ppmtogif.1.gz: whatis parse for ppmtogif(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/qcp.1 is a dangling symlink
/usr/bin/mandb: warning: /usr/share/man/man1/qmv.1 is a dangling symlink
/usr/bin/mandb: warning: /usr/share/man/man1/stg.1: whatis parse for stg(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/xgraph.man.gz: ignoring bogus filename
/usr/bin/mandb: can't open /usr/share/man/man1/xmonui.1x: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man1/xmond.1.gz: bad symlink or ROFF `.so' request
Updating index cache for path `/usr/share/man/man1p'. Wait...
Updating index cache for path `/usr/share/man/man3'. Wait...
/usr/bin/mandb: can't open /usr/share/man/man3/lapacke_utils.h.3: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/ABS.3.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: warning: /usr/share/man/man3/Biber.Annotation.3pm.gz: whatis parse for Biber.Annotation(3pm) failed
/usr/bin/mandb: warning: /usr/share/man/man3/build.Wx.build.MakeMaker.Win32_MSVC.3pm.gz: whatis parse for build.Wx.build.MakeMaker.Win32_MSVC(3pm) failed
/usr/bin/mandb: warning: /usr/share/man/man3/build.Wx.XSP.Overload.3pm.gz: whatis parse for build.Wx.XSP.Overload(3pm) failed
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_create_canvas.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_free_canvas.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_get_canvas_attrs.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_get_canvas_chars.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_get_canvas_height.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_get_canvas_width.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_get_version.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_manage_canvas.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_set_canvas_size.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: can't open /usr/share/man/man3/libcaca.3caca: No such file or directory
/usr/bin/mandb: warning: /usr/share/man/man3/caca_unmanage_canvas.3caca.gz: bad symlink or ROFF `.so' request
/usr/bin/mandb: warning: /usr/share/man/man3/common.sense.3pm.gz: whatis parse for common.sense(3pm) failed
/usr/bin/mandb: warning: /usr/share/man/man3/FCGI_Accept.3.gz: whatis parse for FCGI_Accept(3) failed
/usr/bin/mandb: warning: /usr/share/man/man3/FCGI_Finish.3.gz: whatis parse for FCGI_Finish(3) failed
/usr/bin/mandb: warning: /usr/share/man/man3/FCGI_SetExitStatus.3.gz: whatis parse for FCGI_SetExitStatus(3) failed
/usr/bin/mandb: warning: /usr/share/man/man3/FCGI_StartFilterData.3.gz: whatis parse for FCGI_StartFilterData(3) failed

I hope someone can do something about that.

Yours truly,

André




________________________________
[https://secureimages.mcafee.com/common/affiliateImages/mfe/logo.png]<https://home.mcafee.com/utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>  Scanned by McAfee<https://home.mcafee.com/utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> and confirmed virus-free.
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Recent problem with man-db-update

Cygwin list mailing list
On 06.01.2021 23:23, Paquet André Earl wrote:
> Good afternoon,

>
>    ManDB index update starting...
>    ... ManDB index update complete.
> /etc/postinstall/zp_man-db-update-index.dash: 14: exec: 3: not found
>

I suspect the row 14

     exec 3&>-

was supposed to be

     exec 3>&-

to close the descriptor 3
https://tldp.org/LDP/abs/html/io-redirection.html


> I hope someone can do something about that.
>
> Yours truly,
>
> André


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Recent problem with man-db-update

Achim Gratz
In reply to this post by Paquet André Earl
Paquet André Earl writes:
> I have been a user of CYGWIN for many years.  I have a full
> (everything) installation (see article 2.12 of the FAQ).

You shouldn't, Cygwin is long past the point where it was useful to
install everything.  In this particular case it makes the man-db index
update mandatory and synchronous, which obviously you don't want.

> I update my installation every day (completely, see article 2.12), so
> this is the reason I know the problem I am reporting is very recent (a
> few days). This problem appeared on my two PCs. Also, just to make
> sure, I completely removed CYGWIN yesterday on one of the PCs and
> re-installed it from scratch : the problem still persists after that
> so this is clearly a new bug.

No, this is intended behaviour, in other words don't install
everything.  You can de-install the package man-db-index-synchronously
(in the system category) to not block setup.  To get rid of the man-db
index completely, de-install the package man-db-create-index and remove
the file /var/cache/man/index.db from your installation.

> The problem is the following : when I update Cygwin, it now blocks
> (after two or three hours of being blocked there, I just stop the
> procedure ...) at this stage :

That's another result of you installing way too many packages and their
associated man pages and perhaps a slow disk (a full index takes about
40 minutes on my system, installation is on an SSD; I have quite a large
installation but not nearly "everything").  If you let the indexer run
it'll eventually finish, but yes, it can take quite some time.

>   ManDB index update starting...
>   ... ManDB index update complete.

That indicates the indexer has actually finished.

> /etc/postinstall/zp_man-db-update-index.dash: 14: exec: 3: not found

That's a bug, but it shouldn't hang up setup. I'll fix it up later
today.

> It is probably not related to my problem, but the contents of
> mandb-index.log is not clean (this is the log after a fresh clean
> installation) :

That was always the case, it's just that this is now recorded again in
the log file.  There is no real problem associated with these, just some
man pages don't index cleanly.


Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptations for KORG EX-800 and Poly-800MkII V0.9:
http://Synth.Stromeko.net/Downloads.html#KorgSDada
--
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