Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2849

General Questions • Re: custom TAR_OPTIONS breaking apt

$
0
0
Hello,
the decompressor should be checked, or set regardless of, or set/unset
You can do this either at the apt level or at the dpkg level.

apt: (see man 5 apt.conf)
create the file /etc/apt/apt.conf.d/99local with

Code:

DPkg::Pre-Invoke { "export TAR_OPTIONS="; };
or

Code:

DPkg::Pre-Invoke { "unset -v TAR_OPTIONS"; };
dpkg: (see man 5 dpkg.cfg and man 1 dpkg)
create the file /etc/dpkg/dpkg.cfg.d/99clearTarOptions with

Code:

pre-invoke="export TAR_OPTIONS="
or

Code:

pre-invoke="unset -v TAR_OPTIONS"
Configuring at dpkg level is probably best as it would allow safe dpkg commands.
Note: Not tested, please let us know your tests.

Statistics: Posted by fabien — 2024-03-22 22:30



Viewing all articles
Browse latest Browse all 2849

Trending Articles