Ask Your Question

.man file format

asked 2017-01-29 15:51:26 +0100

shadan gravatar image

updated 2020-09-22 09:27:41 +0100

Alex Kemp gravatar image

i am using libre office ion windows 10. i am receiveing update notification popup. but the update is in .man file format. so could not able to install it. please suggeest any ways to install .man file in windows OS. thank you

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2017-01-29 22:17:41 +0100

m.a.riosv gravatar image

Please take a look to this bug report.

edit flag offensive delete link more

answered 2020-09-23 00:53:45 +0100

Alex Kemp gravatar image

updated 2020-09-23 20:31:58 +0100

C:\fakepath\urls_7.0.1.csv (rename as CSV)
C:\fakepath\urls_6.4.6.csv (rename as CSV)

I fell prey to old prejudices with this issue, and they misled me. But, if we learn from the past then we can improve for the future.

The problem:

Someone using Microsoft Internet Explorer (MSIE) and/or Edge would click on a LO .MSI file to download it, but would get a .MAN file downloaded instead (both files actually in lower-case). They would try but, of course, Windows would refuse to run it to install LibreOffice.

If the file was renamed from ".man" to ".msi" it would then operate as normal, but there is no reason to expect an ordinary user to know that. Naturally I blamed MSIE/Edge as being useless, but it was not their fault. As #bug-53241 makes clear, the problem was with the metadata for the file on some servers - it is wrong. If you look at Comment-9 from Mike Kaganski:

most mirrors report:

  • Content-Type: application/octet-stream, or
  • Content-Type: application/x-msdownload, or
  • Content-Type: application/x-msi.

A file with any of those Content-Types above will download fine. However, (some other) mirrors reported other (wrong) types, and would give the reported problem.

Is it fixed now?

There was only one way to know; I downloaded the mirror-lists for both LO-6.4.6 & LO-7.0.1, made CSV files of all the urls, and then used curl to obtain the metadata for each download & made CSVs of that. Then imported both files into a Calc spreadsheet. They are available at the top of this reply (cheatsheet: all servers are good)

image description

Saving to: ‘LibreOffice_6.4.6_Win_x64.msi.mirrorlist’

fgrep '.msi"' LibreOffice_6.4.6_Win_x64.msi.mirrorlist | sed -n '/href="http/p' | sed 's/^.*href="\([^"]*\)".*$/\1/' - >> urls_6.4.6.csv

urls() { cat urls_6.4.6.csv; }; for url in $(urls); do \
  mirror=$(echo $url | sed -n 's|^.*//\([^/]*\).*$|\1|p'); \
  old_IFS=$IFS; IFS=$'\n'; results() { curl -ILs $url; }; for result in $( results ); do \
    if echo $result | fgrep -qs 'HTTP/'; then status=$(echo $result | sed -n 's/^[^ ]* \(.*\)$/\1/p'); fi;
    if echo $result | fgrep -qs 'Content-Type:'; then ct=$(echo $result | sed -n 's/^Content-Type: \(.*\)$/\1/p'); fi; \
  done; IFS=${old_IFS}; \
  one="$(echo -e "${mirror}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"; \
  two="$(echo -e "${status}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"; \
  three="$(echo -e "${ct}" | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')"; \
  echo "$one \"$two\" $three" | tee -a LibreOffice_6.4.6_Win_x64.msi.csv; \

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-01-29 15:51:26 +0100

Seen: 497 times

Last updated: Sep 23 '20