void-linux / xbps

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

xbps destroy links from /bin /lib etc. #512

Closed Bezzumnbiu closed 2 years ago

Bezzumnbiu commented 2 years ago

XBPS: 0.59.1 API: 20200221

if you create a package with a program from a folder similar to root, that is, where there is / bin / lib / sbin, etc., then xbps-install will remove the references and simply create these folders again

How to repeat this experiment: 1) Create in the folder that will become the basis for xbps-create, folders / bin / lib / sbin 2) Throw any files into them 3) Collecting the package 4) Install the package on the system 5) ??? 6) Congratulations, you have killed the links in your root section.

Of course, you can just create a normal directory tree and make sure that all packages are installed in directories that are not made as links in the system ... But I alone think that this should not be so?