Goswin von Brederlow a écrit : > If you see a removal attempt that fails and aborts the upgrading then > it shouldn't be dpkgs doing. Could it be that one of the maintainer > scripts attempts to clean up and calls rmdir?
dpkg: warning - unable to delete old file `/usr/share/doc/httrack/html/server/sfx': Directory not empty dpkg: warning - unable to delete old file `/usr/share/doc/httrack/html/server': Directory not empty There are no specific script to cleanup - everything is done by dh_* scripts. *BUT* note that /usr/share/doc/httrack/html is actually a simlink to ../../httrack/html (the reason is BUG 362836, which pointed that "Packages must not require the existence of any files in /usr/share/doc/ in order to function", and hence creating this simlink allow to respect DFSG without breaking the package) Note that not only dpkg is issuing a warning, but also dies some time later in horrible screams: dpkg: error processing webhttrack (--install): package webhttrack is not ready for configuration cannot configure (current status `config-files') Just trying the 'dpkg -i' command again is solving the issue, but, err, this isn't something clean I guess. I rechecked the package debian/ files, and I still don't understand where I screwed up. Full log: --------- linux:~# dpkg -i /tmp/old/*.deb Selecting previously deselected package httrack-doc. (Reading database ... 95905 files and directories currently installed.) Unpacking httrack-doc (from .../httrack-doc_3.40.4-1_all.deb) ... Selecting previously deselected package httrack. Unpacking httrack (from .../old/httrack_3.40.4-1_i386.deb) ... Selecting previously deselected package libhttrack-dev. Unpacking libhttrack-dev (from .../libhttrack-dev_3.40.4-1_i386.deb) ... Selecting previously deselected package libhttrack1. Unpacking libhttrack1 (from .../libhttrack1_3.40.4-1_i386.deb) ... Selecting previously deselected package proxytrack. Unpacking proxytrack (from .../proxytrack_3.40.4-1_i386.deb) ... Selecting previously deselected package webhttrack. Unpacking webhttrack (from .../webhttrack_3.40.4-1_i386.deb) ... Setting up httrack-doc (3.40.4-1) ... Setting up libhttrack1 (3.40.4-1) ... Setting up proxytrack (3.40.4-1) ... Setting up webhttrack (3.40.4-1) ... Setting up httrack (3.40.4-1) ... Setting up libhttrack-dev (3.40.4-1) ... linux:~# dpkg -i /tmp/new/*.deb dpkg: considering removing webhttrack in favour of httrack-doc ... dpkg: yes, will remove webhttrack in favour of httrack-doc. (Reading database ... 96188 files and directories currently installed.) Preparing to replace httrack-doc 3.40.4-1 (using .../httrack-doc_3.41.6-1_all.deb) ... Unpacking replacement httrack-doc ... Preparing to replace httrack 3.40.4-1 (using .../new/httrack_3.41.6-1_i386.deb) ... Unpacking replacement httrack ... Preparing to replace libhttrack-dev 3.40.4-1 (using .../libhttrack-dev_3.41.6-1_i386.deb) ... Unpacking replacement libhttrack-dev ... Preparing to replace libhttrack1 3.40.4-1 (using .../libhttrack1_3.41.6-1_i386.deb) ... Unpacking replacement libhttrack1 ... Preparing to replace proxytrack 3.40.4-1 (using .../proxytrack_3.41.6-1_i386.deb) ... Unpacking replacement proxytrack ... Unpacking webhttrack (from .../webhttrack_3.41.6-1_i386.deb) ... dpkg: warning - unable to delete old file `/usr/share/doc/httrack/html/server/sfx': Directory not empty dpkg: warning - unable to delete old file `/usr/share/doc/httrack/html/server': Directory not empty Setting up httrack-doc (3.41.6-1) ... Setting up libhttrack1 (3.41.6-1) ... Setting up proxytrack (3.41.6-1) ... dpkg: error processing webhttrack (--install): package webhttrack is not ready for configuration cannot configure (current status `config-files') Setting up httrack (3.41.6-1) ... Setting up libhttrack-dev (3.41.6-1) ... Errors were encountered while processing: webhttrack --- Xavier Roche roche at httrack dot com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]