mk-sbuild should stop passing --force-yes to apt

Bug #1827576 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-dev-tools (Ubuntu)
New
Undecided
Unassigned

Bug Description

Processing triggers for libc-bin (2.29-0ubuntu2) ...
W: --force-yes is deprecated, use one of the options starting with --allow instead.

This is when I was creating an eoan chroot. I'm not aware of for which versions of apt --force-yes is deprecated but it needs fixing for some of them!

Revision history for this message
Mattia Rizzolo (mapreri) wrote : Re: [Bug 1827576] [NEW] should stop passing --force-yes to apt

Then why is this against ubuntu-dev-tools? Maybe it should have been
against debootstrap? You also didn't specify what you are using to create
said chroot.

On Fri, 3 May 2019, 6:41 pm Brian Murray, <email address hidden> wrote:

> Public bug reported:
>
> Processing triggers for libc-bin (2.29-0ubuntu2) ...
> W: --force-yes is deprecated, use one of the options starting with --allow
> instead.
>
> This is when I was creating an eoan chroot. I'm not aware of for which
> versions of apt --force-yes is deprecated but it needs fixing for some
> of them!
>
> ** Affects: ubuntu-dev-tools (Ubuntu)
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are subscribed to Ubuntu.
> https://bugs.launchpad.net/bugs/1827576
>
> Title:
> should stop passing --force-yes to apt
>
> Status in ubuntu-dev-tools package in Ubuntu:
> New
>
> Bug description:
> Processing triggers for libc-bin (2.29-0ubuntu2) ...
> W: --force-yes is deprecated, use one of the options starting with
> --allow instead.
>
> This is when I was creating an eoan chroot. I'm not aware of for which
> versions of apt --force-yes is deprecated but it needs fixing for some
> of them!
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/ubuntu-dev-tools/+bug/1827576/+subscriptions
>
>

Revision history for this message
Brian Murray (brian-murray) wrote :

My bad, I was using mk-sbuild.

"
871 # Pull down signature requirements
872 apt-get -y --force-yes install gnupg ${DISTRO}-keyring
873 # Reload package lists
874 apt-get update || true
875 # Disable debconf questions so that automated builds won't prompt
876 echo set debconf/frontend Noninteractive | debconf-communicate
877 echo set debconf/priority critical | debconf-communicate
878 # Install basic build tool set, trying to match buildd
879 apt-get -y --force-yes install $BUILD_PKGS
880 # Set up expected /dev entries
"

summary: - should stop passing --force-yes to apt
+ mk-sbuild should stop passing --force-yes to apt
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.