[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#906677: apt remove php7.0-fpm wants to install apache2 but doesn't tell why



2018-08-19 20:01 GMT+02:00 Julian Andres Klode <jak@debian.org>:
> Well then, tell apt (apt remove php7.0-fpm apache2

Like this?

# apt remove php7.0-fpm apache2

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'apache2' is not installed, so not removed
The following additional packages will be installed:
  apache2-bin libapache2-mod-php7.0 libaprutil1-dbd-sqlite3
libaprutil1-ldap libbrotli1 liblua5.2-0
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser
Recommended packages:
  apache2
The following packages will be REMOVED:
  php7.0-fpm
The following NEW packages will be installed:
  apache2-bin libapache2-mod-php7.0 libaprutil1-dbd-sqlite3
libaprutil1-ldap libbrotli1 liblua5.2-0
0 upgraded, 6 newly installed, 1 to remove and 0 not upgraded.
Need to get 3,003 kB of archives.
After this operation, 6,132 kB of additional disk space will be used.
Do you want to continue? [Y/n]

> apt install foo apache2-).

What's foo in this case?

> APT can't
> possibly know that.

Know what?

>> I think apt should tell where the dependency on apache2 comes from.
>
> Nah, that would be too verbose.

Why's that?

> You could use debugging logs to figure that out, or just
> tell apt not to install apache2.
>
>> I fell like the apt output could be cleaner as well, lots of packages are mentioned twice and suggested pkgs really doesn't help here.
>
> They're mentioned as often as needed.

How does that help the user?

> That Suggested packages don't help is your
> opinion.
>
> --
> debian developer - deb.li/jak | jak-linux.org - free software dev
> ubuntu core developer                              i speak de, en



-- 
Olaf


Reply to: