Skip to content

fix: not denying on unauth packages when piped

Blake Lee requested to merge volian-team/apt:main into main

Hello,

I was doing some research into how apt handles some of the authentication. In my findings I have discovered a bit of an inconsistency.

When installing from an unauthenticated repository (In this case local), apt will stop you from doing this with -y, but if you pipe y into apt, it will continue and install the unauthenticated package.

Example of the issue on the left, and on the right is with my patch compiled in. apt-bug-crop

Merge request reports

Loading