A hook at the configure task worked, the syntax I used was - chroot /target aptitude -o Dpkg::Options::=--force-overwrite install package Thanks, Dave
On Thu, Jan 21, 2010 at 11:40 AM, Thomas Lange < [email protected]> wrote: > >>>>> On Thu, 21 Jan 2010 11:28:44 -0500, David Ward <[email protected]> > said: > > > I have a custom deb that conflicts with something in my kernel deb > (which I > > don't wish to mess with). I'm wanting to do --force-overwrite. > Anyone have > > a suggestion? Maybe there's a way to download the package from my > local > > repository so I can install it later manually from a class? > There's a unpack feature in install_packages, that downloads and > unpacks but does not configure a package. I guess this would also fail > if there are conflicting files or packages. I think the easiest way is > to write a hook, which calls > > aptitude -o Dpkg::force-overwrite=yes install <package name> > > I hope this works. > -- > regards Thomas >
