Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-28 Thread Stephen R Marenka

On Sun, May 27, 2001 at 10:34:24PM -0400, Joey Hess wrote:
 Stephen R Marenka wrote:
  The problem seems to be that hwclock.sh is a conffile and wants to
  prompt the user about whether to override the existing file.
  Unfortunately, we're running in non-interactive mode so the STDIN prompt 
  fails and powerpc-utils fails to configure. I can configure 
  powerpc-utils manually, but that isn't exactly acceptable for boot-floppies.
 
 Well, the obvious fix is to make debootstrap run dpkg with --force-confnew.
 
 The obvious question is, why was this conffile already present on a new
 install? Did debootstrap or some other package create it? Either could
 be gounds for a bug report. Or was debootstrap ran on a filesystem that
 already had a debian install on it? Maybe a partial install from an
 earlier failed debootstrap run?

This was a fresh install on a newly formatted partition. The symptom to
this failure shows up when the following repeat (from debootstrap/woody)
fails 20 times (because powerpc-utils hasn't configured). Perhaps that
is also a good place to add --force-confnew. Shall I file a bug?

excerpted from debootstrap/woody

info Installing base packages
 
repeat 20 in_target dpkg --force-auto-select --force-overwrite \
 --skip-same-version --install $(debfor $base)


Thanks a bunch!

Stephen

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-28 Thread Anthony Towns

On Mon, May 28, 2001 at 07:49:52AM -0500, Stephen R Marenka wrote:
 This was a fresh install on a newly formatted partition. The symptom to
 this failure shows up when the following repeat (from debootstrap/woody)
 fails 20 times (because powerpc-utils hasn't configured). Perhaps that
 is also a good place to add --force-confnew. Shall I file a bug?

Sounds reasonable. I'm not *entirely* convinced this isn't a bug
somewhere else too, but --force-confnew seems to make sense anyway. I
follow this list, but I usually forget about these things unless there's
a bug filed...

Cheers,
aj (debootstrap author/maintainer)

-- 
Anthony Towns [EMAIL PROTECTED] http://azure.humbug.org.au/~aj/
I don't speak for anyone save myself. GPG signed mail preferred.

``_Any_ increase in interface difficulty, in exchange for a benefit you
  do not understand, cannot perceive, or don't care about, is too much.''
  -- John S. Novak, III (The Humblest Man on the Net)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-28 Thread Stephen R Marenka

On Mon, May 28, 2001 at 11:02:58PM +1000, Anthony Towns wrote:
 On Mon, May 28, 2001 at 07:49:52AM -0500, Stephen R Marenka wrote:
  This was a fresh install on a newly formatted partition. The symptom to
  this failure shows up when the following repeat (from debootstrap/woody)
  fails 20 times (because powerpc-utils hasn't configured). Perhaps that
  is also a good place to add --force-confnew. Shall I file a bug?
 
 Sounds reasonable. I'm not *entirely* convinced this isn't a bug
 somewhere else too, but --force-confnew seems to make sense anyway. I
 follow this list, but I usually forget about these things unless there's
 a bug filed...

bug#99025 filed against debootstrap.

Thanks everyone,

Stephen

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-27 Thread Daniel Jacobowitz

On Thu, May 24, 2001 at 02:23:58PM -0500, Stephen R Marenka wrote:
 While working on woody boot-floppies on my oldworld powermac, I noticed
 that powerpc-utils seems to ignore the DEBIAN_FRONTEND=Noninteractive.
 It thus fails to configure. This is a required package.
 
 How do I figure out what's at fault and fix it or where should I file a
 bug?

Huh?

Read the powerpc-utils postinst.  All I call is update-rc.d and
#DEBHELPER#... no debconf at all.

-- 
Daniel Jacobowitz   Debian GNU/Linux Developer
Monta Vista Software  Debian Security Team


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-27 Thread Stephen R Marenka

On Sun, May 27, 2001 at 04:25:24PM -0700, Daniel Jacobowitz wrote:
 On Thu, May 24, 2001 at 02:23:58PM -0500, Stephen R Marenka wrote:
  While working on woody boot-floppies on my oldworld powermac, I noticed
  that powerpc-utils seems to ignore the DEBIAN_FRONTEND=Noninteractive.
  It thus fails to configure. This is a required package.
  
  How do I figure out what's at fault and fix it or where should I file a
  bug?
 
 Huh?
 
 Read the powerpc-utils postinst.  All I call is update-rc.d and
 #DEBHELPER#... no debconf at all.

I did notice that all the DEBIAN_FRONTEND stuff seemed to apply to
debconf, but hey I'm new to this.

The problem seems to be that hwclock.sh is a conffile and wants to
prompt the user about whether to override the existing file.
Unfortunately, we're running in non-interactive mode so the STDIN prompt 
fails and powerpc-utils fails to configure. I can configure 
powerpc-utils manually, but that isn't exactly acceptable for boot-floppies.

Since everything else seems to work okay, I suppose there's a better way?

This is outside my experience, but I'll have to figure it out sooner or
later -- I was just hoping for later.

Also, the current version doesn't seem to compile cleanly. I had to 
change the #includeasm/* to #includelinux/*. I can send a patch 
and/or file a bug if that's the right thing to do.

Thanks,

Stephen

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-27 Thread Ethan Benson

On Sun, May 27, 2001 at 09:12:34PM -0500, Stephen R Marenka wrote:
 
 The problem seems to be that hwclock.sh is a conffile and wants to
 prompt the user about whether to override the existing file.
 Unfortunately, we're running in non-interactive mode so the STDIN prompt 
 fails and powerpc-utils fails to configure. I can configure 
 powerpc-utils manually, but that isn't exactly acceptable for boot-floppies.

i think it diverts hwclock.sh.  but that is no longer necessary as
hwclock now works on powerpc provided CONFIG_PPC_RTC is set in the
kernel config.  

-- 
Ethan Benson
http://www.alaska.net/~erbenson/

 PGP signature


Re: powerpc-utils and DEBIAN_FRONTEND

2001-05-27 Thread Joey Hess

Stephen R Marenka wrote:
 The problem seems to be that hwclock.sh is a conffile and wants to
 prompt the user about whether to override the existing file.
 Unfortunately, we're running in non-interactive mode so the STDIN prompt 
 fails and powerpc-utils fails to configure. I can configure 
 powerpc-utils manually, but that isn't exactly acceptable for boot-floppies.

Well, the obvious fix is to make debootstrap run dpkg with --force-confnew.

The obvious question is, why was this conffile already present on a new
install? Did debootstrap or some other package create it? Either could
be gounds for a bug report. Or was debootstrap ran on a filesystem that
already had a debian install on it? Maybe a partial install from an
earlier failed debootstrap run?
 
-- 
see shy jo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




powerpc-utils and DEBIAN_FRONTEND

2001-05-24 Thread Stephen R Marenka

While working on woody boot-floppies on my oldworld powermac, I noticed
that powerpc-utils seems to ignore the DEBIAN_FRONTEND=Noninteractive.
It thus fails to configure. This is a required package.

How do I figure out what's at fault and fix it or where should I file a
bug?

Thanks,

Stephen

-- 
Stephen R. Marenka If life's not fun, you're not doing it right!
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]