LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Failed to run "vscode-bin.desktop" (https://www.linuxquestions.org/questions/slackware-14/failed-to-run-vscode-bin-desktop-4175711008/)

naarter 04-19-2022 06:58 PM

Failed to run "vscode-bin.desktop"
 
I ran a slackpkg upgrade, update, clean-system and gpg update and restarted my PC. Now when ever I try to click on say Brave or VScode to use the software I receive a:"GDBus.Error:org.gtk.GDBus.UNmappedGError.Quark._g_2dexec_2derror_2derror_2dquark.Code8:Failed to execute child process"user/bin/code"(No such file or directory)" error message. What is going on? I think it has something to do with avahi so I tried installing it after adding the user to the group and it says gcc can't execute the C file. This is very odd, please help.

ozanbaba 04-20-2022 12:26 AM

YOu did clean-system. Probably they are gone by now. First thing I recommend is to run slackpkg install slackware64 (slackpkg install slackware if you are on 32bit system). I am guessing you are missing some basic packages at first glance (that gcc error for example).

naarter 04-20-2022 03:17 AM

Quote:

Originally Posted by ozanbaba (Post 6347338)
YOu did clean-system. Probably they are gone by now. First thing I recommend is to run slackpkg install slackware64 (slackpkg install slackware if you are on 32bit system). I am guessing you are missing some basic packages at first glance (that gcc error for example).

OKay, I ran the command as told and I got:
Code:

bash-5.1$ sudo slackpkg install slackware64
Password:

Looking for ^slackware64 in package list. Please wait... DONE

No packages match the pattern for install. Try:

        /usr/sbin/slackpkg reinstall|upgrade


bash-5.1$ /usr/sbin/slackpkg reinstall|upgrade
bash: upgrade: command not found
bash-5.1$ sudo /usr/sbin/slackpkg reinstall|upgrade
bash: upgrade: command not found


ozanbaba 04-20-2022 03:32 AM

So it seems you are not missing anything in your system. You can try slackpkg reinstall slackware64 to reinstall everything but that's extreme case.
Probably something is missing along the way.
ANother posibility is 32bit and 64bit packages are mixed together. you can see if everything is 64 bit or not using this:
find /var/log/packages/ -name *i?86*

naarter 04-20-2022 07:50 AM

Quote:

Originally Posted by ozanbaba (Post 6347369)
So it seems you are not missing anything in your system. You can try slackpkg reinstall slackware64 to reinstall everything but that's extreme case.
Probably something is missing along the way.
ANother posibility is 32bit and 64bit packages are mixed together. you can see if everything is 64 bit or not using this:
find /var/log/packages/ -name *i?86*

Okay I got nothing returned when I ran "find /var/log/packages/ -name *i?86", so I am going to reinstall everything. This seems like the extreme case. Why did the slackpkg clean command remove vscode and Brave? Why would they suggest on the wiki to do such a command if the command legit removes vital programs? What is the suggested use for such a command and how can I run system updates with having to essentially render certain programs in-usable?

willysr 04-20-2022 08:12 AM

slackpkg only deals with official Slackware packages, not packages built from SBo, so when you ran slackpkg clean-system, it will uninstall (remove) all third party packages, unless you list them in the /etc/slackpkg/blacklist file

Windu 04-20-2022 09:42 AM

When you run "slackpkg clean-system" it will show you all the packages that are going to be removed and you have to actively and consciously click "Yes" to get these removed. It is always a good idea to evaluate that what is shown on-screen.


All times are GMT -5. The time now is 09:35 PM.