[Bug 1207713] [NEW] in apt-get the options -y and --force-yes doesn't work with -f option too

Daniel Hartwig mandyke at gmail.com
Fri Aug 2 15:58:26 UTC 2013


On 2 August 2013 19:48, Xava Du <xavadu at gmail.com> wrote:
> Public bug reported:
>
> I was trying to solve some unmet dependency problems, so running
>
> apt-get -f -y --force-yes install
>

-y and --force-yes are only for apt prompts.

> i still have prompts like this, waiting for my input:
>
> Configuration file `/etc/apache2/ports.conf'
>  ==> Modified (by you or by a script) since installation.
>  ==> Package distributor has shipped an updated version.
>    What would you like to do about it ?  Your options are:
>     Y or I  : install the package maintainer's version
>     N or O  : keep your currently-installed version
>       D     : show the differences between the versions
>       Z     : start a shell to examine the situation
>  The default action is to keep your current version.
> *** ports.conf (Y/I/N/O/D/Z) [default=N] ?
> Installing new version of config file /etc/apache2/mods-available/info.conf ...
>

These prompts are from dpkg and are uneffected by the options (for
good reason).  See
<http://raphaelhertzog.com/2010/09/21/debian-conffile-configuration-file-managed-by-dpkg/>
for information and the section “Avoiding the conffile prompt”.

 status opinion


** Changed in: apt (Ubuntu)
       Status: New => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1207713

Title:
  in apt-get the options -y and --force-yes doesn't work with -f option
  too

Status in “apt” package in Ubuntu:
  Opinion

Bug description:
  I was trying to solve some unmet dependency problems, so running

  apt-get -f -y --force-yes install

  i still have prompts like this, waiting for my input:

  Configuration file `/etc/apache2/ports.conf'
   ==> Modified (by you or by a script) since installation.
   ==> Package distributor has shipped an updated version.
     What would you like to do about it ?  Your options are:
      Y or I  : install the package maintainer's version
      N or O  : keep your currently-installed version
        D     : show the differences between the versions
        Z     : start a shell to examine the situation
   The default action is to keep your current version.
  *** ports.conf (Y/I/N/O/D/Z) [default=N] ?
  Installing new version of config file /etc/apache2/mods-available/info.conf ...
   
  Configuration file `/etc/apache2/mods-available/alias.conf'
   ==> Modified (by you or by a script) since installation.
   ==> Package distributor has shipped an updated version.
     What would you like to do about it ?  Your options are:
      Y or I  : install the package maintainer's version
      N or O  : keep your currently-installed version
        D     : show the differences between the versions
        Z     : start a shell to examine the situation
   The default action is to keep your current version.
  *** alias.conf (Y/I/N/O/D/Z) [default=N] ?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1207713/+subscriptions




More information about the foundations-bugs mailing list