Arch Linux - Installed packages gone after restart - archlinux

I'm trying to install some fonts in Arch Linux (using yay font). The installation is fine, no problem at all. But, after restarting my computer, those installed fonts are gone. I tried to install them again, and restarted. The fonts are always gone.
I also notice that I have to update a lot of packages every morning (using yay). But they are not always the same packages, thus I've thought they may just update so frequently.
I've just started using Arch Linux 2 months ago, and I struggled a lot to install it. Therefore I think I might still leave a lot of errors and mistakes. I need some help please, thank you very much.

The problem is solved today somehow. Apparently, there were a lot of errors and warnings when I used pacman -Syu, and never read all of them. It has gone like that until now. Then, I got a conflict when updating packages, searched on Google, solved it, rebuilt all packages, and this problem is somehow gone as well.

Related

Yum package dependency error not allowing package install

I'm trying to install rpm-build, but it seems there is some problems with dependencies:
The package that's installed is coming from a repo which is no longer available (linuxcoe_update_errata), I don't know what happened to it but the URL is no longer accessible, and the package that it wants to install is coming from another repo called core (this repo works just fine)
Seems like rpm-build need a lower version for rpm, which apparently should be not a problem. I tried dowgrading the version but is not working, again more conflicts, I tried to remove that package, but maybe because the repo that installed it is no longer available it does not uninstall anything.
How can I fix this? I need to install rpm-build in this machine, can't do it on another, but is not letting me. I think the problem has to be related to the repo which the package came from not being available anymore (linuxcoe_update_errata). I tried enabling notify_only=1 in /etc/yum/pluginconf.d/search-disabled-repos.conf so yum can try to resolve the error but itself, but still nothing. Any ideas? I'm really confused about this,

npm mssql package intellisense not working when im offline?

I'm currently working on a nodejs project in an offline domain and came across this issue that I cant seem to find anything about.
Apparently even after installing the mssql package in visual studio code, intellisense only works when i have network.
if that helps, I installed the package from an online computer and then moved it to the offline computer, but the same problem shows even if i just unplug my computer and reopen vscode.
its also worth mentioning that packages like express and morgan does have intellisense even when offline.
Is there an option to also save the package's intellisense locally?
thanks!
mssql package: https://www.npmjs.com/package/mssql
So as it turns out, and even though I checked multiple times if it's network related or not, the problem were with some settings that I set up 2 years ago when I were coding with powershell.
Removing it worked, so always take a look at the vscode settings (suggestions/intellisense categories)

Upgrading NPM from 5.8 to latest

I want to look at upgrading NPM on a project I'm working on from 5.8.0 to the latest version.
Is this something that is safe to do without breaking any packages i have installed? And if there's a chance it might, what is the best method for testing those packages to make sure everything is running correctly still?
Updating NPM is unlikely to break anything. However your packages may require a certain version of Node.js to function properly.
There also isn't really a "best method" to check if everything runs correctly. Ill refer you to this answer which has a few options you can try.

Difficulty installing gatsby-plugin-sass because of xcode

I'm trying to install gatsby-plugin-sass and I'm getting the following error:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
I can't find anything that tells me how to get past this error and I absolutely do not want to download the memory hog known as Xcode.
xcode-select is already installed, verified when I run xcode-select -install. And I vaguely remember installing it a long time ago to get Sass to work (and Sass still works on my system.)
Is there a way to satisfy this error that doesn't involve installing XCode? I really don't want to waste the gigabytes on it.
It appears to actually be an issue with node-gyp yet none of the fixes on their issues page seem to work for me.

Eclipse Helios 3.6.0 hangs while installing Egit

I am trying to install Egit on my eclipse using market place.
The problem i am facing is that the installation gets stuck at 49%. I waited for almost 2 hours yesterday but still the installation did not happen. Has anyone faced any such problems before?
Is there a manual way i can install Egit. i.e. by downloading a package and then installing. I am using windows 7 machine.
Can anyone please guide me on this issue?
P.s: I have gone through the previous asked questions, and i do not have many other sites being used as download pages.(So it is not slow due to loading of many sites)
What has worked for me is the following:
Find a mirror in your country, in my case was http://eclipse.tsl.gr/egit/updates-1.3/
Go to install software and paste the mirror url in the work with box and select the packages you wish to install
This is the solver: un check "Contact all update sites during install to find required software"
I am not sure whether it helped but I also updated Java to latest version while trying to install EGit on Helios.
Have you tried installing EGit from the following update site?
http://download.eclipse.org/egit/updates
You can use this update site by going to:
Help > Install New Software...
and enter the URL in the Work with: text box
I had the same problem as the OP with all marketplace plugins. My downloads of plugins consistently got stuck on 48% or 49% and would eventually time out.
In my case, I solved the problem by turning off my antivirus and then downloading plugins.
While my antivirus was turned off, I did not browse the web. I also ran antivirus and anti malware scans afterwards.