Bug#381607: [Pkg-texlive-maint] Bug#381607: textlive-common: Trying to overwrite file that is also in texlive-doc-base

Norbert Preining preining at logic.at
Mon Aug 7 15:25:34 UTC 2006


Hi Micah!

On Mon, 07 Aug 2006, Micah Anderson wrote:
> >> Impossible to install because of this error:
> >>
> >> dpkg: error processing
> >> /var/cache/apt/archives/texlive-common_2005-2_all.deb (--unpack):
> >>  trying to overwrite `/usr/share/doc/texlive-doc/README.RU.gz', which is
> >> also in package texlive-doc-base
> > 
> > Can you please tell me which version of texlive-doc-base you have had
> > installed? README.RU.gz is in texlive-common since texlive first entered
> > unstable, so you seem to have had some experimental versions installed.
> 
> texlive-doc-base:
>   Installed: 2005-1
>   Candidate: 2005-2
>   Version table:
>      2005-2 0
>         500 http://mirror.direct.ca unstable/main Packages
>  *** 2005-1 0
>         100 /var/lib/dpkg/status

Ok, I see. The problem is as follows:

Upgrades from -1 are not supported, -1 were experimental packages.

So please:
	- purge all texlive packages
	- reinstall the -2 packages

I thought about this and included a check for upgrades with a warning:
      echo "Upgrade from experimental versions are not supported!" >&2
      echo "Please purge all texlive packages before installation." >&2
The bug here is that the snippet of preinst code didn't end up in
texlive-doc-base, but only in texlive-common. Reason behind: Before
texlive-doc-base was at the bottom of the dependency tree. For -2 I
created texlive-common and moved the code there, which was a bug, as
there was never a version texlive-common 2005-2.

Next version will have the preinst code for upgrade in all packages.

Thanks for insisting. And yes, purging all the texlive packages is the
best idea, as some link canged to files and other way round from the
experimantal packages to the unstable ones.

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
FARRANCASSIDY (n.)
A long and ultimately unsuccessful attempt to undo someone's bra.
			--- Douglas Adams, The Meaning of Liff




More information about the Pkg-texlive-maint mailing list