Bug 429099 - Properly handle virtual packages, since in ubuntu 20.10 libgcc1 became virtual thus qapt can't a lot of packages
Summary: Properly handle virtual packages, since in ubuntu 20.10 libgcc1 became virtua...
Status: RESOLVED DUPLICATE of bug 354477
Alias: None
Product: libqapt
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-14 15:34 UTC by qazerr
Modified: 2020-11-16 13:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
qapt UI error (29.28 KB, image/png)
2020-11-14 15:34 UTC, qazerr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qazerr 2020-11-14 15:34:51 UTC
Created attachment 133332 [details]
qapt UI error

SUMMARY
Properly handle virtual packages, since in ubuntu 20.10 libgcc1 became virtual and qapt can't a lot of packages.

https://invent.kde.org/system/libqapt/-/blob/5a8510ab27dec3fca2c91f1469eebf146e70bfe6/utils/qapt-deb-installer/DebInstaller.cpp#L418

STEPS TO REPRODUCE
1. try to install deb package that have libgcc1 as dependency on kubuntu 20.10 for example
2. aqpt will say that dependencies are not met

OBSERVED RESULT

$ apt-cache show libgcc1
N: Can't select versions from package 'libgcc1' as it is purely virtual
N: No packages found
$ apt-cache showpkg libgcc1| tail -2
Reverse Provides: 
libgcc-s1 10.2.0-13ubuntu1 (= 1:10.2.0-13ubuntu1)
$ apt-cache show libgcc-s1 | grep libgcc1
Provides: libgcc1 (= 1:10.2.0-13ubuntu1)
Replaces: libgcc1 (<< 1:10)


EXPECTED RESULT
installation should work

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.74.0
Qt Version: 5.14.2

ADDITIONAL INFORMATION
qapt-deb-installer 3.0.5-1ubuntu1
Comment 1 Harald Sitter 2020-11-16 13:13:20 UTC

*** This bug has been marked as a duplicate of bug 354477 ***