I'm trying to understand *why* a package was downgraded: I was installing Bricolage that depends on a bunch of Perl modules, one of which is libclass-container-perl.
In debian sid there is: $ apt-cache show libclass-container-perl | grep Filename Filename: pool/main/libc/libclass-container-perl/libclass-container-perl_0.07-1_all.deb Note the version. But Bricolage install says it needs a newer version: Checking that Class::Container version is >= 0.09... not ok. Ok, so I grab the latest version from CPAN (Class-Container-0.10.tar.gz) and use dh-make-perl and it creates this .deb: libclass-container-perl_0.1-1_all.deb Notice that the version number is now 0.10. After installing I've got trouble: You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: libhtml-mason-perl: Depends: libclass-container-perl (>= 0.07-1) but 0.1-1 is to be installed libmodule-build-perl: Depends: libarchive-tar-perl (>= 1.0.0) but it is not going to be installed Depends: libextutils-parsexs-perl (>= 2.02) but it is not going to be installed So, I follow the advice and it looks like the package is *downgraded*. $ apt-get -f install Reading Package Lists... Done Building Dependency Tree... Done Correcting dependencies... Done The following extra packages will be installed: libclass-container-perl The following packages will be upgraded libclass-container-perl 1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded. Need to get 0B/24.4kB of archives. After unpacking 49.2kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 90973 files and directories currently installed.) Preparing to replace libclass-container-perl 0.1-1 (using .../libclass-container-perl_0.07-1_all.deb) ... Unpacking replacement libclass-container-perl ... Setting up libclass-container-perl (0.07-1) ... So why did dpkg *downgrade* form 0.10 to 0.07? -- Bill Moseley [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]