Hi Even if there was an option, I wouldn't recommend it. If you need to force an overwrite, there is a bug in the package dependencies that should be corrected. You should always know what you are overwriting before doing it.
Regards Gudjon Þann Þriðjudagur 20 febrúar 2007 11:24 skrifaði Hans-J. Ullrich: > Hi all, > > sometimes, when upgrading, I get this errors. My solution is, to install > the package manually with dpkg --force-overwrite to get it installed. Is > there another solution using apt ??? > > If it is, please let me know. > > This is what happens: > > ------------ snip --------------- > > > protheus1:/home/ullhan63# LANG=C apt-get dist-upgrade > Reading package lists... Done > Building dependency tree... Done > Calculating upgrade... Done > The following packages will be upgraded: > beryl-plugins > 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > Need to get 0B/418kB of archives. > After unpacking 160kB of additional disk space will be used. > Do you want to continue [Y/n]? > (Reading database ... 255732 files and directories currently installed.) > Preparing to replace beryl-plugins 0.2.0+svn20070207-r3782+imudebian0 > (using .../beryl-plugins_0.2.0+svn20070217-r4120+imudebian0_i386.deb) ... > Unpacking replacement beryl-plugins ... > dpkg: error > processing > /var/cache/apt/archives/beryl-plugins_0.2.0+svn20070217-r4120+imudebian0_i3 >86.deb (--unpack): > trying to overwrite `/usr/lib/beryl/libgroup.so', which is also in package > beryl-plugins-extra > dpkg-deb: subprocess paste killed by signal (Broken pipe) > Errors were encountered while processing: > > /var/cache/apt/archives/beryl-plugins_0.2.0+svn20070217-r4120+imudebian0_i3 >86.deb E: Sub-process /usr/bin/dpkg returned an error code (1) > protheus1:/home/ullhan63# > > -------- snap ---------------- > > > > Thanks for your help. > > Regards > > Hans

