You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be cleaner to get apt and dpkg not to use any global state. As we've already found out, apt can be told to manage some of its state and configuration from customized files and directories, e.g.:
The problem is if apt runs dpkg without passing a --root option. We might be able to workaround that by putting a wrapper inside the virtualenv's bin directory with the name dpkg which would invoke the real dpkg with passing the required options.
The text was updated successfully, but these errors were encountered:
The Action.popen shoud be extended to handle extra aliases, instead of the PATH workaround.
By the way we don't use any command from the virtuaenv right now.
Just a note before I completely forget it:
It would be cleaner to get
apt
anddpkg
not to use any global state. As we've already found out,apt
can be told to manage some of its state and configuration from customized files and directories, e.g.:The problem is if
apt
runsdpkg
without passing a--root
option. We might be able to workaround that by putting a wrapper inside the virtualenv'sbin
directory with the namedpkg
which would invoke the realdpkg
with passing the required options.The text was updated successfully, but these errors were encountered: