vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
995 stars 69 forks source link

[Feature Request] Intercept Questions and Display a Modal to get Input #203

Open kreezxil opened 3 years ago

kreezxil commented 3 years ago

Describe the bug When installing lots of applications, sometimes applications are in conflict. Because BAUH doesn't detect the prompt nor give us a way to answer it, bauh will simply abort.

Software Environment bauh version: 0.j9.19 O.S: name and version Manjaro KDE Plasma

Operating System: Manjaro Linux
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Kernel Version: 5.12.19-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × AMD FX(tm)-8350 Eight-Core Processor
Memory: 23.5 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2

Python version: 3.9.7 Installation method: pacman

P.S: these instructions and the template must be respected, otherwise your issue will be closed.

From a recent transaction

resolving dependencies...
looking for conflicting packages...
:: jre-openjdk and java-openjdk-bin are in conflict. Remove java-openjdk-bin? [y/N] error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jre-openjdk and java-openjdk-bin are in conflict (jre-openjdk>=16)
vinifmor commented 3 years ago

Hello @kreezxil , bauh should have displayed a conflict dialog. It seems there is a bug.

kreezxil commented 2 years ago

leave it to me to find another bug. still better than pacman. :)

On Wed, Nov 3, 2021 at 12:23 PM Vinícius Moreira @.***> wrote:

Hello @kreezxil https://github.com/kreezxil , bauh should have displayed a conflict dialog. It seems there is a bug.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vinifmor/bauh/issues/203#issuecomment-959754035, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCGLYEGKYUPROZSPOSLUKFVXPANCNFSM5HA5DONA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

vinifmor commented 2 years ago

@kreezxil , I've tried to reproduce here with these two packages, but bauh have displayed the conflict dialog as expected.

conflict

It doesn't mean the issue doesn't exist. It may be related to a scenario I haven't tested. Could you tell me more about the operations you were doing when the issue happened ? (for instance: I was installing package X, or I was upgrading the packages X, Y, Z)

kreezxil commented 2 years ago

shite, i forgot what I was tryna install.

On Fri, Nov 5, 2021 at 9:17 AM Vinícius Moreira @.***> wrote:

@kreezxil https://github.com/kreezxil , I've tried to reproduce here with these two packages, but bauh hava displayed the conflict dialog as expected.

[image: conflict] https://user-images.githubusercontent.com/4312414/140524496-93865b43-55a1-4040-bc2c-f97b9f1406a7.png

It doesn't mean the issue doesn't exist. It may be related to a scenario I haven't tested. Could tell me more about the operations you were doing when the issue happened ? (for instance: I was installing package X, or I was upgrading the packages X, Y, Z)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vinifmor/bauh/issues/203#issuecomment-961932353, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCFIGKQCKCBEJD6R5LTUKPRRDANCNFSM5HA5DONA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

vinifmor commented 2 years ago

No worries. If it happens again, just comment here.