Bug 473374

Summary: Some packages are not installable due to issues with application/gzip association
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: ruanformigoni
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: REPORTED ---    
Severity: major CC: alexander.lohnau, kdelibs-bugs-null, nate, ruanformigoni
Priority: NOR    
Version First Reported In: 5.108.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ruanformigoni 2023-08-14 15:38:08 UTC
SUMMARY

The issue happens when the user tries to install a user-contributed package in the application/gzip format.

STEPS TO REPRODUCE
1. Try to download a new login screen or global theme
2. If the extension is .tar.gz the decompression fails with the message:
```
Installation of /tmp/kyjVyQ-BeautifulTreeAnimation.tar.gz failed: Could not open package file, unsupported archive format: /tmp/kyjVyQ-BeautifulTreeAnimation.tar.gz application/gzip
```

Here is a screenshot: https://invent.kde.org/plasma/systemsettings/uploads/eed9750d9cab0bf8aac74f9feb913c70/Screenshot_20230807_045742.png

SOFTWARE/OS VERSIONS
Linux: 6.4.8-zen1-1-zen (64-bit) (Wayland)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10