Recursively reinstall all packages firefox depends on?
Hi guys, recently something went wrong during a system upgrade because my root partition was full and my arch end up with a broken firefox. It starts but crashes whenever I start browsing a page. I've reinstalled fox and cleaned cache&profile files with no success. I suspect there is a broken package somewhere. How can I find that broken file or reinstall everything firefox need to be sure? Thanks
About this post
- Posted
- Archived
- Score
- 14 · 100% up
- Kind
- Text
- ID
- 33cety
7 comments
See here for a way to list all the dependencies of a package in a format that can then be easily piped to pacman for reinstallation. Example:
Or if you put that long command into a script called pacdeps.sh:
Or you could just run
and manually write down/copy-paste the dependencies and install them like so:
Thanks, this is really useful! I found all dependencies and their dependencies using this script. But firefox still crashes. Maybe there is a third level dependency broken but I'm not sure.
Sorry, no answer to your question. But couldn't you check the logs to see which packages were supposed to be included in the update which went wrong, and just reinstall all of those?
I will try as soon as I get home then. Edit: It seems those logs are rotated because it has been a few days since then.
You can
$ pacman -Qi firefoxto find dependencies and packages depended on it.It's not that easy since everything firefox depends on also depends on something. I guess you're getting close to reinstalling most of the base system and whatnot if you follow through with that idea.
You can try and check installed packages with
for modifications and other errors.
What's your error with firefox? Did you start firefox from the command line and look at the errors?
It gives a seg fault. I didn't look at core dump because those were disabled. I'm going to enable them and try to look at it. I couldn't figured out whats going on since I've already reinstalled most the base packages.