> 2008/4/7, Nikita V. Youshchenko <[EMAIL PROTECTED]>: > > > 2008/4/4, Nikita V. Youshchenko <[EMAIL PROTECTED]>: > > > > Martin Schr?der wrote: > > > > > I'm trying to create a package that will when installed > > > > > automatically replace all TeX packages on the system with our > > > > > version of TeX. > > > > > > > > Don't all debian tex packages depend, directly or indirectly, on > > > > tetex-base or texlive-base? You probably could create your own > > > > -base package that conflicts with those, and then pre-depend on > > > > it? > > > > > > And then I'd get a conflict when installing that package. > > > > Why? > > > > Won't apt-get/aptitude handle proper removal/installation actions for > > you? > > If I do this: > ------------ > Conflicts: texlive-common > ------------ > I get this: > ------------ > [EMAIL PROTECTED]:~$ LANG=C sudo dpkg --dry-run -i > /tmp/qstex-1.0.0-4-i386.deb dpkg: regarding /tmp/qstex-1.0.0-4-i386.deb > containing qstex: > qstex conflicts with texlive-common > texlive-common (version 2007-10) is present and installed. > dpkg: error processing /tmp/qstex-1.0.0-4-i386.deb (--install): > conflicting packages - not installing qstex
Sure. Try istead this: - mkdir /var/lib/packages - copy all your debs to /var/lib/packages - (cd /var/lib/packages && dpkg-scanpackages . /dev/null >Packages) ignore any messages about missing packages in override file - add 'deb file:/var/lib/packages/' to /etc/apt/sources.list - apt-get update - try installing your packages with apt-get install -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]