Can settings in /etc/apt/apt.conf.d be overridden from the command line with apt-get?

I'm trying to override system-wide settings when installing packages with apt-get --option. For example, snapper will automatically create (2) snapshots whenever a package is updated/installed with apt. What I'd like to be able to do is from time to time, install a package or 2 without having snapshots created.

What I've tried so far was this:

Basically tried to cancel both actions, but my commands were ignored. Is what I'm trying even doable? What about going in the other direction - i.e., removing the snapper file and using an alias to add the pre/post options as required?

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论