void-linux / xbps

The X Binary Package System (XBPS)
https://voidlinux.org/xbps/
Other
821 stars 124 forks source link

After the first install, I can not install anything if the temp-directory does not exist #593

Open rubyFeedback opened 8 months ago

rubyFeedback commented 8 months ago

I recently installed void-linux.

I tried to install things such as GCC, but it would fail.

I finally realiased that the reason for this was that I don't have a temp dir.

I modify the default temp dir and it points at /home/Temp for me.

The problem here is that xbps-installer does not notify the user about this. I found it out by trial and error. My proposal is that the xbps-installer checks whether that directory exists.

In my case, as I tried to install GCC, xbps-installer complained to me that it can not install binutils-doc (which is mega-confusing by the way, why is binutils DOC needed for gcc ... and why do we have to install gcc; note that manjaro and slackware have gcc available out of the box. Isn't void-linux supposed to be the linux distribution for geeks? Why are manjaro and slackware smarter here than void-linux?).

The reason why binutils-doc failed to install was because no temp directory was available, but I was not notified of this. Instead some cryptic message showed up e. g. fancypants telling me how it failed (but not telling my WHY it failed). Please more transparency for the xbps tools, we new users aren't mega-stupid but could really need better notifications about that. (The assumption that tmp is always hardcoded at /tmp is another mistake, but I leave it up to you guys to figure out why that is so.)