[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dist-upgrade: "trying to overwrite" errors



On Tue, Nov 26, 2002 at 12:10:21PM -0600, will trillich wrote:
> On Tue, Nov 26, 2002 at 12:59:41PM -0500, Derrick 'dman' Hudson wrote:
> > The potential workaround, if you really know what you're doing, is to
> > modify dpkg's database so that it doesn't know the other package
> > contains the file.  I had to do this to install both j2sdk1.3 and
> > j2sdk1.4 from blackdown.  The file to edit is
> > /var/lib/dpkg/info/<pkgname>.list.
> 
> ah, well, i don't know enough to even be dangerous there. i
> thought apt (or dpkg) was supposed to handle the
> inter-dependencies of things like this without a newbie having
> to know all that stuff.
> 
> if "apt-get dist-upgrade" is stuck with "trying to overwrite"
> errors, what's the newbie-friendly solution?

Use 'dpkg -i --force-overwrite' with the .deb in question. (As with all
--force options, of course, don't overuse it.)

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: