yay icon indicating copy to clipboard operation
yay copied to clipboard

feat: option for installing packages in clean chroot

Open YodaEmbedding opened this issue 6 years ago • 22 comments

An option for installing a package in a clean chroot would be nice.

yay -S --clean-chroot cabal-static

To make it fast, perhaps something like clean-chroot-manager can be used as a backend?

YodaEmbedding avatar Mar 15 '20 11:03 YodaEmbedding

The link for clean-chroot-manager is broken -> here it is fixed.

However I feel like depending on a shell script (and another AUR package) is not the most optimal. As of the writing of this comment the deps or yay AUR package is quite small and I think it should be kept that way (that's my personal opinion however)

git (git-git)
sudo (nosudo, sudo-masochist, sudo-hg, sudo-selinux)
pacman>=5.2 (pacman-git)
go (gcc-go-git, go-tip, gcc-go, go-pie) (make)

Maybe doing it the "classic" way as decribed in the arch wiki and depending only on devtools would be better ?

reyreaud-l avatar Mar 18 '20 08:03 reyreaud-l

As of the writing of this comment the deps or yay AUR package is quite small

image

Absolucy avatar Sep 08 '20 09:09 Absolucy

@aspenluxxxy go (gcc-go-git, go-tip, gcc-go, go-pie) (make) yay does not depend on go on runtime, it is a make dependency.

@YodaEmbedding right now my focus is on ensuring the end to end and unit tests of yay are stronger to allow this kind of features to be implemented more easily. It is a topic that will require study though but I agree on @reyreaud-l on not depending on other AUR packages

Jguer avatar Sep 10 '20 07:09 Jguer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 09 '20 07:11 stale[bot]

Hi @stale bot, this issue is still relevant to me, you can remove the stale label again. Please don't automatically close stale issues, that's rude. Only humans have the ability to tell if an issue is still relevant or not.

piegamesde avatar Nov 09 '20 11:11 piegamesde

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 08 '21 11:01 stale[bot]

still relevant

ghost avatar Jan 10 '21 10:01 ghost

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 11 '21 17:03 stale[bot]

asdf

vith avatar Mar 11 '21 18:03 vith

@Jguer Can you please shoot that bot? At least for this issue. 2/3 of this discussion is basically bot spam.

piegamesde avatar Mar 11 '21 18:03 piegamesde

@piegamesde I'll see if I can make it less aggressive, maybe double the inactivity time

Jguer avatar Mar 13 '21 11:03 Jguer

Bot has been tamed

Jguer avatar Mar 13 '21 11:03 Jguer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 11 '21 12:07 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 19 '21 15:12 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 24 '22 14:04 stale[bot]

This feature would be very helpful for "debugging" package dependencies. Are there already any plans to implement this feature anytime soon, or is it relatively complex to implement?

ChristophSchmidpeter avatar Jun 22 '22 22:06 ChristophSchmidpeter

No updates after 2022?

qnixsynapse avatar May 01 '24 13:05 qnixsynapse

Sorry for necrobumping, but this feature is exactly what a lot of people need, including me. I know there is paru, but it's not very appealing to have multiple tools that differ just in some little things. @Jguer Please share your status on this feature, whether You are planning to add it or not

413x1nkp avatar May 02 '24 10:05 413x1nkp