[SOLVED] Can't launch chrome or firefox after slackpkg upgrade
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't launch chrome or firefox after slackpkg upgrade
Can't launch either program, probably others as well, accidentally cancelled the process halfway through the upgrade and restarted. When I added the multilib packages I get the following error:
Code:
cat: /var/log/scripts/autoload: No such file or directory
cat: /var/log/scripts/bye: No such file or directory
cat: /var/log/scripts/chdir: No such file or directory
cat: /var/log/scripts/declare: No such file or directory
cat: /var/log/scripts/float: No such file or directory
cat: /var/log/scripts/history: No such file or directory
cat: /var/log/scripts/integer: No such file or directory
cat: /var/log/scripts/local: No such file or directory
cat: /var/log/scripts/logout: No such file or directory
cat: /var/log/scripts/pushln: No such file or directory
cat: /var/log/scripts/r: No such file or directory
cat: /var/log/scripts/readonly: No such file or directory
cat: /var/log/scripts/rehash: No such file or directory
cat: /var/log/scripts/type: No such file or directory
cat: /var/log/scripts/unalias: No such file or directory
cat: /var/log/scripts/unfunction: No such file or directory
cat: /var/log/scripts/where: No such file or directory
cat: /var/log/scripts/which: No such file or directory
cat: /var/log/scripts/zprofile: No such file or directory
cat: /var/log/scripts/zsh-5.3.1: No such file or directory
If you cancelled during the upgrade, you could be running some frankenstein version of Slackware-current that is quite possibly broken. I would first try to reinstall using slackpkg and see if that fixes the issue.
If you cancelled during the upgrade, you could be running some frankenstein version of Slackware-current that is quite possibly broken. I would first try to reinstall using slackpkg and see if that fixes the issue.
Code:
slackpkg reinstall slackware64
Gave that a try and still having the same issue, noticed the same missing files error when some packages were installing
Unfortunately, that probably means you broke some fairly important applications. There's several ways to recover from this, but the easiest would probably be to just boot off your installation media and reinstall Slackware without formatting anything. That should keep all your 3rd-party applications intact and it should fix your installation. For alternative methods to fixing it, we'd need more information on your errors (or is it just the errors in the first post?), and possibly a list of the last 20 or so installed and removed packages.
Unfortunately, that probably means you broke some fairly important applications. There's several ways to recover from this, but the easiest would probably be to just boot off your installation media and reinstall Slackware without formatting anything. That should keep all your 3rd-party applications intact and it should fix your installation. For alternative methods to fixing it, we'd need more information on your errors (or is it just the errors in the first post?), and possibly a list of the last 20 or so installed and removed packages.
Going to try this when I get home tonight, forgot to bring the laptop to work today unfortunately. Didn't know this was even an option, much better than starting from scratch.
The same thing can be done by running upgradepkg --reinstall slackware64/*/*.t?z, but many would likely find the installer easier. And that is also assuming your upgradepkg package isn't broken (using the installer wouldn't be affected since it uses an internal upgradepkg, not the one installed to the system).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.