Package: x11-common Version: 6.8.2.dfsg.1-11 Hi,
I just tried to do an apt-get dist-upgrade. When it came to upgrading x11-common I got the message that /usr/X11R6/bin is not empty and that I should empty it and run the installation again. So I did and got the following error message: Preparing to replace x11-common 6.8.2.dfsg.1-11 (using .../x11-common_1%3a7.0.20_i386.deb) ... Unpacking replacement x11-common ... dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb (--unpack): trying to overwrite `/usr/X11R6/bin', which is also in package grace Errors were encountered while processing: /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) I then ran dpkg --configure -a, followed by apt-get -f install This time the error message was: Unpacking replacement x11-common ... dpkg: error processing /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb (--unpack): trying to overwrite `/usr/X11R6/bin', which is also in package grace x11-common postinst warning: /usr/include/X11 symbolic link does not exist Analyzing /usr/include/X11: drwxr-xr-x 14 root root 4096 2005-12-21 10:13 /usr drwxr-xr-x 61 root root 8192 2006-06-11 22:39 /usr/include /usr/include/X11: nonexistent; directory contents of /usr/include/: total 2288 -rw-r--r-- 1 root root 1849 2005-03-29 10:08 af_vfs.h -rw-r--r-- 1 root root 7135 2006-05-31 02:43 aio.h drwxr-xr-x 2 root root 4096 2005-12-22 08:01 AL -rw-r--r-- 1 root root 2115 2006-05-31 02:44 aliases.h -rw-r--r-- 1 root root 1289 2006-05-31 02:43 alloca.h -rw-r--r-- 1 root root 4351 2006-05-31 02:43 a.out.h -rw-r--r-- 1 root root 26446 2006-05-31 02:43 argp.h -rw-r--r-- 1 root root 7299 2006-05-31 02:43 argz.h -rw-r--r-- 1 root root 1792 2006-05-31 02:43 ar.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 arpa drwxr-xr-x 10 root root 8192 2005-12-21 04:31 asm drwxr-xr-x 2 root root 4096 2005-12-21 04:31 asm-generic drwxr-xr-x 10 root root 4096 2005-12-21 04:31 asm-i486 drwxr-xr-x 2 root root 4096 2005-12-21 04:31 asm-x86_64 -rw-r--r-- 1 root root 3607 2006-05-31 02:43 assert.h drwxr-xr-x 3 root root 4096 2005-12-29 11:20 atk-1.0 -rw-r--r-- 1 root root 23839 2005-03-29 10:08 audiofile.h -rw-r--r-- 1 root root 1633 2005-03-29 10:08 aupvlist.h -rw-r--r-- 1 root root 2284 2005-07-06 12:33 autosprintf.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 bits drwxr-xr-x 2 root root 4096 2005-04-21 04:09 boost -rw-r--r-- 1 root root 1489 2006-05-31 02:43 byteswap.h -rw-r--r-- 1 root root 7833 2005-11-23 17:01 bzlib.h drwxr-xr-x 5 root root 4096 2006-06-11 18:49 c++ drwxr-xr-x 2 root root 4096 2005-12-29 11:21 cairo -rw-r--r-- 1 root root 3344 2006-05-31 02:43 complex.h -rw-r--r-- 1 root root 2335 2006-05-31 02:43 cpio.h -rw-r--r-- 1 root root 2341 2006-05-31 02:43 crypt.h -rw-r--r-- 1 root root 11282 2006-05-31 02:43 ctype.h -rw-r--r-- 1 root root 6582 2005-10-14 17:21 cursesapp.h -rw-r--r-- 1 root root 27630 2005-10-14 17:21 cursesf.h -rw-r--r-- 1 root root 59095 2005-10-14 17:21 curses.h -rw-r--r-- 1 root root 19486 2005-10-14 17:21 cursesm.h -rw-r--r-- 1 root root 8430 2005-10-14 17:21 cursesp.h -rw-r--r-- 1 root root 45070 2005-10-14 17:21 cursesw.h -rw-r--r-- 1 root root 7304 2005-10-14 17:21 cursslk.h -rw-r--r-- 1 root root 5657 2005-10-30 14:11 db_185.h -rw-r--r-- 1 root root 51043 2005-10-30 14:11 db.h -rw-r--r-- 1 root root 22854 2005-11-08 13:34 dialog.h -rw-r--r-- 1 root root 10659 2006-05-31 02:43 dirent.h -rw-r--r-- 1 root root 6403 2006-05-31 02:43 dlfcn.h -rw-r--r-- 1 root root 5801 2005-11-08 13:34 dlg_colors.h -rw-r--r-- 1 root root 2673 2005-11-08 13:34 dlg_config.h -rw-r--r-- 1 root root 106663 2006-05-31 02:44 elf.h -rw-r--r-- 1 root root 2112 2006-05-31 02:43 endian.h -rw-r--r-- 1 root root 2962 2006-05-31 02:43 envz.h -rw-r--r-- 1 root root 2313 2006-05-31 02:43 err.h -rw-r--r-- 1 root root 2452 2006-05-31 02:43 errno.h -rw-r--r-- 1 root root 2649 2006-05-31 02:43 error.h -rw-r--r-- 1 root root 12302 2005-06-25 19:14 esd.h -rw-r--r-- 1 root root 2891 2005-10-14 17:21 eti.h -rw-r--r-- 1 root root 8824 2005-10-14 17:21 etip.h -rw-r--r-- 1 root root 1685 2006-05-31 02:43 execinfo.h -rw-r--r-- 1 root root 2668 2005-04-19 23:19 expat_config.h -rw-r--r-- 1 root root 2846 2005-04-19 23:19 expat_external.h -rw-r--r-- 1 root root 40115 2005-04-19 23:19 expat.h -rw-r--r-- 1 root root 5943 2006-05-31 02:43 fcntl.h -rw-r--r-- 1 root root 11286 2006-05-31 02:42 features.h -rw-r--r-- 1 root root 4670 2006-05-31 02:43 fenv.h -rw-r--r-- 1 root root 6163 2005-08-08 01:53 FlexLexer.h -rw-r--r-- 1 root root 3329 2006-05-31 02:43 fmtmsg.h -rw-r--r-- 1 root root 2530 2006-05-31 02:43 fnmatch.h drwxr-xr-x 2 root root 4096 2005-12-29 11:21 fontconfig -rw-r--r-- 1 root root 17190 2005-10-14 17:21 form.h -rw-r--r-- 1 root root 3291 2006-05-31 02:43 fpu_control.h drwxr-xr-x 3 root root 4096 2005-12-22 07:59 freetype2 -rw-r--r-- 1 root root 3115 2006-05-31 02:43 fstab.h -rw-r--r-- 1 root root 3890 2006-05-19 17:29 ft2build.h -rw-r--r-- 1 root root 5290 2006-05-31 02:43 fts.h -rw-r--r-- 1 root root 5360 2006-05-31 02:43 ftw.h -rw-r--r-- 1 root root 5493 2005-12-01 13:20 g2c.h drwxr-xr-x 3 root root 8192 2005-04-21 04:06 g++-3 -rw-r--r-- 1 root root 2672 2006-05-31 02:43 _G_config.h -rw-r--r-- 1 root root 5311 2006-05-31 02:42 gconv.h drwxr-xr-x 2 root root 4096 2005-04-20 02:46 gdkcardimage -rw-r--r-- 1 root root 5660 2005-11-07 01:54 gdk_imlib.h -rw-r--r-- 1 root root 7133 2005-11-07 01:54 gdk_imlib_private.h -rw-r--r-- 1 root root 3108 2005-11-07 01:54 gdk_imlib_types.h -rw-r--r-- 1 root root 6125 2006-05-31 02:43 getopt.h -rw-r--r-- 1 root root 10440 2005-07-06 12:33 gettext-po.h drwxr-xr-x 2 root root 4096 2005-12-27 08:08 GL drwxr-xr-x 2 root root 4096 2005-12-29 11:20 glib-1.2 drwxr-xr-x 4 root root 4096 2006-06-11 18:44 glib-2.0 -rw-r--r-- 1 root root 6970 2006-05-31 02:43 glob.h drwxr-xr-x 8 root root 4096 2005-12-29 11:21 gnome-1.0 drwxr-xr-x 2 root root 4096 2006-06-11 18:44 gnu -rw-r--r-- 1 root root 2416 2006-05-31 02:42 gnu-versions.h -rw-r--r-- 1 root root 2107 2005-09-10 16:08 grace_np.h -rw-r--r-- 1 root root 6868 2006-05-31 02:43 grp.h drwxr-xr-x 2 root root 4096 2005-04-21 03:53 gsl drwxr-xr-x 4 root root 4096 2005-12-29 11:20 gtk-1.2 drwxr-xr-x 6 root root 4096 2005-12-29 11:21 gtk-2.0 -rw-r--r-- 1 root root 40376 2004-10-19 22:57 icc34.h -rw-r--r-- 1 root root 1949 2006-05-31 02:42 iconv.h -rw-r--r-- 1 root root 4982 2006-05-31 02:43 ieee754.h -rw-r--r-- 1 root root 2902 2006-05-31 02:44 ifaddrs.h -rw-r--r-- 1 root root 2076 2005-10-02 05:50 initreq.h -rw-r--r-- 1 root root 12693 2006-05-31 02:43 inttypes.h drwxr-xr-x 2 root root 4096 2005-12-22 07:59 jasper -rw-r--r-- 1 root root 1216 2005-03-02 07:26 jconfig.h -rw-r--r-- 1 root root 13989 2005-03-02 07:26 jerror.h -rw-r--r-- 1 root root 5794 2006-02-11 16:58 jikesapi.h -rw-r--r-- 1 root root 12458 2005-03-02 07:26 jmorecfg.h -rw-r--r-- 1 root root 15712 2005-03-02 07:26 jpegint.h -rw-r--r-- 1 root root 46274 2005-03-02 07:26 jpeglib.h drwxr-xr-x 2 root root 4096 2005-12-21 10:19 kde -rw-r--r-- 1 root root 15649 2006-05-31 02:42 langinfo.h -rw-r--r-- 1 root root 126 2006-05-31 02:44 lastlog.h -rw-r--r-- 1 root root 66245 2004-10-19 22:57 lcms.h drwxr-xr-x 2 root root 4096 2005-12-22 07:59 libexif -rw-r--r-- 1 root root 1465 2006-05-31 02:43 libgen.h drwxr-xr-x 3 root root 4096 2005-04-20 02:45 libglade-1.0 drwxr-xr-x 3 root root 4096 2005-12-29 11:21 libIDL-1.0 -rw-r--r-- 1 root root 4610 2006-05-31 02:43 libintl.h -rw-r--r-- 1 root root 17433 2006-05-31 02:43 libio.h lrwxrwxrwx 1 root root 8 2005-12-22 07:59 libpng -> libpng12 drwxr-xr-x 2 root root 4096 2005-12-22 07:59 libpng12 drwxr-xr-x 3 root root 4096 2005-12-22 07:59 libwmf drwxr-xr-x 3 root root 4096 2005-12-22 07:59 libxml2 -rw-r--r-- 1 root root 4550 2006-05-31 02:42 limits.h -rw-r--r-- 1 root root 4581 2006-05-31 02:44 link.h drwxr-xr-x 18 root root 32768 2005-12-21 04:31 linux -rw-r--r-- 1 root root 8052 2006-05-31 02:42 locale.h -rw-r--r-- 1 root root 11878 2005-09-25 10:53 ltdl.h drwxr-xr-x 2 root root 4096 2005-12-22 07:59 magick -rw-r--r-- 1 root root 7661 2006-05-31 02:43 malloc.h -rw-r--r-- 1 root root 14778 2006-05-31 02:43 math.h -rw-r--r-- 1 root root 2521 2006-05-31 02:43 mcheck.h -rw-r--r-- 1 root root 1029 2006-05-31 02:43 memory.h -rw-r--r-- 1 root root 11865 2005-10-14 17:21 menu.h -rw-r--r-- 1 root root 3465 2006-05-31 02:43 mntent.h -rw-r--r-- 1 root root 1747 2006-05-31 02:43 monetary.h -rw-r--r-- 1 root root 3612 2006-05-31 02:43 mqueue.h -rw-r--r-- 1 root root 1559 2005-10-14 17:21 ncurses_dll.h lrwxrwxrwx 1 root root 8 2005-12-21 09:32 ncurses.h -> curses.h drwxr-xr-x 2 root root 4096 2005-12-21 09:34 ncursesw drwxr-xr-x 2 root root 4096 2006-06-11 18:44 net drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netash drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netatalk drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netax25 -rw-r--r-- 1 root root 26913 2006-05-31 02:43 netdb.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 neteconet drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netinet drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netipx drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netpacket drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netrom drwxr-xr-x 2 root root 4096 2006-06-11 18:44 netrose drwxr-xr-x 2 root root 4096 2006-06-11 18:44 nfs -rw-r--r-- 1 root root 1842 2006-05-31 02:43 nl_types.h drwxr-xr-x 3 root root 4096 2006-06-11 18:44 nptl -rw-r--r-- 1 root root 1730 2006-05-31 02:43 nss.h -rw-r--r-- 1 root root 19010 2006-05-31 02:43 obstack.h drwxr-xr-x 6 root root 4096 2005-12-29 11:21 orbit-1.0 -rw-r--r-- 1 root root 3713 2005-10-14 17:21 panel.h drwxr-xr-x 3 root root 4096 2005-12-29 11:21 pango-1.0 -rw-r--r-- 1 root root 2946 2006-05-31 02:43 paths.h lrwxrwxrwx 1 root root 18 2005-12-22 07:59 pngconf.h -> libpng12/pngconf.h lrwxrwxrwx 1 root root 14 2005-12-22 07:59 png.h -> libpng12/png.h -rw-r--r-- 1 root root 22 2006-05-31 02:43 poll.h -rw-r--r-- 1 root root 15982 2004-08-29 11:38 popt.h -rw-r--r-- 1 root root 5103 2006-05-31 02:43 printf.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 protocols -rw-r--r-- 1 root root 24974 2006-05-31 02:43 pthread.h -rw-r--r-- 1 root root 1574 2006-05-31 02:44 pty.h -rw-r--r-- 1 root root 6079 2006-05-31 02:43 pwd.h drwxr-xr-x 3 root root 4096 2005-12-21 10:22 python2.1 drwxr-xr-x 5 root root 4096 2005-12-21 10:22 python2.3 -rw-r--r-- 1 root root 1024 2006-05-31 02:43 re_comp.h -rw-r--r-- 1 root root 22335 2006-05-31 02:43 regex.h -rw-r--r-- 1 root root 6969 2006-05-31 02:43 regexp.h -rw-r--r-- 1 root root 14184 2006-05-31 02:43 resolv.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 rpc drwxr-xr-x 2 root root 4096 2006-06-11 18:44 rpcsvc -rw-r--r-- 1 root root 2989 2006-05-31 02:43 sched.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 scsi -rw-r--r-- 1 root root 5318 2006-05-31 02:43 search.h -rw-r--r-- 1 root root 2864 2006-05-31 02:43 semaphore.h -rw-r--r-- 1 root root 4041 2006-05-31 02:43 setjmp.h -rw-r--r-- 1 root root 1431 2006-05-31 02:43 sgtty.h -rw-r--r-- 1 root root 5302 2006-05-31 02:43 shadow.h -rw-r--r-- 1 root root 13312 2006-05-31 02:43 signal.h drwxr-xr-x 2 root root 4096 2005-04-23 09:15 sound -rw-r--r-- 1 root root 6749 2006-05-31 02:43 spawn.h -rw-r--r-- 1 root root 264 2006-05-31 02:43 stab.h -rw-r--r-- 1 root root 8545 2006-05-31 02:43 stdint.h -rw-r--r-- 1 root root 2873 2006-05-31 02:43 stdio_ext.h -rw-r--r-- 1 root root 27936 2006-05-31 02:43 stdio.h -rw-r--r-- 1 root root 33872 2006-05-31 02:43 stdlib.h -rw-r--r-- 1 root root 16281 2006-05-31 02:43 string.h -rw-r--r-- 1 root root 2500 2006-05-31 02:43 strings.h -rw-r--r-- 1 root root 3111 2006-05-31 02:44 stropts.h drwxr-xr-x 2 root root 4096 2006-06-11 18:44 sys -rw-r--r-- 1 root root 25 2006-05-31 02:43 syscall.h -rw-r--r-- 1 root root 5232 2006-05-31 02:43 sysexits.h -rw-r--r-- 1 root root 24 2006-05-31 02:43 syslog.h -rw-r--r-- 1 root root 3771 2006-05-31 02:43 tar.h drwxr-xr-x 6 root root 4096 2005-04-21 04:08 tcl8.3 -rw-r--r-- 1 root root 9089 2005-03-11 19:39 tcpd.h -rw-r--r-- 1 root root 3470 2005-10-14 17:21 termcap.h -rw-r--r-- 1 root root 37857 2005-10-14 17:21 term.h -rw-r--r-- 1 root root 214 2006-05-31 02:43 termio.h -rw-r--r-- 1 root root 3611 2006-05-31 02:43 termios.h -rw-r--r-- 1 root root 17565 2006-05-31 02:43 tgmath.h -rw-r--r-- 1 root root 16071 2006-05-31 02:44 thread_db.h -rw-r--r-- 1 root root 2754 2005-10-07 11:01 tiffconf.h -rw-r--r-- 1 root root 29980 2005-10-07 11:01 tiff.h -rw-r--r-- 1 root root 19170 2005-10-07 11:01 tiffio.h -rw-r--r-- 1 root root 1610 2005-10-07 11:01 tiffio.hxx -rw-r--r-- 1 root root 410 2005-10-07 11:01 tiffvers.h -rw-r--r-- 1 root root 13450 2006-05-31 02:43 time.h -rw-r--r-- 1 root root 1101 2004-10-17 05:14 tls.h -rw-r--r-- 1 root root 2496 2006-05-31 02:43 ttyent.h -rw-r--r-- 1 root root 2015 2006-05-31 02:43 ucontext.h -rw-r--r-- 1 root root 1657 2006-05-31 02:43 ulimit.h -rw-r--r-- 1 root root 3005 2005-10-14 17:21 unctrl.h -rw-r--r-- 1 root root 37988 2006-05-31 02:43 unistd.h -rw-r--r-- 1 root root 23 2006-05-31 02:43 ustat.h -rw-r--r-- 1 root root 1603 2006-05-31 02:43 utime.h -rw-r--r-- 1 root root 3334 2006-05-31 02:44 utmp.h -rw-r--r-- 1 root root 4203 2006-05-31 02:44 utmpx.h -rw-r--r-- 1 root root 2029 2006-05-31 02:42 values.h -rw-r--r-- 1 root root 22 2006-05-31 02:43 wait.h drwxr-xr-x 2 root root 4096 2005-12-22 07:59 wand -rw-r--r-- 1 root root 29070 2006-05-31 02:43 wchar.h -rw-r--r-- 1 root root 11728 2006-05-31 02:43 wctype.h -rw-r--r-- 1 root root 2592 2006-05-31 02:43 wordexp.h drwxr-xr-x 2 root root 4096 2005-12-21 10:54 xchat -rw-r--r-- 1 root root 1684 2006-05-31 02:42 xlocale.h -rw-r--r-- 1 root root 9544 2006-03-06 17:19 zconf.h -rw-r--r-- 1 root root 66415 2006-03-06 17:19 zlib.h Searching for overlapping packages... dpkg: error while cleaning up: subprocess post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/x11-common_1%3a7.0.20_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) I tried creating the /usr/include/X11 as a proper directory, but runnig apt-get -f install only deleted it. Then I found out that the symlink should be pointing to /usr/X11R6/include/X11, but creating that manually just got deleted again. Here is my /etc/apt/sources.list: deb http://ftp.us.debian.org/debian/ unstable main non-free contrib deb-src http://ftp.us.debian.org/debian/ unstable main non-free contrib deb http://ftp.us.debian.org/debian/ testing main non-free contrib deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib #deb http://non-us.debian.org/debian-non-US testing/non-US Main contrib non-free #deb-src http://non-us.debian.org/debian-non-US testing/non-US main contrib non-free deb http://security.debian.org/ testing/updates main contrib non-free deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free My current kernel version: uname -a Linux potato 2.6.12.1 #3 Wed Nov 9 22:52:40 EST 2005 i686 GNU/Linux libc-6: Version: 2.3.6-13 Any suggestions? Thanks, Kaloyan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]