3 ms·
if something is stopping your OS from booting, it is part of the OS, and thus must be installed as part of the OS, and not as a user land tool.
by stephenr 12y ago
if something is stopping your OS from booting, it is part of the OS, and thus must be installed as part of the OS, and not as a user land tool.
- dragonwriter 12y agoSure, but having a separate package manager (or, at least, a distinct package management "realm") for pure userland things that cannot break the OS install so that you know when you install from it you will not break the install, even with dependencies that may get pulled in, is good for piece of mind. It might be better to have a single package manager which supported bother user and OS packages, and clearly distinguished between them, but in the absence of that it is good to have a way to install what you intend to be user packages with an assurance that they won't be installing OS-level things that might break the OS install. Even aside from this guarantee, its good to be able to install things for a user, but to have other users on the same machine whose environments are unaffected by the install.
- cozzyd 12y agoAs I mentioned in a different comment, I don't think there's anything about yum/rpm that precludes doing this. Provided someone took the time to create a repository of relocatable rpm's, you could create a "yumbrew" script that does something like yum-downloader --deps --destdir=~/.myrpms foo-1.3.3.7; rpm -U --prefix=~/.yumbrew/ --dbpath=~/.yumbrewdb ~/.myrpms/* or whatever version of that would actually work. This has the added advantage that you don't have to compile the packages (although if you wanted to, you could make the script do that too..)
- stephenr 12y agoDpkg already has a "--root" option to use a different path for both installing packages and storing the dpkg info. I think the biggest issue would be having it recognise packages already installed in the system when it's using a different info directory - it's possible a lot of packages would get re-installed "locally". Other than that, I believe your concept should work on Debian.