package wesnoth-1.8-core 1:1.8.5-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #999378 reported by Brian Neltner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wesnoth-1.8 (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

I don't have any details, this bug report program showed up while I was opening my email. Wesnoth was not running (that I know of).

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: wesnoth-1.8-core 1:1.8.5-1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Sun May 13 02:13:01 2012
DuplicateSignature:
 Setting up wesnoth-1.8-core (1:1.8.5-1) ...
 dpkg-divert: error: `diversion of /usr/games/wesnoth to /usr/games/wesnoth-old by wesnoth-1.8-core' clashes with `diversion of /usr/games/wesnoth to /usr/games/wesnoth-old by wesnoth-1.10-core'
 dpkg: error processing wesnoth-1.8-core (--configure):
  subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
SourcePackage: wesnoth-1.8
Title: package wesnoth-1.8-core 1:1.8.5-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to precise on 2012-04-28 (16 days ago)

Related branches

Revision history for this message
Brian Neltner (neltnerb) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Rhonda D'Vine (rhonda) wrote :

Actually, the divert handling in 1.10 has to get dropped. I missed that somehow when 1.10 got stable and didn't have 1.8 and 1.10 installed side-by-side. My bad. :/

I will prepare a patch for that and run it through the stable release process. In the meantime the only way around it that I can suggest is deinstall either wesnoth-1.8-core or wesnoth-1.10-core and keep the version you plan to play for the time being.

Sorry for the inconvenience,
Rhonda

Changed in wesnoth-1.8 (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Rhonda D'Vine (rhonda) wrote :

Actually, from looking closer, I've done it (almost) properly in 1.10 and never fixed the code in 1.8. If you install wesnoth-1.8 *before* you install wesnoth-1.10 (which is the usual flow of things, since wesnoth-1.8 is the older stable release ...) it works and the divert will stay with wesnoth-1.8. If you though install wesnoth-1.10 *before* you install wesnoth-1.8 you stumble into the issue. Installation order is important here, so if you want to have both versions around, first deinstall wesnoth-1.10, then install wesnoth-1.8 first and wesnoth-1.10 second.

While I don't really understand why one would install wesnoth-1.8 after installing wesnoth-1.10, the fix for wesnoth-1.10 is like mentioned above dropping the whole divert handling, which I'll prepare within the next few days. It will flow into the soonish to be uploaded 1.10.3 version, and I'll extract that part and run it through the stable update process.

Enjoy!
Rhonda

Changed in wesnoth-1.8 (Ubuntu):
importance: Medium → Low
Revision history for this message
Brian Neltner (neltnerb) wrote : Re: [Bug 999378] Re: package wesnoth-1.8-core 1:1.8.5-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Great, thanks. I discovered this solution similarly. Sorry I didn't
update the bug report, Ubuntu was doing it all automatically so I wasn't
paying a great deal of attention. I had installed Wesnoth 1.10 because
it was the most recent version, but then a friend of mine only had
Wesnoth 1.8 and we wanted to play a networked game so I tried installing
1.8 in parallel.

I guess the downfall of having multiple versions in the repositories
designed to be installed side-by-side.

Thanks for checking into it.

On Wed, 2012-05-30 at 09:09 +0000, Gerfried Fuchs wrote:
> Actually, from looking closer, I've done it (almost) properly in 1.10
> and never fixed the code in 1.8. If you install wesnoth-1.8 *before*
> you install wesnoth-1.10 (which is the usual flow of things, since
> wesnoth-1.8 is the older stable release ...) it works and the divert
> will stay with wesnoth-1.8. If you though install wesnoth-1.10 *before*
> you install wesnoth-1.8 you stumble into the issue. Installation order
> is important here, so if you want to have both versions around, first
> deinstall wesnoth-1.10, then install wesnoth-1.8 first and wesnoth-1.10
> second.
>
> While I don't really understand why one would install wesnoth-1.8 after
> installing wesnoth-1.10, the fix for wesnoth-1.10 is like mentioned
> above dropping the whole divert handling, which I'll prepare within the
> next few days. It will flow into the soonish to be uploaded 1.10.3
> version, and I'll extract that part and run it through the stable update
> process.
>
> Enjoy!
> Rhonda
>
> ** Changed in: wesnoth-1.8 (Ubuntu)
> Importance: Medium => Low
>

--
Brian T. Neltner, Ph.D.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.