Menu

#1134 Broken install in Kubuntu 21.04 via Discover

Undefined
open
nobody
Bug_Report
2021-10-14
2021-08-24
snorlax212
No

Hello. In Kubuntu 21.04 after installation Code::blocks via 'Discover' nothing happens when i try to launch 'Application launcher -> Development -> Code::Blocks IDE'. Field 'Properties for codeblocks.desktop -> Application -> Command' is 'codeblocks %F'. If I type 'codeblocks' in konsole it says:
Command 'codeblocks' not found, but can be installed with:
sudo apt install codeblocks

Installing via apt works though.

STEPS TO REPRODUCE
1. Run 'Discover -> Code::Blocks IDE -> Install'
2. Run 'Application launcher -> Development -> Code::Blocks IDE'

OBSERVED RESULT
Nothing happens, no error, just some system chords sound which tells nothing to me.

EXPECTED RESULT
Starting program.

SOFTWARE/OS VERSIONS
Linux: Kubuntu 21.04
Code::blocks version: 20.03-3
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Graphics Platform: X11

Discussion

  • snorlax212

    snorlax212 - 2021-08-27

    Same problem on Kubuntu 20.04.3 LTS. It popups window additionally:

     
  • Teodor Petrov

    Teodor Petrov - 2021-08-28

    What is Discover? We (cb devs) don't know about it, neither we ship packages for it.

     
    • snorlax212

      snorlax212 - 2021-08-28

      It's an application explorer/package manager in KDE.


      I reported to kde.bugs.org but it's not their service. I don't know where to report then.
      https://bugs.kde.org/show_bug.cgi?id=441495#c1

       
  • bluehazzard

    bluehazzard - 2021-10-14

    I just tested this in a fresh kubuntu VM and i got the same error when i install only codeblocks.
    but when i also install the addons (link above the reviews) i can start it...

    Also, if i install it via discovery (without addons) and then type in the console

    apt get install codeblocks
    

    i get a lot missing packages:

    testuser@testuser-VirtualBox:~$ sudo apt install codeblocks
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following additional packages will be installed:
      libastyle3 libcodeblocks0 libtinyxml2.6.2v5 libwxbase3.0-0v5
      libwxgtk3.0-gtk3-0v5
    Suggested packages:
      codeblocks-contrib libwxgtk3.0-dev
    The following NEW packages will be installed:
      codeblocks libastyle3 libcodeblocks0 libtinyxml2.6.2v5 libwxbase3.0-0v5
      libwxgtk3.0-gtk3-0v5
    0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/9.537 kB of archives.
    After this operation, 37,4 MB of additional disk space will be used.
    Do you want to continue? [Y/n] 
    

    if i install the package, codeblocks starts normally

    So it seems that the package discovery tries to install is not complete?
    I do not know enough about linux packages to make a conclusion
    I do not know what packages discovery uses, or what install method, but for me it looks like a packaging problem for discovery....

     
  • bluehazzard

    bluehazzard - 2021-10-14

    If i install it with muon every thing works as expected....
    So somehow discovery uses different packages?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.