On 2006-05-15 09:06:33 +0200, Eduard Bloch wrote: > - present a list to the user, saying what the remaining files are and > where they do come from (package names to be easily removed by $user)
The user can remove these packages. But this is not sufficient, as the user could re-add them later. For instance: $ ll /usr/X11R6 total 8 lrwxrwxrwx 1 root root 8 2006-05-15 04:37:15 bin -> /usr/bin/ drwxr-xr-x 3 root root 4096 2006-05-04 15:53:51 include/ drwxr-xr-x 3 root root 4096 2006-05-04 16:01:19 lib/ # dpkg -i opera_9.0-20060411.6-shared-qt_en_etch_i386.deb $ ll /usr/X11R6 total 8 lrwxrwxrwx 1 root root 8 2006-05-15 04:37:15 bin -> /usr/bin/ drwxr-xr-x 3 root root 4096 2006-05-04 15:53:51 include/ drwxr-xr-x 3 root root 4096 2006-05-04 16:01:19 lib/ At this point there's no problem. But: # dpkg --purge opera $ ll /usr/X11R6 total 8 drwxr-xr-x 3 root root 4096 2006-05-04 15:53:51 include/ drwxr-xr-x 3 root root 4096 2006-05-04 16:01:19 lib/ The symbolic link has disappeared. IMHO, the problem is that x11-common doesn't contain a reference to it, so that dpkg thinks that this symlink is no longer useful. I don't know if this is true or not. But this will make upgrades fail: # dpkg -i opera_9.0-20060411.6-shared-qt_en_etch_i386.deb $ ll /usr/X11R6 total 12 drwxr-xr-x 2 root root 4096 2006-05-15 11:30:31 bin/ drwxr-xr-x 3 root root 4096 2006-05-04 15:53:51 include/ drwxr-xr-x 3 root root 4096 2006-05-04 16:01:19 lib/ And the next x11-common upgrade will complain that /usr/X11R6/bin is not empty. -- Vincent Lefèvre <[EMAIL PROTECTED]> - Web: <http://www.vinc17.org/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/> Work: CR INRIA - computer arithmetic / SPACES project at LORIA