Announcement

Collapse
No announcement yet.

Kubuntu failing to install a .deb

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Kubuntu failing to install a .deb

    I have recently installed Kubuntu 24.04 on my desktop PC, (after previously running Ubuntu 22.04 LTS) , no problems with installation, everything seems to work "straight out of the box" I did have a slight hitch installing Google Chrome but after using Gdebi this also installed without a problem, but the next .deb is a problem, I have a 3D printer (Creatbot F430), Creatbot supply a slicer software for this machine, available for Windows, Mac and Linux, the .deb file for this has me stumped, after downloading this file I tried to install it also using Gdebi, everything seemed to be OK , an Icon was created on the application launcher, but when clicked upon nothing happens, no messages nothing, I also tried using Qapt, which stated that all dependencies were met, no change same result, software does not start (no messages) , I have also tried installing from the terminal (using apt install) which reports that software is installed, at first I thought perhaps a corrupt file, so downloaded the .deb and installed on a laptop I have running Lubuntu, worked directly no problem, so I copied the .deb file to a USB stick, and transferred it to the desktop (after deleting the original download) , after a new round of installing I again get exactly the same problem! the icon on the application launcher does nothing, if i right click >"uninstall or manage add ons" nothing happens, I am obviously missing something here, after previous installations of this software on Ubuntu all that was required (if that ) was to right click, > permissions > make executable and it was up and running, any ideas?

    #2
    So, you need to try running the application from the terminal and look for error messages.



    CreatWare for Linux:

    Date: 10 Aug 2022 <------ note the date
    Version: V7.0.2 (58MB)
    Language: English
    Originally posted by MikeB View Post
    installed on a laptop I have running Lubuntu,
    24.04?

    The real problem is that the deb probably is not properly made, per se, and though it claims to have all of its dependencies satisfied, all the real ones may not be included in the deb file's configuration.
    Attempting to run it from the terminal might give useful clues as to what it needs.

    Code:
    /usr/share/src/CreatWare
    Which is a completely goofy location for an executable.


    Yup, grabbing the deb and inspecting it's innards shows that it doesn't list ANY dependencies at all.

    Code:
    Package: creatware
    Version: 7.0.1
    Priority: extra
    Section: checkinstall
    Installed-Size: 108560
    Maintainer: creatbot
    Architecture: i386
    Provides: build
    Description: creatbot soft​
    Note the 'checkinstall/ item -- this means it was made locally on someone's computer, which may or may not work an everyone's system, as they may not have the same dependecies or versions as the one it was made for. Checkinstall is made for personal use, and isn't designed to make universally usable packages.

    You will need to complain to the company, or just try a different slicer (Prusa, orca slicer, cura?)


    Comment


      #3
      Thank you but that does not help me much, the Creatware slicer is a modified version of Prusa, I did get from Creatbot a modification for Cura (which has no native support for Creatbot printers) this works as such but I get better results with Creatware, strange that the installation has worked perfectly on Ubuntu 22.04 and Lubuntu 22.04 without any problems at all, I also have another laptop (HP Elitebook) running Kubuntu 22.04 , I will try installing on that machine later this evening, if that works then obviously 22.04 and 24.04 see this .deb in a different manner, I will report back, but if this does not work there either then my install of Kubuntu 24.04 will be short lived, I do like the GUI but will have to install an OS that does support this .deb, for me it is an important program and for a good workflow I need CAD and slicer on the same PC , (much easier to work on a desktop connected to a Dell 27" screen).

      Comment


        #4
        Writing this from the Eltebook, this also failed, unfortunately same result, but to be expected I thought it was running 22.04 but I had forgot that I had upgraded, to 24.04, so it looks as if I will have to return to Ubuntu or Lubuntu where the .deb does install and work correctly.

        Comment


          #5
          We can find out what is missing by seeing what the terminal complains about

          Kubuntu is the exact same OS as Ubuntu and Kubuntu, it just doesn't have some GUI library installed that this software wants, because it isn't normally neede in KDE.

          The stupid Deb has no dependency list in it. If It did, discover/apt would install them for you. It might need one or a few packages, no way of knowing. But likey easier that using a sledge hammer to put in a push pin on a corkboard.

          I did list the command or running this from Konsole to find out what it complains about.

          Having said that, if it is working in 22.04 for Ubuntu , Kubuntu, and Kubuntu, but not in Kubuntu 24.04, my guess is that it won't run in Ubuntu or Kubuntu 24.04. the compiled code used to make the Deb can be very release-specific, and whatever library it wants has been updated to a newer version that the binary came work with

          If I have time, I'll test it out later today.

          Comment


            #6
            An easy fix. The application is looking for two libraries that have been updated to a newer version. However, one can create a symlink to the newer files, but named the old version.
            This is a fairly common thing, as there are numerous apps that haven't been updated by their devs to support 24.04, and is not unusual in Linux generally, many library files maintain backward compatibility

            Code:
            $ /usr/share/src/CreatWare
            /usr/share/src/CreatWare: error while loading shared libraries: libwebkit2gtk-4.0.so.37: canno
            t open shared object file: No such file or directory
            and

            Code:
            ​$ /usr/share/src/CreatWare
            /usr/share/src/CreatWare: error while loading shared libraries: libjavascriptcoregtk-4.0.so.18
            : cannot open shared object file: No such file or directory


            So:
            Code:
            sudo ln -sf /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
            sudo ln -sf /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.1.so.0 /usr/lib/x86_64-linux-gnu/libjavascriptcoregtk-4.0.so.18​

            Click image for larger version  Name:	Screenshot_20240919_011532.png Views:	0 Size:	251.9 KB ID:	682526

            Comment


              #7
              Thanks,I will try that, but I have fixed another workaround, Wine! I installed Wine and Winetricks, downloaded the Windows version, pointed it at the .msi Windows installation file and it installed, installation was in Chinese or showed blank squares (but I obviously clicked on the right boxes!) , It does create an Icon on the start menu that works! there is an advantage, the Linux version is quite old and not updated whereas the Windows version has recently been updated, I will test the slicer on a .stl file and see what the 3D printer does with it, if OK I will probably just run the Windows version, but if there are any problem I will revert to the Linux version (which with your help should now install and run.

              Comment


                #8
                It might not be able to access the printer, I don't think I have ever been successful with accessing hardware with Wine, other than input devices and printers. But 3d printers don't really need OS specific drivers, if I am not mistaken.
                The software running doesn't mean Wine provides access to things at a hardware level. Just don't be surprised if it doesn't work that way.

                However, if one runs Windows or the older OS that works (eew) via Virtualbox. where hardware can usually be passed through to the virtual machine, especially if you really needed the most current version and you don't have a terribly weak PC.

                Note the symlinks, being links, won't damage anything, and the fix is two quick copy-pastas away.

                Plus, don't forget that there are a fair amount of slicers for Linux. Might find one you like.

                Comment


                  #9
                  Unfortunately the symlinks copy and pasted do nothing, the result is exactly the same, the original Creatware entries on the Application launcher do nothing, whereas the new entries start the application (via Wine) as does a desktop icon Creatware 7.2.0, I have now tested this Wine solution, created a .stl file and opened this in the Slicer (which has been configured for the F430) , saved the Gcode and printed it, so I have a working solution, although the F430 can be fed via the wired network I have never used this as I prefer to use the USB solution, I keep a version of any .STL file created locally and any Gcode created from this is also held locally (in a separate folder) , this is then copied to a USB drive. So my workflow is now in principle the same as previously, I must admit that I was surprised that Wine worked with the Creatware .exe file, previous experiences of Wine have been far from good.
                  Thanks for your assistance anyway, you appear to be able to install the Linux version thus I find it strange that your symlinks don't work, I guess there could now be some sort of conflict with the Wine version (although I doubt it) but I did a lot of rummaging around before asking for assistance here, so may have messed something up, really all I have left to do know is remove the non-working entries and icons but that is another story!

                  Comment


                    #10
                    That is odd. I literally booted to 24.04, installed the deb, and tried to run the application from the terminal to see what it was complaining about.

                    Code:
                    $ /usr/share/src/CreatWare
                    /usr/share/src/CreatWare: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory​
                    I am somewhat competent at binging and finding useful links, that's about it, usually.
                    But I did also note that many older things were no longer working in 24.04, missing this exact library, since it no longer exists there.
                    Interestingly, most of them were for appimages for various slicers, lol, that hadn't been updated for 24.04, and possibly even 23.10
                    This led me to using symlinks as a solution.

                    I'll double check this on another install, maybe I am missing something, at least for posterity and anyone finding this post, and have the same issue and don't want to deal with Wine (like me )

                    Comment


                      #11
                      Ok, you need to install libwebkit2gtk-4.1-0
                      ​I had this already, on what I thought was a fairly stock install. Some basic thing I installed needed this, so I already had it on my system.

                      My virtual machine, which IS clean and unmodified, and doesn't have this.
                      Making the links didn't provide any messaging or error to indicate I didn't actually have the files being linked to.

                      Comment


                        #12
                        I installed libwebkit2gtk-4.1-0 , but sorry to say not even that helped, there was a slight difference after installation (and a reboot to be on the safe side), if I click on the Application launcher's Creatware icon it will then show for only a split second a Creatware icon on the taskbar, (it did not do this before) but the software does not open and there are no error messages shown.
                        As the Wine solution works I can live with this so I do not see any need to run the Creatware version for Linux, but I may get in touch with Creabot later and point out this problem, I have previously contacted them for a Cura profile for the F430 which they supplied, so they are not unhelpful but I am guessing that an update for the Linux version of the Creatware software is not high on their list!
                        Once again thanks for your input, as my solution is using Wine I don't think we can mark this solved as such but if I get a reply or Creabot update their .deb file (to one that works immediately on Kubuntu 24.04, all dependencies met!) then I will pass on the information.

                        Comment


                          #13
                          So....what happens when trying to run it form the terminal?? ?? ?? ??
                          So we can see what it complains about?
                          Pretty please?
                          I am sure I am missing something that might simply already exist on my system

                          But if you are done worrying about it, that is Ok
                          (sometimes Wine breaks, etc, so feel free to come back to this thread if you ever need more ideas)

                          Comment


                            #14
                            I think I ran into this kind of problem once when I installed skype.deb
                            The user interface in Kubuntu says dependencies not met.
                            Why doesn’t it tell us what is missing?​

                            Comment

                            Working...
                            X