We have also tested Apt’s behavior on a snapshot of the Debian pool taken in the middle of 2005, and available in the EDOS subversion repository as
Data/Sources/Packages-pool.gz. Of the many tests performed, we retain the
following three, which clearly exhibit some of Apt’s limitations.
• apt-get install abiword-gnome=2.2.7-3 fails
• apt-get install abiword-gnome=2.2.7-3 abiword-common=2.2.7-3
succeeds
• apt-get install abiword-common=2.2.7-3 abiword-gnome=2.2.7-3 succeeds, but installs one more package!
First test, failure for abiword-gnome=2.2.7-3
Running apt using fake directory structure /extended/tmp/apt Populating ...done.
Creating fake configuration file Creating fake source list file Updating debian-pool cache
7.3. APT EDOS Project: WP2D2
Atteint http://www.pps.jussieu.fr unstable/main Packages Ign http://www.pps.jussieu.fr unstable/main Release Lecture des listes de paquets...
Trying to install abiword-gnome=2.2.7-3 Lecture des listes de paquets...
Construction de l’arbre des d´ependances...
Certains paquets ne peuvent ^etre install´es. Ceci peut signifier que vous avez demand´e l’impossible, ou bien, si vous utilisez la distribution unstable, que certains paquets n’ont pas encore ´
et´e cr´e´es ou ne sont pas sortis d’Incoming.
Puisque vous n’avez demand´e qu’une seule op´eration, le paquet n’est probablement pas installable et vous devriez envoyer un rapport de bogue. L’information suivante devrait vous aider `a r´esoudre la situation:
Les paquets suivants contiennent des d´ependances non satisfaites: abiword-gnome: D´epend: abiword-common (= 2.2.7-3) mais 2.2.9-1 devra ^etre install´e
Second test, success for abiword-gnome=2.2.7-3 abiword-common=2.2.7-3
Running apt using fake directory structure /extended/tmp/apt Populating ...done.
Creating fake configuration file Creating fake source list file Updating debian-pool cache
Atteint http://www.pps.jussieu.fr unstable/main Packages Ign http://www.pps.jussieu.fr unstable/main Release Reading Package Lists... Done
Trying to install abiword-gnome=2.2.7-3 abiword-common=2.2.7-3 Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
abiword-common abiword-gnome adduser coreutils cpp cpp-4.0 dbus-1 dbus-glib-1 debconf debconf-i18n debianutils defoma esound-common file fontconfig gcc-3.3-base gcc-4.0-base gconf2 gnome-keyring gnome-mime-data gsfonts libacl1 libart-2.0-2 libaspell15 libatk1.0-0 libattr1 libaudiofile0 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libbz2-1.0 libc6 libcap1 libcdparanoia0 libcomerr2 libcupsys2-gnutls10 libdb3
libdb4.2 libenchant1 libesd0 libexpat1 libfam0c102 libfontconfig1 libfreetype6 libfribidi0 libgcc1 libgconf2-4 libgcrypt11 libgdbm3 libglade2-0 libglib2.0-0 libgnome-keyring0 libgnome2-0
libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common libgtk2.0-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnutls11 libgpg-error0 libgtk2.0-0 libgtk2.0-bin libmyspell3 libgucharmap4 libhal-storage0 libhal0 libice6 libidl0 libjpeg62
EDOS Project: WP2D2 7.3. APT
libkrb53 libldap2 liblocale-gettext-perl liblzo1 libmagic1 libncurses5 libnewt0.51 libopencdk8 liborbit2 libpam-modules libpam-runtime libpam0g libpango1.0-0 libpango1.0-common libperl5.8 libpng12-0 libpopt0 libsasl2 libslang2 libsm6 libsmbclient libstdc++5 libstdc++6 libtasn1-2
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtiff4 libx11-6 libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2 libxrender1 login lsb-base ncurses-bin
passwd perl perl-base perl-modules sed shared-mime-info ttf-bitstream-vera ucf whiptail x11-common xlibs-data zlib1g Suggested packages:
abiword-plugins abiword-plugins-gnome abiword-doc xfs cpp-doc cpp-2.95-doc gcc-4.0-locales debconf-doc debconf-utils
libterm-readline-gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl libgnome-perl defoma-doc psfontmgr
dfontmgr aspell aspell-bin libbz2-dev bzip2 glibc-doc esound libfreetype6-dev rng-tools gnome-icon-theme gnutls-bin krb5-doc krb5-user libpam-doc ttf-kochi-gothic ttf-kochi-mincho
ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp ttf-arphic-bkai00mp libterm-readline-perl-perl x-window-system-core x-window-system
Recommended packages:
abiword-help aspell-en aspell6-dictionary abiword-gtk xfonts-abi x-ttcidfont-conf apt-utils libft-perl libatk1.0-data
esound-clients python-xmlbase libglib2.0-data gamin
hicolor-icon-theme myspell-en-us myspell-dictionary libgpmg1 libsasl2-modules xml-core perl-doc fam
The following NEW packages will be installed:
abiword-common abiword-gnome adduser coreutils cpp cpp-4.0 dbus-1 dbus-glib-1 debconf debconf-i18n debianutils defoma esound-common file fontconfig gcc-3.3-base gcc-4.0-base gconf2 gnome-keyring gnome-mime-data gsfonts libacl1 libart-2.0-2 libaspell15 libatk1.0-0 libattr1 libaudiofile0 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libbz2-1.0 libc6 libcap1 libcdparanoia0
libcupsys2-gnutls10 libdb3 libdb4.2 libenchant1 libesd0 libexpat1 libfam0c102 libfontconfig1 libfreetype6 libfribidi0 libgcc1
libgconf2-4 libgcrypt11 libgdbm3 libglade2-0 libglib2.0-0 libcomerr2 libgnome-keyring0 libgnome2-0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0
libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnutls11 libgpg-error0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgucharmap4 libhal-storage0 libhal0 libice6 libidl0 libjpeg62
libkrb53 libldap2 liblocale-gettext-perl liblzo1 libmagic1 libmyspell3 libncurses5 libnewt0.51 libopencdk8 liborbit2 libpam-modules
7.3. APT EDOS Project: WP2D2
libpng12-0 libpopt0 libsasl2 libslang2 libsm6 libsmbclient libstdc++5 libstdc++6 libtasn1-2 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtiff4 libx11-6 libxcursor1
libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2 libxrender1 login lsb-base ncurses-bin passwd perl perl-base perl-modules sed shared-mime-info ttf-bitstream-vera ucf whiptail x11-common xlibs-data zlib1g
0 packages upgraded, 130 newly installed, 0 to remove and 0 not upgraded.
Third test, different success for abiword-common=2.2.7-3 abiword-gnome=2.2.7- 3
In this case, Apt will install also libaspell15c2, which is not proposed in the previous example, despite the fact that the commands given by the users differ in the ordering of the arguments.
Running apt using fake directory structure /extended/tmp/apt Populating ...done.
Creating fake configuration file Creating fake source list file Updating debian-pool cache
Atteint http://www.pps.jussieu.fr unstable/main Packages Ign http://www.pps.jussieu.fr unstable/main Release Reading Package Lists... Done
Trying to install abiword-common=2.2.7-3 abiword-gnome=2.2.7-3 Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
abiword-common abiword-gnome adduser coreutils cpp cpp-4.0 dbus-1 dbus-glib-1 debconf debconf-i18n debianutils defoma esound-common file fontconfig
gcc-3.3-base gcc-4.0-base gconf2 gnome-keyring gnome-mime-data gsfonts libacl1 libart-2.0-2 libaspell15 libaspell15c2 libatk1.0-0 libattr1 libaudiofile0 libbonobo2-0 libbonobo2-common libbonoboui2-0
libbonoboui2-common libbz2-1.0 libc6 libcap1 libcdparanoia0 libcomerr2
libcupsys2-gnutls10 libdb3 libdb4.2 libenchant1 libesd0 libexpat1 libfam0c102 libfontconfig1 libfreetype6 libfribidi0 libgcc1 libgconf2-4 libgcrypt11 libgdbm3 libglade2-0 libglib2.0-0 libgnome-keyring0 libgnome2-0
libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0
libgnomeprintui2.2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnutls11 libgpg-error0 libgtk2.0-0
libgtk2.0-bin libgtk2.0-common libgucharmap4 libhal-storage0 libhal0 libice6 libidl0 libjpeg62 libkrb53 libldap2 liblocale-gettext-perl liblzo1 libmagic1 libmyspell3 libncurses5 libnewt0.51 libopencdk8 liborbit2 libpam-modules libpam-runtime libpam0g libpango1.0-0 libpango1.0-common libperl5.8 libpng12-0 libpopt0 libsasl2 libslang2 libsm6 libsmbclient libstdc++5 libstdc++6 libtasn1-2
libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtiff4 libx11-6 libxcursor1 libxext6 libxft2 libxi6
EDOS Project: WP2D2 7.3. APT
ncurses-bin passwd perl perl-base perl-modules sed shared-mime-info ttf-bitstream-vera ucf whiptail x11-common xlibs-data zlib1g
Suggested packages:
abiword-plugins abiword-plugins-gnome abiword-doc xfs cpp-doc cpp-2.95-doc gcc-4.0-locales debconf-doc debconf-utils
libterm-readline-gnu-perl libgnome2-perl libqt-perl libnet-ldap-perl libgnome-perl defoma-doc psfontmgr dfontmgr aspell aspell-bin
libbz2-dev bzip2 glibc-doc esound libfreetype6-dev rng-tools gnome-icon-theme gnutls-bin krb5-doc krb5-user libpam-doc ttf-kochi-gothic ttf-kochi-mincho ttf-thryomanes ttf-baekmuk ttf-arphic-gbsn00lp ttf-arphic-bsmi00lp ttf-arphic-gkai00mp
ttf-arphic-bkai00mp libterm-readline-perl-perl x-window-system-core x-window-system
Recommended packages:
abiword-help aspell-en aspell6-dictionary abiword-gtk xfonts-abi fam x-ttcidfont-conf apt-utils libft-perl libatk1.0-data esound-clients python-xmlbase libglib2.0-data gamin hicolor-icon-theme myspell-en-us myspell-dictionary libgpmg1 libsasl2-modules xml-core perl-doc
The following NEW packages will be installed:
abiword-common abiword-gnome adduser coreutils cpp cpp-4.0 dbus-1 debconf debconf-i18n debianutils defoma esound-common file fontconfig gcc-3.3-base gcc-4.0-base gconf2 gnome-keyring gnome-mime-data gsfonts libacl1 libart-2.0-2 libaspell15 libaspell15c2 libatk1.0-0 libattr1 libaudiofile0 libbonobo2-0 libbonobo2-common libbonoboui2-0 dbus-glib-1 libbonoboui2-common libbz2-1.0 libc6 libcap1 libcdparanoia0 libcomerr2 libcupsys2-gnutls10 libdb3 libdb4.2 libenchant1 libesd0 libexpat1 libfontconfig1 libfreetype6 libfribidi0 libgcc1 libgconf2-4 libgcrypt11 libgdbm3 libglade2-0 libglib2.0-0 libgnome-keyring0 libgnome2-0
libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libfam0c102 libgnomeprintui2.2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgnutls11 libgpg-error0 libgtk2.0-0 libgtk2.0-bin libgtk2.0-common libgucharmap4 libhal-storage0 libhal0 libice6 libidl0 libjpeg62 libkrb53 libldap2 liblocale-gettext-perl liblzo1 libmagic1 libmyspell3 libncurses5 libnewt0.51 libopencdk8 liborbit2 libpam-modules libpam-runtime libpam0g libpango1.0-0 libpango1.0-common libperl5.8 libpng12-0 libpopt0 libsasl2 libslang2 libsm6 libsmbclient libstdc++5 libstdc++6 libtasn1-2 libtext-charwidth-perl libtext-iconv-perl
libtext-wrapi18n-perl libtiff4 libx11-6 libxcursor1 libxext6 libxft2 libxi6 libxinerama1 libxml2 libxrandr2 libxrender1 login lsb-base ncurses-bin passwd perl perl-base perl-modules sed shared-mime-info ttf-bitstream-vera ucf whiptail x11-common xlibs-data zlib1g
7.3. APT EDOS Project: WP2D2