Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed deb archive #1844

Open
alxhotel opened this issue Jul 20, 2020 · 3 comments
Open

Malformed deb archive #1844

alxhotel opened this issue Jul 20, 2020 · 3 comments

Comments

@alxhotel
Copy link
Member

alxhotel commented Jul 20, 2020

What version of WebTorrent Desktop are you using?
0.23.0, but this also affects 0.22.0 and 0.21.0

What operating system and version?
Ubuntu 16.04

What happened?
When installing the DEB file of Webtorrent Desktop I got this message:

bad-quality-linux

Lintian check results for /home/alex/Downloads/webtorrent-desktop_0.23.0_amd64.deb:
E: webtorrent-desktop: malformed-deb-archive newer compressed control.tar.xz
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/bin/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/bin/webtorrent-desktop 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid ... use --no-tag-display-limit to see all (or pipe to a file/program)

What did you expect to happen?
An installation without any warnings.

Are you willing to submit a pull request to fix this bug?

I think this is because the control.tar.xz file is compressed using xz instead of the usual gzip.

This warning happens even with the xz tool installed.

Btw, this is happening since version 0.21.0.

@hicom150
Copy link
Contributor

hicom150 commented Aug 6, 2020

It is strange although I have some lintian errors, there are different ones... 😅

When I execute this command,

lintian --no-tag-display-limit webtorrent-desktop_0.23.0_amd64.deb

I get the following result.

E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/WebTorrent
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: freetype
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: lcms2
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: libjpeg
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: libjsoncpp
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: libpng
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: openjpeg
E: webtorrent-desktop: embedded-library usr/lib/webtorrent-desktop/WebTorrent: srtp
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/chrome-sandbox
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/libEGL.so
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/libGLESv2.so
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/libffmpeg.so
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/libvk_swiftshader.so
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/libvulkan.so
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/swiftshader/libEGL.so
E: webtorrent-desktop: unstripped-binary-or-object usr/lib/webtorrent-desktop/swiftshader/libGLESv2.so
E: webtorrent-desktop: missing-dependency-on-libc needed by usr/lib/webtorrent-desktop/WebTorrent and 8 others
E: webtorrent-desktop: changelog-file-missing-in-native-package
E: webtorrent-desktop: description-synopsis-is-duplicated
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/bin/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/bin/webtorrent-desktop 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/LICENSES.chromium.html 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/WebTorrent 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/chrome-sandbox 501/20
W: webtorrent-desktop: setuid-binary usr/lib/webtorrent-desktop/chrome-sandbox 4755 feross/staff
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/chrome_100_percent.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/chrome_200_percent.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/icudtl.dat 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/libEGL.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/libGLESv2.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/libffmpeg.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/libvk_swiftshader.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/libvulkan.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/am.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ar.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/bg.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/bn.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ca.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/cs.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/da.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/de.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/el.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/en-GB.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/en-US.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/es-419.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/es.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/et.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/fa.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/fi.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/fil.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/fr.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/gu.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/he.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/hi.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/hr.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/hu.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/id.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/it.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ja.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/kn.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ko.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/lt.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/lv.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ml.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/mr.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ms.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/nb.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/nl.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/pl.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/pt-BR.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/pt-PT.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ro.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ru.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/sk.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/sl.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/sr.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/sv.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/sw.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/ta.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/te.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/th.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/tr.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/uk.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/vi.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/zh-CN.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/locales/zh-TW.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources.pak 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/WebTorrent.icns 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/WebTorrent.ico 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/WebTorrent.png 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/WebTorrentFile.icns 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/WebTorrentFile.ico 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/resources/app.asar.unpacked/static/WebTorrentFile.png 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/snapshot_blob.bin 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/swiftshader/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/swiftshader/libEGL.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/swiftshader/libGLESv2.so 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/v8_context_snapshot.bin 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/version 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/lib/webtorrent-desktop/vk_swiftshader_icd.json 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/applications/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/applications/webtorrent-desktop.desktop 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/doc/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/doc/webtorrent-desktop/ 501/20
E: webtorrent-desktop: bad-owner-for-doc-file usr/share/doc/webtorrent-desktop/ feross/staff != root/root
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/doc/webtorrent-desktop/copyright 501/20
E: webtorrent-desktop: bad-owner-for-doc-file usr/share/doc/webtorrent-desktop/copyright feross/staff != root/root
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/256x256/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/256x256/apps/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/256x256/apps/webtorrent-desktop.png 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/48x48/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/48x48/apps/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/icons/hicolor/48x48/apps/webtorrent-desktop.png 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/lintian/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/lintian/overrides/ 501/20
E: webtorrent-desktop: wrong-file-owner-uid-or-gid usr/share/lintian/overrides/webtorrent-desktop 501/20
W: webtorrent-desktop: binary-without-manpage usr/bin/webtorrent-desktop
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/libEGL.so 0755
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/libGLESv2.so 0755
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/libffmpeg.so 0755
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/libvk_swiftshader.so 0755
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/libvulkan.so 0755
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/swiftshader/libEGL.so 0755
E: webtorrent-desktop: shlib-with-executable-bit usr/lib/webtorrent-desktop/swiftshader/libGLESv2.so 0755

Definitely we should look how we can improve this 😉

@hicom150 hicom150 added this to the 0.24.0 milestone Aug 17, 2020
@hicom150
Copy link
Contributor

hicom150 commented Nov 6, 2020

Added #1887 to override lintian warnings 😉

@feross
Copy link
Member

feross commented Nov 9, 2020

I just merged #1887 to override the warnings. However, is there a better way to more directly solve the issues that lintian is warning about?

@feross feross modified the milestones: 0.24.0, 0.25.0 Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants