Automatic installation of missing packages isn't automatic when APT pulls multiple packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Fix Released
|
Low
|
Loïc Minier |
Bug Description
Hi
Seen today while testing in a chroot:
Installing required command mkfs.vfat from package dosfstools
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
dosfstools
0 upgraded, 1 newly installed, 0 to remove and 47 not upgraded.
Need to get 94.2kB of archives.
After this operation, 246kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
dosfstools
Authentication warning overridden.
Get:1 http://
[...]
=> installation was automatic (NB: authentication was overriden, not sure that's ok, might be local setup)
Installing required command qemu-arm-static from package qemu-kvm-
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
qemu-user-static
Recommended packages:
binfmt-support debootstrap
The following NEW packages will be installed:
qemu-
0 upgraded, 2 newly installed, 0 to remove and 47 not upgraded.
Need to get 11.5MB of archives.
After this operation, 30.3MB of additional disk space will be used.
Do you want to continue [Y/n]?
=> commands stops there; we seem to miss some APT flag to pull deps automatically
Cheers,
Related branches
- Guilherme Salgado (community): Approve
-
Diff: 26 lines (+3/-2)2 files modifiedlinaro_image_tools/media_create/tests/test_media_create.py (+1/-1)
linaro_image_tools/media_create/utils.py (+2/-1)
Changed in linaro-image-tools: | |
importance: | Undecided → Low |
status: | In Progress → Fix Committed |
Changed in linaro-image-tools: | |
status: | Fix Committed → Fix Released |
So for the record, this was withing a Launchpad buildd chroot which has 'APT::Get: :AllowUnauthent icated "1";' in apt.conf. d/99buildd, hence the automatic installation of unauthenticated packages; it wouldn't install unauthenticated by default otherwise -- so no need for a separate bug for this part of the report.
/etc/apt/