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

Re: Recommending packages via virtual package



Am 14.04.20 um 10:26 schrieb Markus Frosch:

> What are your thoughts on that? Is there any other thread
> discussing this? The current bugs for apt touching on virtual
> package don't really mean this behavior.

I can not reproduce your problem in a sid chroot.
When nginx (nginx-full to be precise) is installed, apache2 will not be
installed here:

> root@pluto:/# apt-cache policy nginx nginx-full
> nginx:
>   Installed: 1.16.1-3
>   Candidate: 1.16.1-3
>   Version table:
>  *** 1.16.1-3 500
>         500 http://ftp.de.debian.org/debian sid/main amd64 Packages
>         100 /var/lib/dpkg/status
> nginx-full:
>   Installed: 1.16.1-3
>   Candidate: 1.16.1-3
>   Version table:
>  *** 1.16.1-3 500
>         500 http://ftp.de.debian.org/debian sid/main amd64 Packages
>         100 /var/lib/dpkg/status
> root@pluto:/# apt install wordpress
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following additional packages will be installed:
>   apache2-bin ca-certificates default-mysql-client libaio1 libapache2-mod-php libapache2-mod-php7.4 libapr1
>   libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-1 libbrotli1 libconfig-inifiles-perl libcurl4
>   libedit2 libgssapi-krb5-2 libjansson4 libjs-cropper libjs-prototype libjs-scriptaculous libjs-underscore
>   libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblua5.2-0 libmagic-mgc
>   libmagic1 libnghttp2-14 libpsl5 libreadline5 librtmp1 libsasl2-2 libsasl2-modules-db libsnappy1v5 libsodium23
>   libssh2-1 mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mime-support mysql-common openssl
>   php-common php-gd php-getid3 php-mysql php7.4-cli php7.4-common php7.4-gd php7.4-json php7.4-mysql
>   php7.4-opcache php7.4-readline psmisc readline-common
> Suggested packages:
>   apache2-doc apache2-suexec-pristine | apache2-suexec-custom www-browser php-pear krb5-doc krb5-user file
>   php-com-dotnet php-mbstring php-rar php-xml php-sqlite3 readline-doc default-mysql-server
>   | virtual-mysql-server php-ssh2
> Recommended packages:
>   apache2 javascript-common libjs-jquery krb5-locales publicsuffix libsasl2-modules libdbd-mysql-perl
>   libdbi-perl libterm-readkey-perl file vorbis-tools wordpress-l10n wordpress-theme-twentytwenty
> The following NEW packages will be installed:
>   apache2-bin ca-certificates default-mysql-client libaio1 libapache2-mod-php libapache2-mod-php7.4 libapr1
>   libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-1 libbrotli1 libconfig-inifiles-perl libcurl4
>   libedit2 libgssapi-krb5-2 libjansson4 libjs-cropper libjs-prototype libjs-scriptaculous libjs-underscore
>   libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libldap-2.4-2 libldap-common liblua5.2-0 libmagic-mgc
>   libmagic1 libnghttp2-14 libpsl5 libreadline5 librtmp1 libsasl2-2 libsasl2-modules-db libsnappy1v5 libsodium23
>   libssh2-1 mariadb-client-10.3 mariadb-client-core-10.3 mariadb-common mime-support mysql-common openssl
>   php-common php-gd php-getid3 php-mysql php7.4-cli php7.4-common php7.4-gd php7.4-json php7.4-mysql
>   php7.4-opcache php7.4-readline psmisc readline-common wordpress
> 0 upgraded, 59 newly installed, 0 to remove and 0 not upgraded.
> Need to get 24.5 MB of archives.
> After this operation, 137 MB of additional disk space will be used.
> Do you want to continue? [Y/n] 



Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: