LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-31-2012, 02:35 PM   #1
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10
Blog Entries: 1

Rep: Reputation: Disabled
error in live CD creation using live-build on Squeeze


I'm creating a live CD of Debian using live-build over a Squeeze distribution of Debian. The command I use for configuration is:

lb config -d squeeze --mirror-binary "http://10.8.91.37/debian/" --mirror-bootstrap "http://10.8.91.37/debian/" --mirror-chroot "http://10.8.91.37/debian/" --mirror-chroot-security "http://10.8.91.37/debian-security/" -p gnome-core --debian-installer live --debian-installer-distribution squeeze --binary-filesystem fat32 --apt apt --linux-flavours 486 --binary-indices disabled --memtest memtest86+ --apt-recommends disabled --win32-loader disabled --apt-secure disabled

The I type: "lb build" and I get the following error:

WARNING: The following packages cannot be authenticated!
libpam-modules libpam-runtime libpam0g tzdata libssl0.9.8
E: There are problems and -y was used without --force-yes

Here is the entire output of the command:

root@projectdeb:/home/adrian/live# lb build
P: Setting up cleanup function
P: Begin caching bootstrap stage...
P: Begin bootstrapping system...
W: skipping bootstrap
P: Begin caching bootstrap stage...
P: Begin unmounting filesystems...
P: Setting up cleanup function
P: Begin caching chroot stage...
P: Begin mounting /dev/pts...
P: Begin mounting /proc...
P: Begin mounting /sys...
P: Configuring file /etc/debian_chroot
P: Configuring file /sbin/start-stop-daemon
P: Configuring file /usr/sbin/policy-rc.d
P: Configuring file /usr/sbin/initctl
P: Configuring file /etc/hosts
P: Configuring file /etc/resolv.conf
P: Configuring file /etc/hostname
P: Configuring file /bin/hostname
P: Configuring file /etc/apt/apt.conf
P: Configuring file /etc/apt/sources.list
Get:1 http://10.8.91.37 squeeze Release.gpg [1672 B]
Ign http://10.8.91.37/debian/ squeeze/main Translation-en
Get:2 http://10.8.91.37 squeeze/updates Release.gpg [836 B]
Ign http://10.8.91.37/debian-security/ squeeze/updates/main Translation-en
Ign http://10.8.91.37 squeeze-updates Release.gpg
Ign http://10.8.91.37/debian/ squeeze-updates/main Translation-en
Get:3 http://10.8.91.37 squeeze Release [87.3 kB]
Get:4 http://10.8.91.37 squeeze/updates Release [86.9 kB]
Ign http://10.8.91.37 squeeze-updates Release
Get:5 http://10.8.91.37 squeeze-updates/main i386 Packages [11.4 kB]
Get:6 http://10.8.91.37 squeeze/main i386 Packages [8634 kB]
Ign http://10.8.91.37 squeeze/updates Release
Get:7 http://10.8.91.37 squeeze/updates/main i386 Packages [206 kB]
Fetched 9028 kB in 16s (549 kB/s)
Reading package lists... Done
W: GPG error: http://10.8.91.37 squeeze/updates Release: The following signatures were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
libpam-modules libpam-runtime libpam0g libssl0.9.8 tzdata
5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 4388 kB of archives.
After this operation, 0 B of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libpam-modules libpam-runtime libpam0g tzdata libssl0.9.8
E: There are problems and -y was used without --force-yes
P: Begin unmounting filesystems...
root@projectdeb:/home/adrian/live#

Every time I get an error I execute "lb clean" before trying another anythig else.

I've searched a lot over the Internet and haven't found a solution for my problem. I would appreciate any help from this great community.

Last edited by adriankevin; 01-31-2012 at 03:11 PM. Reason: Format
 
Old 01-31-2012, 03:13 PM   #2
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
Code:
W: GPG error: http://10.8.91.37 squeeze/updates Release: The following signatures were invalid: BADSIG AED4B06F473041FA Debian Archive Automatic Signing Key (6.0/squeeze)
You'll need to get the key:
Take the last 8 characters of the signature: 473041FA Then
Code:
sudo gpg --keyserver wwwkeys.pgp.net --recv-keys F80994F6
This creates files in the user's home dir called .gnupg/gpg.conf and .gnupg/trustdb.gpg

I think you'll also have to add the --force-yes option to the lb command.

Last edited by impert; 01-31-2012 at 03:15 PM. Reason: Clarity
 
Old 02-02-2012, 12:02 PM   #3
adriankevin
LQ Newbie
 
Registered: Sep 2011
Posts: 10

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
I think you'll also have to add the --force-yes option to the lb command.
To which lb command are you referring to?
I've tried with lb config and with lb build and both of them produce the error unrecognized option.
 
Old 02-04-2012, 05:46 PM   #4
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
Sorry for not answering before, I missed your post.
Quote:
To which lb command are you referring to?
I've tried with lb config and with lb build and both of them produce the error unrecognized option.
I was going by the error message above. However, you don't seem to have used the -y flag yourself, so presumably it was called by a script. Which leaves me without an answer except "good luck".
 
Old 02-04-2012, 06:36 PM   #5
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
There is alot that isn't explained fully in the document and even in the man page. This is where LiveBuild is still a very trial and error process and I would recommend you subscribe to the mailing list.

Ok now to your question. You need to place a file for every key used in /config/archives. This is explained in 8.1.5 Additional Repositories in Live Manual.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Build squeeze live usb-hdd on lenny cccc Debian 3 02-17-2011 09:50 AM
SqueezeBox Live i686! A Debian squeeze Remastersys build e17/fvwm-crystal/afterstep linus72 Debian 1 01-08-2010 09:10 AM
GParted Live CD error with a new PC build james2b Linux - Newbie 4 03-18-2009 03:11 PM
Slackware live CD Creation Error!!! somepalli Slackware 3 03-29-2008 03:00 AM
creation of live cd for my own distribution sailu_mvn Fedora - Installation 1 11-29-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration