Hi Ben,

Quoting Benjamin Drung (2019-10-18 18:01:30)
> building a chroot with the APT option Install-Recommends "true" (as
> described in the man page) fails:
> 
> $ mmdebstrap -v \
>   "--aptopt=Dir::Etc::Trusted 
> \"/usr/share/keyrings/debian-archive-keyring.gpg\"" \
>   "--aptopt=Apt::Install-Recommends \"true\"" buster example.tar.xz
> [...]
> I: downloading apt...                                                         
>                                           
> Reading package lists...                                                      
>                                           
> Building dependency tree...                                                   
>                                           
> apt is already the newest version (1.8.2).                                    
>                                           
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.                
>                                           
> E: nothing got downloaded
> 
> Downloading apt fails, because apt is already installed due to
> installing recommend.

wow, really nice catch!!

Indeed mmdebstrap should not attempt to install stuff that was already
installed (due to recommends or any other reason).

Will fix soon!

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to