Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to use live-build to create a remix of ubuntu 12.04. My goal is a bootable liveusb that can install the base ubuntu system plus my custom packages. I am using live-build with the following config options:

 lb config --mode ubuntu --distribution precise --hostname livecd --username livecduser --archive-areas "main contrib" --binary-images iso-hybrid --architecture amd64 --debian-installer live

For some reason it fails with the following error:

Building dependency tree... Done
E: Unable to locate package console-common
P: Begin unmounting filesystems...

Strangely:

apt-cache search console-common
console-common - basic infrastructure for text console configuration

Anyone have thoughts or guidance on why this is failing?

share|improve this question

2 Answers 2

You've only enabled the main and contrib areas, but the console-common package is provided by the Universe repository. Try --archive-areas "main universe contrib" instead.

$ apt-cache policy console-common
console-common:
  Installed: (none)
  Candidate: 0.7.85
  Version table:
     0.7.85 0
        500 http://nl.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages
share|improve this answer
    
I just tried it again. I deleted the entire folder, created a new one and ran lb config with archive-areas "main universe contrib", then sudo lb build and got the same thing. I did the same procedure including multiverse (why not?) and got the same result. Any other thoughts? Could one of my other settings be screwing it up somehow? –  Mike Williamson May 2 '12 at 15:10
    
What mirror are you using? Can you add more details (output) to your question? –  Lekensteyn May 2 '12 at 15:23

Hi I had the same issue as you and the most that I find is to put directly the .deb downloading in ubuntu in the packages.chroot directory (if you have the 3.0 version) and if you need an other package for dependances do the same.

share|improve this answer
    
The answer is not clear. –  saji89 Oct 22 '12 at 8:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.