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

Micah Anderson micah at riseup.net
Mon Aug 7 18:04:54 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Norbert Preining wrote:
> 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.

I do not recall installing texlive-doc-base from experimental, however,
I do not see where else I could have gotten it from, as I don't see -1
uploaded to unstable ever.

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

This works, I'm going to close this bug.

> 
> 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.

Great, I'm glad something good came out of this, instead of me just
wasting your time :)

Micah
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE14DG9n4qXRzy1ioRAvMYAJ4oSWEynQ0DguwTCvdsjk5qYw3VlQCcCTLx
IT202cMKi6iAwFeL3ZFHoxY=
=kYUV
-----END PGP SIGNATURE-----




More information about the Pkg-texlive-maint mailing list