[Libreoffice-bugs] [Bug 108864] Debian-Repositories: W: Size of file is not what the server reported
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Jul 1 09:39:10 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=108864
--- Comment #3 from lool-bugreport at trash-mail.com ---
Hey, thanks for your replies. I think i found the issue causing this messages:
The mentioned page https://www.collaboraoffice.com/code/ is telling to use the
following repository:
> # add the repository URL to /etc/apt/sources.list
> echo 'deb https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./' >> /etc/apt/sources.list
However if we check a file mentioned in my initial message with curl we can see
the following:
curl -I
https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8/collaboraofficebasis5.3-draw_5.3.10.18-18_amd64.deb
HTTP/1.1 301 Moved Permanently
Date: Sat, 01 Jul 2017 09:33:14 GMT
Server: Apache/2.4.10 (Debian)
Strict-Transport-Security: max-age=15768000; includeSubdomains; preload
Location:
https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian8/collaboraofficebasis5.3-draw_5.3.10.18-18_amd64.deb
Content-Type: text/html; charset=iso-8859-1
So if we apply this knowledge and change:
https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./
to
https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 ./
we don't get that redirect anymore and apt-get is happy and doesn't throw those
messages anymore.
So to solve this issue here there are two options:
1. Update the https://www.collaboraoffice.com/code/ page with the correct links
starting with www
2. Don't redirect from
https://collaboraoffice.com/repos/CollaboraOnline/CODE-debian8 to
https://www.collaboraoffice.com/repos/CollaboraOnline/CODE-debian8
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170701/5d99a7d0/attachment.html>
More information about the Libreoffice-bugs
mailing list