Wrong package version installed in target

Bug #159298 reported by Steve Magoun
4
Affects Status Importance Assigned to Milestone
Moblin Image Creator
Fix Released
Undecided
John L. Villalovos

Bug Description

I have image-creator set up to pull from a private repository in addition to a gutsy mirror. One of the packages in the private repository is a new version of wpasupplicant. When I create an image, the wrong version of wpasupplicant gets installed into the target. If I change into the target chroot and run 'apt-get update && apt-get upgrade', apt finds and installs the right version of wpasupplicant - so I know that image-creator sees my repository and that my version of wpasupplicant is versioned correctly.

I think the problem is:
* wpasupplicant is installed into the target by debootstrap
* debootstrap can only pull from a single repository, so it pulls from the gutsy mirror (and therefore gets the old version)

I believe this problem affects all packages pulled in by debootstrap - I don't think it's specific to wpasupplicant.

To fix, image-creator should automatically run 'apt-get update && apt-get upgrade' after running debootstrap.

Revision history for this message
Steve Magoun (smagoun) wrote :

The patch put into MIC almost works - it needs to include '-y --force-yes' when running 'apt-get upgrade' (see attached patch)

Changed in moblin-image-creator:
assignee: nobody → happycamp
status: New → Fix Released
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.