Bug#243085: back button looks out of place

2004-04-13 Thread Martin Sjögren
tis 2004-04-13 klockan 01.13 skrev Denis Barbier:
> On Mon, Apr 12, 2004 at 06:28:53PM -0400, Joey Hess wrote:
> > Denis Barbier wrote:
> > > I had #220478 in mind, several bugreports claim that a  button
> > > is misleading when a select list has a 'Finish' choice.
> > 
> > Mm, right. I don't know what to do about it then, perhaps only I will
> > find the current back button placement ugly..
> 
> It can easily be centered, if you prefer.

Please don't. Buttons shouldn't jump around in a context dependent way.
Predictability is a big part of usability.

Personally I don't see a problem with a lone  button to the left.


/Martin



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



Bug#242976: forgets to display screen for question on backup (very strange)

2004-04-11 Thread Martin Sjögren
lör 2004-04-10 klockan 03.58 skrev Joey Hess:
[...]
> The above is nearly the minimal testcase to reproduce this. The set -x,
> the INFO line and the final db_get can be removed and it will still happen.
> The progress bar must have been brought up, or the bug will not occur.

Right. A bug in the NewtInit/NewtFinished juggling necessary for making
the progress bar work. I've committed a fix.


/Martin




Re: goals for next release

2004-03-31 Thread Martin Sjögren
On Wed, Mar 31, 2004 at 02:08:41PM +0200, Sven Luther wrote:
> > Random suggestions for help lines:
> > - For bool, string, password:
> > " between elements  |   to choose"
> > - For select:
> > " between elements  |  Arrow keys to move up/down  |   to
> > choose"
> > - For multiselect:
> > " between elements  |  Arrow keys to move up/down  |   to
> > select"
> > - For note, error: None at all? Or mention something about tab and enter
> > only when goback is possible?
> > 
> > The distinction between Space to select/Enter to choose sucks. This
> > needs better English.
> 
> I would also vote for :  abort current action if possible and drop
> back in the main menu (at possibly a lower priority). If abortion is not
> possible, you simply do the drop back at the earliest possible
> convenience.

Err. Sven, the help line is just one line, the bottom line of the window.
We're limited to max 80 characters here. Less in reality, since we need it
translated too.

I don't recall exactly how Newt's forms work, can we add a binding to F1
that could display some more verbose help? I don't think so, but it's
worth checking out. Adding a  button to the already crowded forms
won't be pretty and it doesn't really help if people need to know about
the navigation keys to figure out how to get to the help on navigation
keys!


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


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



Re: goals for next release

2004-03-31 Thread Martin Sjögren
ons 2004-03-31 klockan 10.52 skrev Joey Hess:
> Martin Sjögren wrote:
> > Random suggestions for help lines:
> > - For bool, string, password:
> > " between elements  |   to choose"
> > - For select:
> > " between elements  |  Arrow keys to move up/down  |   to
> > choose"
> > - For multiselect:
> > " between elements  |  Arrow keys to move up/down  |   to
> > select"
> > - For note, error: None at all? Or mention something about tab and enter
> > only when goback is possible?
> > 
> > The distinction between Space to select/Enter to choose sucks. This
> > needs better English.
> 
> "Enter to continue" ?

But that's not true! If the  button is selected, then you won't
continue, you'll go back!


/Martin


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



Re: goals for next release

2004-03-31 Thread Martin Sjögren
ons 2004-03-31 klockan 08.05 skrev Petter Reinholdtsen:
> [Joey Hess]
> > but here are some more things that would be nice for beta4 as well:
> 
> Some of the Skolelinux installation testers have asked for
> instructions in the cdebconf/newt dialogs.  It is not intuitive for
> new computer users to use arrow keys and  to move around, and
>  and  to select.  This should probably be mentioned at
> the bottom of the dialog screens.

It needs to be dependent on the question type, and perhaps on whether
goback is possible too. Newt has a newtPushHelpLine function and if you
pass it NULL, the default string is
"/ between elements   |   selects   |   next
screen"
I think we should leave out the F12 bit, I think it's better if we have
Enter to continue/choose a button to continue and conveniently hide the
F12 info.

Random suggestions for help lines:
- For bool, string, password:
" between elements  |   to choose"
- For select:
" between elements  |  Arrow keys to move up/down  |   to
choose"
- For multiselect:
" between elements  |  Arrow keys to move up/down  |   to
select"
- For note, error: None at all? Or mention something about tab and enter
only when goback is possible?

The distinction between Space to select/Enter to choose sucks. This
needs better English.


/Martin


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



Re: partconf [was Re: d-i - priority changes]

2004-03-22 Thread Martin Sjögren
mån 2004-03-22 klockan 11.34 skrev Thiemo Seufer:
> > OK, so if some arches will be using partconf -- what needs to be done?
> 
> Well, the best fix is to improve partman to do the job well, but that
> takes probably more time than we have for sarge.

I'm wondering if parts of partman could be rewritten in C to speed
things up? How hard would it be to figure out which parts would benefit
most from it?

> > There hasn't been any development on partconf for quite some time (I
> > sure haven't had the time). There's a looot of bugs in the BTS...
> 
> The version available happens to work for the common case.
> #221213 is a bug in parted-udeb which doesn't Provides: libparted1.6-0.
> The other bugs are annoying but not fatal.

#220281 looks pretty serious to me, but I'm not sure if that thing
happens any more, ISTR rewriting parts of the code to fix that, but I
don't remember exactly. Curse this master project of mine, or I'd have
more time to hack.


/Martin


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



partconf [was Re: d-i - priority changes]

2004-03-22 Thread Martin Sjögren
mån 2004-03-22 klockan 09.51 skrev Thiemo Seufer:
> Bastian Blank wrote:
> > On Mon, Mar 22, 2004 at 01:49:16AM +0100, Thiemo Seufer wrote:
> > > >   - partconf: deprecated and have no additional support over partman
> > > >   - partitioner
> > > At least arm, mips and probably mipsel will continue to use it, because
> > > partman is to slow and doesn't support some of the disk label formats
> > > required there.
> > 
> > partconf also reads the disklabels, how does this work?
> 
> I only know about mips: (lib)parted reads existing dvh labels good
> enough, but it fails to create them correctly.

OK, so if some arches will be using partconf -- what needs to be done?
There hasn't been any development on partconf for quite some time (I
sure haven't had the time). There's a looot of bugs in the BTS...


/Martin


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



Re: Re: slashdotted

2004-03-18 Thread Martin Sjögren
tor 2004-03-18 klockan 18.01 skrev Joey Hess:
> Martin Sjögren wrote:
> > GUI or TUI doesn't matter, rephrase the text strings any way you like,
> > but I think that if we keep abusing select questions, people will be
> > confused. Period.
> 
> You're right, but look at something like the main menu, which also
> abuses debconf similarly, and where the continue button is likewise
> ambiguous. (Continue to the next logical step? No. Run whatever is
> selected.) In this case it would be hard to do better than a simple
> list, and it just shouldn't have that continue button at the bottom at
> all.

The main menu is sort of less abusive since it *only* has action
entries. Partconf and partman have both data and action entries, and I
think that's what's so confusing.

I agree though, the Continue button should go away for select questions,
it's the only remotely sane thing we can do. The only question types
that actually need Continue buttons are note/error and multiselect,
would it be confusing to drop the Continue buttons from string and
password too?

Note that newt has a mechanism for putting a help line at the bottom of
the screen, what kind of interesting and helpful instructions can we put
there that fits in one line for all languages?


/Martin


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



Re: Re: slashdotted

2004-03-18 Thread Martin Sjögren
On Thu, Mar 18, 2004 at 08:51:34PM +1000, Andrew Pollock wrote:
> On Thu, Mar 18, 2004 at 10:18:08AM +0100, Martin Sj?gren wrote:
> 
> [snip]
> 
> >  works the same in all types of questions, it accepts the
> > currently marked value and returns control to the backend program (e.g.
> > a postinst script). Continue is used instead of OK or something else
> > because the whole installer works sort of like a wizard.
> 
> In that case, perhaps Next is better than Continue?

No. Button texts should be verbs or verb phrases. Both Apple [1] and GNOME
[2] do this. We have discussed this countless times and we decided on
Continue and Go Back, which is also what Apple [3] uses.

[1] 
http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGControls/chapter_18_section_2.html
[2] http://developer.gnome.org/projects/gup/hig/1.0/controls.html#controls-buttons
[3] 
http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGFirstImpressions/chapter_6_section_5.html


/Martin 
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


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



Re: Re: slashdotted

2004-03-18 Thread Martin Sjögren
tor 2004-03-18 klockan 05.17 skrev Kyle Girard:
> >One easy way to fix this would be to remove the continue button
> >entirely from select dialogs. Unfortnatly and inconsistently, we can't
> >get rid of it on multiselect dialogs. Or maybe the wording could be
> >changed somehow?
> 
> What is the purpose of continue?  Does it take you to the next step even
> if you haven't finished this one?  Does it return you to the main menu?

 works the same in all types of questions, it accepts the
currently marked value and returns control to the backend program (e.g.
a postinst script). Continue is used instead of OK or something else
because the whole installer works sort of like a wizard.

In my opinion, the problem is not with the Continue button or with its
text, but that we are abusing debconf's select question type to not only
present data, but also to present control widgets that in a GUI or a
custom TUI would rather be extra buttons. This is an inherent limitation
of debconf that's not a problem for what it's designed for. The problem
is that we are using debconf for completely different things than what
it's been designed for. :)

GUI or TUI doesn't matter, rephrase the text strings any way you like,
but I think that if we keep abusing select questions, people will be
confused. Period.


/Martin


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



Bug#237534: inst report: lots of partman and LVM issues

2004-03-12 Thread Martin Sjögren
fre 2004-03-12 klockan 07.10 skrev Christian Perrier:
> > cfdisk is not used on all architectures. There's also the queston of
> > what to call partconf.
> 
> In another thread, I suggested "Partition disks (expert)" for partconf
> and "Partition disks" alone for partman.

First of all, unless there's been some serious hacking on partconf that
I've missed, partconf doesn't do partitioning, so "Partition disks" is
flat out wrong.

Second, how is it more "expert" than partman? It can hardly do anything
that partman can't, can it?


/Martin


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#231402: installation-reports

2004-02-07 Thread Martin Sjögren
fre 2004-02-06 klockan 20.00 skrev Sagi Bashari:
> Then, it brought me to the "Configure and mount partitions" screen and 

Right, this means you used the old mkfs+mount tool called partconf which
is on its way out. Still, weird bug.

> showed an error:
> "No partitions found
> No partitions were found in your system. You may need to partition your 
> hard drives or load additional kernel modules
>  "...
> 
> However I'm sure the modules&partitions table is OK because cfdisk 
> worked fine, and I could mount it manually using the shell.

It's very odd indeed, what's in your /dev/discs/ directory and in the
/proc/partitions file?


Regards,
Martin



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



Daily builds may go away

2004-02-03 Thread Martin Sjögren
Hello -boot.

I'm having some issues with my computer (it totally freezes up when I log
into gnome, I have no idea why) and until I can sort it out, I'm mainly
using my laptop. Thus, don't rely on my daily builds, some days they may
be built, others they won't.

It would be a good idea if someone else could take over the builds, at
least until I can fix my computer.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


pgp0.pgp
Description: PGP signature


Re: daily image builds failing

2004-01-29 Thread Martin Sjögren
ons 2004-01-28 klockan 17.00 skrev Matt Kraai:
> Howdy,
> 
> Most of the daily image builds are failing because udpkg depends
> on libdebian-installer4 (>= 0.17.cvs), but they don't see
> libdebian-installer4 0.18, which was apparently uploaded on
> January 21.

I was wondering this myself. Turns out that the apt-get upgrade in the
cron job was failing, because of 404s on the mirror I'm using.
Incomplete mirror pulse or something, I have no idea. Anyway, I just did
a manual apt-get upgrade in the chroot, so today's build should be fine.

Well, "fine" is relative I guess. For some reason, cd_drivers and
net_drivers still don't build properly. I'm going to have a closer look
at that.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily build

2004-01-24 Thread Martin Sjögren
lör 2004-01-24 klockan 01.34 skrev Joey Hess:
> Martin Sjögren wrote:
> > This would be because they've failed to build. Damn. The build script
> > copies the previous day's files and then rsyncs the new files. Looking
> > at floppy.log, I see:
> > 
> > cp: cannot stat `extraudebs/isa-pnp-modules-2.4.22-1-386*': No such file
> > or directory
> > make: *** [net_drivers-stamp] Error 1
> > 
> > cp: cannot stat `extraudebs/load-cdrom*': No such file or directory
> > make: *** [cd_drivers-stamp] Error 1
> > 
> > I don't know what's wrong, really... I hope you guys can figure it out.
> 
> I can't reproduce it in a clean tree, so I don't know where to start..
> My build log looks identical to the failing one, except that the missing
> udebs are there in localudebs/ at the end.

Weird. It seems I had stray config/type/{cd,net}_drivers files with
FLOPPY_SIZE variables in them. That must've been what confused the
Makefile, because when I deleted them it built just fine.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily build

2004-01-23 Thread Martin Sjögren
fre 2004-01-23 klockan 00.23 skrev Joey Hess:
> I noticed a few seemingly old files in your daily build directory,
> amoungst all the up-to-date ones:
> 
> [   ] cd_drivers-image.img31-Dec-2003 23:46   1.4M
> [   ] net_drivers-image.img   31-Dec-2003 23:46   1.4M

This would be because they've failed to build. Damn. The build script
copies the previous day's files and then rsyncs the new files. Looking
at floppy.log, I see:

cp: cannot stat `extraudebs/isa-pnp-modules-2.4.22-1-386*': No such file
or directory
make: *** [net_drivers-stamp] Error 1

cp: cannot stat `extraudebs/load-cdrom*': No such file or directory
make: *** [cd_drivers-stamp] Error 1

I don't know what's wrong, really... I hope you guys can figure it out.

> Also, is there any significance behind some of the files being dated the
> 22nd and some the 21st?
> 
> [   ] floppy-image.img21-Jan-2004 01:31   1.4M
> [   ] floppy-initrd.gz22-Jan-2004 01:53   3.3M

Same as above. The floppy files are up to date today, so I guess they
built successfully again...

> Finally, could you please add the hd-media-image.img.gz to the
> directory? This is a compressed 128 mb disk image for usb keychains and
> such.

Done.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: beta 2 and beyond

2004-01-16 Thread Martin Sjögren
fre 2004-01-16 klockan 07.04 skrev Christian Perrier:
> > See the item about subversion.. ;-)
> 
> 
> Hmmm ? I can't say that I'm in favour of it.I've just started to
> learn the CVS basics so switching to something else fears me a bit
> (old people fear changes, you know..:-)))

I've used CVS for ages myself, and been scared to death by the more
intricate features like branching and merging. I can use tagging
decently, but that's about it. I found Subversion a lot easier to use,
and while it's not perfect, it is at least a lot better than CVS.

"Subversion for CVS Users" is a good text:
http://svnbook.red-bean.com/html-chunk/apa.html


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#227909: installation-reports: Dell Inspiron 8600

2004-01-15 Thread Martin Sjögren
tor 2004-01-15 klockan 16.14 skrev Martin Stjernholm:
> o  In the Swedish translation, it says "Upptäck cd-rom", "Upptäck
>hårdvara" etc. I believe a better word in place of "Upptäck" is
>"Detektera".

"Detektera"? That's not even a word! I agree that "Upptäck cd-rom"
sounds a bit strange, but that's what "detect" means! No way in hell
should it be "detektera".


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily d-i images not built since 2004-01-01

2004-01-05 Thread Martin Sjögren
mån 2004-01-05 klockan 15.55 skrev Matt Kraai:
> On Mon, Jan 05, 2004 at 10:53:41AM +0100, Martin Sj?gren wrote:
> > m?n 2004-01-05 klockan 06.09 skrev Matt Kraai:
> > > Howdy,
> > > 
> > > The latest daily debian-installer images are dated 2004-01-01.
> > > Do you know why more recent builds are not available?
> > 
> > Because alioth is down. There was a problem with the images because I
> > used an outdated build directory and cannot cvs up it because alioth is
> > down. Ergo, no build.
> 
> Thanks for the explanation.  Now that alioth is back up, will
> tomorrow's images be generated?

I started a build manually which can be found in the usual place.

cd_drivers-image.img and net_drivers-image.img didn't build for some
reason, though... :(


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily d-i images not built since 2004-01-01

2004-01-05 Thread Martin Sjögren
mån 2004-01-05 klockan 06.09 skrev Matt Kraai:
> Howdy,
> 
> The latest daily debian-installer images are dated 2004-01-01.
> Do you know why more recent builds are not available?

Because alioth is down. There was a problem with the images because I
used an outdated build directory and cannot cvs up it because alioth is
down. Ergo, no build.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Bug#226213: businesscard installation report + full desktop install

2004-01-05 Thread Martin Sjögren
sön 2004-01-04 klockan 22.58 skrev Joey Hess:
> So I picked kde from gdm and it worked ok. One annoying thing was that its
> setup wizard asked me _again_ what country I was in, bringing the grand
> total of times the installer asked me stuff about that to 6:
>   - language/country chooser
>   - keyboard chooser
>   - mirror choice (in d-i)
>   - time zone selection
>   - mirror choice (in base-config)
>   - kde wizard
> Sheesh.

But kbd-chooser and choose-mirror have sane defaults from
languagechooser, right? Time zone selection ought to have that too, and
base-config mirror choice could be done away with completely and use
what d-i used. KDE's wizard, I don't know anything about...


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: (kind of) Non-translatable template found in partconf

2004-01-04 Thread Martin Sjögren
sön 2004-01-04 klockan 13.12 skrev Andre Luis Lopes:
> The problem is that $FSCHOICES, which seems to be mentioned only in
> tools/partconf/partconf.c, can not be translated at all. Both
> partconf/existing-filesystems and partcnf/create-filesystems simply
> takes its value and put it into the Choices fields. Both Choices fields
> (from both templates) are properly marked as translatable but the
> problem is that $FSCHOICES cannot be translated (obviously), without
> translators having a look at which are the filesystems options available
> int the source code and hand-listing them into the templates. This would
> clearly break the dynamic behaviour of partconf regarding supported
> filesystems.
> 
> Does someone have a clue if it's really possible to allow the options
> presented to the user (retrieved from the $FSCHOICES variable)
> be translated without breaking the dynamic behaviour of partconf ?
> I mean, when more filesystems get included/supported into partconf in
> the future, translators would need to update all their translations
> again if no dynamic approach (like the one which is being used
> currently) is used.

I am *fairly* sure (though far from 100%) that when I wrote that,
METAGET description would return the translated description. That's the
whole point of the partconf/internal-create-fs-choice template.

I'm not sure if that's a bug or a feature, but that was the intention,
anyway. :/


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: a minor problem with d-i pages

2004-01-02 Thread Martin Sjögren
mån 2003-12-29 klockan 09.40 skrev Pavel Cahyna:
> 10 Content-Type: text/plain
>
> 
> Because of this, Mozilla tries to view the binary "garbage" instead of
> saving it.

I added a .htaccess file with the line
  DefaultType application/octet-stream
I hope that helps.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Sarge netinst: wrong sequence of SCSI drives

2004-01-02 Thread Martin Sjögren
tor 2004-01-01 klockan 16.32 skrev Joey Hess:
> Harald Dunkel wrote:
> > Maybe a misunderstanding:
> > 
> > The initrd on cdrom-image.img does not contain an aic7xxx
> > driver. I checked the Sarge netinst CD of Dec30th.
> > 
> > Of course aic7xxx is not needed for USB devices. But it
> > is required to access my CDROM drives. Since aic7xxx is
> > missing, I have to swap the CD into my external USB device
> > at installation time. The USB driver gets loaded before
> > there is any chance to load aic7xxx.
> 
> Ok, Martin really needs to do a cvs up in the tree that does his daily
> builds. He is missing the scsi-common-modules udeb, which includes the
> aic7xxx controller..

Well, I'd love to (I had forgotten to switch my chroot checkout to
alioth), but:

$ cvs up
ssh: connect to host cvs.alioth.debian.org port 22: Connection timed out
cvs [update aborted]: end of file from server (consult above messages if
any)

I cannot reach cvs.alioth, I can't even reach alioth...


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily build up and running

2003-12-15 Thread Martin Sjögren
mån 2003-12-15 klockan 14.39 skrev Harald Dunkel:
> Hi Martin,
> 
> How do you build these images? Probably you have a
> script. Is this something that can be published?

Sure I have a script, it's even in CVS. :)

http://cvs.debian.org/debian-installer/build/daily-build


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


daily build up and running

2003-12-13 Thread Martin Sjögren
Hello -boot.

After many woes, the daily build is finally up and running again. I
haven't had a chance to test the images yet, so I would appreciate if
someone could do that.

The URL is, as before: http://gluck.debian.org/~sjogren/d-i/images/

I moved away all the old images since I don't have the time to verify
their integrity.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: debian-installer status report

2003-12-12 Thread Martin Sjögren
fre 2003-12-12 klockan 15.33 skrev Nathanael Nerode:
> Before the string freeze, I *strongly* suggest that anyone who isn't very
> sure of their command of English submit their template files to
> debian-l10n-english for review.  I keep seeing little grammar and spelling
> errors, which really need to be fixed.

I'd like to turn that around, and encourage everybody on -l10n-english
to go over the debconf templates in the d-i cvs and file bugs with
suggestions for improvements. I think *everything* needs to be reviewed.
I consider my English to be decent, but I have no illusions about it
being perfect. Should we send one mail to -l10n-english for every d-i
package with the templates attached and wait for comments, or is this
"call for assistance" enough to get bug reports rolling in?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: build failure on 2003-11-17

2003-11-18 Thread Martin Sjögren
mån 2003-11-17 klockan 18.45 skrev Matt Kraai:
> Howdy,
> 
> The daily debian-installer image failed to build on 2003-11-17.  I
> think this happened because libparted1.6-0 was not installed.

Indeed, I've fixed this and hopefully today's build should be fine. I
say "should" because I have no idea if it reached gluck safe and sound,
something within hp.net is messed up, 'cause I have 15s pings to gluck.
:-/


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#220282: partconf: should apt-install userspace tools for created filesystem

2003-11-17 Thread Martin Sjögren
sön 2003-11-16 klockan 23.16 skrev Joey Hess:
> I don't understand this pull toward using debconf questions for things
> that the filesystem can do and that do not involve user interaction or
> overriding. Just have any udeb that provides a mkfs.* also provide a
> /usr/share/fs-tools/ that lists the names of packages to install
> for that filesystem type. Or any similar approach.

What, when we have a perfectly working registry? ;-)

*runs for cover*
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: [cdebconf] Drop unsupported frontends

2003-11-13 Thread Martin Sjögren
tor 2003-11-13 klockan 00.24 skrev Denis Barbier:
> Only text and newt frontends are in a good shape, so why do we build
> other udebs?

Hysterical raisins, I guess. They should be removed. If someone wants to
play with the other frontends, they can compile locally.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#192305: "q to end, b for begin" ambiguous

2003-11-13 Thread Martin Sjögren
ons 2003-11-12 klockan 00.33 skrev Denis Barbier:
>   * Prompt is:
>  q to quit select, b for back, n for next page

How about "b to back up"? It would be either that or "b for previous
page" IMHO.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Failed floppy installation

2003-11-11 Thread Martin Sjögren
tis 2003-11-11 klockan 12.17 skrev guran:

> Jag har haft Debian på denna boxen tidigare utan problem.

For those of you who don't speak Swedish:
"I've had Debian on this box before without problems."


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily i386 d-i build failed on 2003-11-07

2003-11-08 Thread Martin Sjögren
fre 2003-11-07 klockan 23.44 skrev Matt Kraai:
> Howdy,
> 
> The daily i386 debian-installer build failed on 2003-11-07.  Would
> you please look into this?

The log showed that it failed to download some udebs (404) for some
reason. Must've been a freak accident since it worked today.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


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



Re: bogl-bterm: font reloading

2003-11-07 Thread Martin Sjögren
tor 2003-11-06 klockan 17.21 skrev Alastair McKinstry:
> >[Daniel Jacobowitz]
> >> Can you just restart bterm?  Yes, I realize that's got some issues
> >> since you're running inside of it.  But it's really not set up to
> >> re-parse the font.
> >
> >I would rather not restart debian-installer and main-menu, and it seem
> >to be a requirement to be able to restart bterm.
> >
> 
> Why not? (I'd like to know what issues exist with restarting
> main-menu in particular). It appears from the bterm code
> that its going to be hard to get it to reparse the font without
> restarting the "client" program main-menu.

I don't understand either. From what I recall, most of the state that
main-menu uses is in debconf, so what's the problem?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


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



Re: daily d-i i386 image build broken?

2003-11-04 Thread Martin Sjögren
tis 2003-11-04 klockan 16.52 skrev Joey Hess:
> > What's "ds1-4"?
> 
> The frightening new libc version with NPTL or whatever it's called.
> You need to upgrade your build machine I guess; be careful!

It's a chroot, so I guess it should be fine. OTOH, my build script does
an apt-get upgrade just before building, so I guess something's "stuck".


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily d-i i386 image build broken?

2003-11-04 Thread Martin Sjögren
mån 2003-11-03 klockan 18.54 skrev Matt Kraai:
> Howdy,
> 
> The d-i images have not been built since 2003-11-01.  Has the
> build broken?

Broken deps:

The following packages have unmet dependencies:
  cdebconf-newt-udeb: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is to
be installed
  choose-mirror: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is to be
installed
  di-utils-shell: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is to be
installed  kbd-chooser: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is
to be installed
  netcfg-dhcp: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is to be
installed
  netcfg-static: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is to be
installed
  udpkg: Depends: libc6 (>= 2.3.2.ds1-4) but 2.3.2-9 is to be installed
E: Broken packages


What's "ds1-4"?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: FWD: Accepted debian-installer 20031029 (i386 source)

2003-10-31 Thread Martin Sjögren
fre 2003-10-31 klockan 02.10 skrev Joey Hess:
> Good news: It autobuilds!

Does this mean I can disable my daily build now, then?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#216919: remove localudebs

2003-10-23 Thread Martin Sjögren
tor 2003-10-23 klockan 00.30 skrev [EMAIL PROTECTED]:
> Howdy,
> 
> The bootfloppy fails to boot because it uses an obsolete version of
> rootskel-bootfloppy that is present in localudebs.  Please remove it (and, since
> joeyh has fixed it, busybox-cvs-floppy-udeb).

Hm, I thought I'd done that, but apparently not. Ah well, it's fixed
now, today's build should be good.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: first nearly successful USB media install

2003-10-22 Thread Martin Sjögren
ons 2003-10-22 klockan 05.42 skrev Chris Tillman:
> On Tue, Oct 21, 2003 at 08:56:39PM -0400, Joey Hess wrote:
> > 
> > In cfdisk, I told it to change my 128 mb swap partition to ext2, and
> > write and quit. For some reason the next screen (picking partitions to
> > mount?) still identified it as type swap. I went back and checked, it
> > was ext2 according to fdisk. Still swap as far as d-i knew, but I went
> > ahead and told it to mount that as the root partition. Lacking any other
> > partitions, I continued with the install.
> 
> I think it identifies it as swap because it's looking at the filesystem
> that's present on the partition, not the partition type.

Exactly. Are the "partition types" really useful anyway?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: cvs commit to debian-installer/retriever/floppy/debian by andrelop

2003-10-19 Thread Martin Sjögren
sön 2003-10-19 klockan 01.51 skrev [EMAIL PROTECTED]:
>   * PLEASE : Tell me if the changelog is wrong. It seems
> to be in valid UTF-8. It was written in GNOME's 2.2 gedit,
> which does display and write properly in UTF-8. Also, file
> properly says it's UTF-8 :

Yup, looks good!
    

/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: cvs commit to debian-installer/utils/debian by andrelop

2003-10-19 Thread Martin Sjögren
fre 2003-10-17 klockan 12.38 skrev Andre Luis Lopes:
> BTW, I have tried to use GNOME's 2.2 Terminal (gnome-terminal) and to
> switch between my default locale (ISO-8859-1) and UTF-8. Well, at least
> there's a menu option in gnome-terminal which says it can swithc between
> ISO-8859-1 and UTF-8. When I switched to UTF-8 using this option I could
> read the changelogs encoded in UTF-8 properly so I thought I could also
> just type text in the changelogs while in gnome-terminal's UTF-8 mode.
> 
> If I understood it correctly, I should also be using and editor which
> does support UTF-8. I was using only "vim" in gnome-terminal's UTF-8
> locale mode. Could someone please give me a hint regarding an editor
> which does support displaying *and* writing correctly in UTF-8 ?

I'm not sure how gnome-terminal's locale switching works, since I use a
UTF-8 locale. But with a latin1 locale, you can try to put the following
in your .vimrc:

set fileencodings=utf-8,latin1
set termencoding=latin1

This will have the side effect that if you edit an ascii file and add
non-ascii characters, the file will be saved as utf-8 by default (you
can change it with :set fileencoding=latin1).


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: cvs commit to debian-installer/utils/debian by andrelop

2003-10-17 Thread Martin Sjögren
fre 2003-10-17 klockan 04.26 skrev [EMAIL PROTECTED]:
> Index: changelog
> ===
> RCS file: /cvs/debian-boot/debian-installer/utils/debian/changelog,v
> retrieving revision 1.133
> retrieving revision 1.134
> diff -u -d -r1.133 -r1.134
> --- changelog 17 Oct 2003 01:45:29 -  1.133
> +++ changelog 17 Oct 2003 02:26:03 -  1.134
> @@ -1,3 +1,10 @@
> +debian-installer-utils (0.30) UNRELEASEDunstable; urgency=low
> +
> +  * Andr Lus Lopes
> +- Updated pt_BR (Brazilian Portuguese) translation.
> +
> + -- Andre Luis Lopes <[EMAIL PROTECTED]>  Wed, 15 Oct 2003 21:21:49 -0200
> +
>  debian-installer-utils (0.29) unstable; urgency=low
>  
>* di-utils-shell does not depend on di-utils

For the love of a higher deity, André, how many times do we have to tell
you that the changelogs are in *UTF-8* format! Do you even read your
mail?

If you cannot write your name in UTF-8, I don't want you to commit to
the d-i cvs at all. Get someone to help you, or a proper editor, but DO
NOT, I repeat DO NOT, commit broken changelogs!


/Martin, annoyed
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#216111: don't offer previously selected mount point

2003-10-16 Thread Martin Sjögren
reassign 216111 partconf
thanks

tor 2003-10-16 klockan 19.08 skrev Joey Hess:
> Package: partitioner

Close, but no cigar. ;)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Install report

2003-10-16 Thread Martin Sjögren
tor 2003-10-16 klockan 07.28 skrev Goswin von Brederlow:
> When something completes successfully main-menu seems to assume you
> correct a previous error and resumes automatic install, which just
> selects the next choice. That combined with the bug of languagechoose
> failing and then allways being the next choice gives you that effect.

Ouch, it doesn't remember WHAT was failing? That's bad...


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: ~sjogren d-i images

2003-10-15 Thread Martin Sjögren
ons 2003-10-15 klockan 11.58 skrev Geert Stappers:
> Hello DIST,
> 
> 
> A report:
> The images at Martin Sj\"ogren Debian homepage
>  ( http://people.debian.org/~sjogren/d-i/images/ )
> weren't build on 14 october and not last night.

CVS conflict. Fixed, and I'm rebuilding right now.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: anna's hard-coded priority list of retreivers

2003-10-13 Thread Martin Sjögren
mån 2003-10-13 klockan 08.33 skrev Joey Hess:
> I keep stumbling over anna's hard-coded priority list of retreivers.
> 
> static const char * const retrievers[] = {
> "net-retriever",
> "cdrom-retriever",
> "floppy-retriever",
> NULL
> };
> 
> anna defaults to using the one closest to the top that is installed. 

This is known as a better-than-nothing solution. :)

> Another idea I've had is to turn anna inside-out, removing it from the
> menu, and put the retreivers themselves on the main menu. Well, not
> quite, the menu items would really be separate udebs customized to the
> type of install, that picked a retreiver and called anna, forcing it to
> use that retreiver.

I have had the exact same idea, when thinking about how to solve the
multiple-providing-retrievers problem, but I never really got any
response on it (though I have to admit I never sent a mail, only
discussed it on IRC). I think it's a good idea.

> Floppy:
> 
>Configure language
>Retrieve modules from floppies
>Configure the network
>Retrieve modules from network

I think it should be "Load" instead of "Retrieve", though. I've also
been toying with the idea of calling udebs "installer components"
instead of "installer modules" since it's been confused with kernel
modules a lot. It used to say packages, but that's confusing as well,
for someone who already knows Debian but doesn't know how d-i works.

Thus, "Load installer components from floppies" or "from a floppy"
depending on how it'll work.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#215448: di_mem_chunk_alloc() should return sizeof(long) or better alignment

2003-10-13 Thread Martin Sjögren
sön 2003-10-12 klockan 23.48 skrev Falk Hueffner:
> First, IMHO we should drop this stuff and just use malloc. I don't see
> any point in increasing code size and introducing new bugs thereby.

I agree. I don't see why this is necessary. Sure, malloc is slow if you
need zillions of small allocations all the time, but I don't see the
importance of speed in an installer. Code size and correctness are far
more important.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#184774: cdebconf-udeb: Buttons are not translated

2003-10-12 Thread Martin Sjögren
sön 2003-10-12 klockan 17.07 skrev Petter Reinholdtsen:
> [Martin Sjögren]
> > / is what RH netinstall uses, IIRC. And, you know, the
> > button texts aren't fixed in libnewt, they are however fixed in
> > whiptail. I intend to change the newt frontend to say /
> > instead of /, because I think it makes more sense.
> 
> The newt frontend now support translations for buttons ,
> ,  and .  So the support is implemented and I guess
> this bug can be closed.  But, perhaps it would be better to change the
> text of the  and  button to  and 
> instead?

I went with "Continue" and "Go Back" because I agree with e.g. Apple
that button texts should be verb phrases, they should indicate *doing*
something.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: daily i386 d-i image build broken?

2003-10-10 Thread Martin Sjögren
tor 2003-10-09 klockan 17.15 skrev Matt Kraai:
> Howdy,
> 
> The images at
> 
>  http://people.debian.org/~sjogren/d-i/images/daily/
> 
> were generated on October 5.  Is the build broken?

Yes, cvs conflict in one of the pkg-lists files, fixed now.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#214935: cdebconf-newt-udeb: OK button misleading in certain select questions

2003-10-09 Thread Martin Sjögren
tor 2003-10-09 klockan 15.12 skrev Steinar H. Gunderson:
> On Thu, Oct 09, 2003 at 02:58:01PM +0200, Sebastian Ley wrote:
> > In partitioner and partconf you have a select question generating some
> > kind of menu, together with a "Finish" entry. However it turned out that
> > people believed that the "Weiter" button would have the meaning of the
> > Finish button. They selected "Weiter" but the select question was still
> > pointing at some other entry than "Finish" and they were confused about
> > the result.
> > 
> > I'd propose to drop the "Ok" button entirely in select questions,
> > because it makes no sense having it there anyway.
> 
> What about simply dropping the "Finish" and "Abort" selections? They should
> be the "Finish" and "Back" button anyhow, not entries in a selection box.

The buttons are "Continue" and "Go Back". The meaning of Continue in a
select question is "yes, this is the option I want", there has to be
some sort of "Finish" option in order to be able to break out of the
loop. That  happens to do same thing as Continue for all question
types except the multiselect question is perhaps unfortunate.

The "Abort" option is there because going back is unclear, should you
get back to the previous mount question, or get back to the main menu?
When you run out of mount questions, should it then go back to the main
menu? What visual indication for this is there? I know that using a
select question in a loop like this in partconf is hideous, but I don't
see what other option there is.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#214859: /usr/sbin/base-config: nitpicking: base-config shouldn't ask about security updates when installing sid

2003-10-09 Thread Martin Sjögren
tor 2003-10-09 klockan 02.34 skrev Sean Finney:
> when running base-config after installing sid, the user gets prompted
> whether or not to use security updates from security.d.o.  while it's
> very thoughtful, it's not too much help for those who use sid, and does
> put extra strain on the security server every apt-get update.

As far as nitpicking go, I'm pretty sure there are no *official* sid
installers around. d-i may or may not support it, but probably not
officially. And that's not really related to base-config at all.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: libdebian-installer - introduced changes

2003-10-05 Thread Martin Sjögren
fre 2003-10-03 klockan 18.08 skrev Bastian Blank:
> On Thu, Oct 02, 2003 at 04:38:23PM +0200, Martin Sjögren wrote:
> > IIRC, it was moved to libd-i so that anna could use it to handle the
> > retriever dependencies. (I.e. the problem that it doesn't make sense to
> > run cdrom-detect if you want to use floppy-retriever)
> 
> anna don't configure packages.

Yet! The idea was to let anna configure the retrievers so we would get
rid of the stupid problem of main-menu configuring all available
retrievers! Do you have a better fix for this, please share it!


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: libdebian-installer - introduced changes

2003-10-02 Thread Martin Sjögren
tor 2003-10-02 klockan 15.26 skrev Bastian Blank:
> On Thu, Oct 02, 2003 at 05:44:08AM -0700, Matt Kraai wrote:
> > I can't find di_config_package anymore.  Has it also been removed?
> 
> ugh, seems that i forget to they that it is removed. it is used only by
> main-menu so it makes no sense to put them in (/me looks at martin and
> joey).

IIRC, it was moved to libd-i so that anna could use it to handle the
retriever dependencies. (I.e. the problem that it doesn't make sense to
run cdrom-detect if you want to use floppy-retriever)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: reverting PowerPC kernel to 2.4.21

2003-10-02 Thread Martin Sjögren
tor 2003-10-02 klockan 11.22 skrev Matt Kraai:
> > Is there anything we can do to speed this up ? or will we have to wait
> > weeks for this to happen ?
> 
> Not that I know of; bugging the ftpmasters may cause it to take
> even longer (given James's policy of not rewarding whining).

Yes and no, the ftpmasters have been generally helpful, processing d-i
NEWs fast. A polite request, mentioning that it's needed to get d-i
working on powerpc shouldn't hurt.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#213481: Broken dependency on pcmcia-modules

2003-09-30 Thread Martin Sjögren
Package: pcmcia-udeb
Version: 0.4
Severity: grave

pcmcia-udeb: Depends: pcmcia-modules but it is not installable

Since we've moved to 2.4.22 anyway, maybe the dependency should be on
pcmcia-modules-2.4.22 Or, we need to convince Herbert Xu to make all
different pcmcia-modules packages provide this virtual package.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Menu items consistency (was Re: Start using new SETTITLE cdebconf command)

2003-09-30 Thread Martin Sjögren
tis 2003-09-30 klockan 07.44 skrev Denis Barbier:
> Some menu items contain a verb, other are noun forms.  Should all items
> be consistent in English?

I think they should be consistent, and I think they should be verb
phrases, just like button texts in a GUI should be. Please file bugs
(preferrably with patches :) on packages that don't have verb phrases.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#213333: cdebconf - lists should support selection via id

2003-09-30 Thread Martin Sjögren
mån 2003-09-29 klockan 12.59 skrev Bastian Blank:
> Package: cdebconf
> Version: N/A
> 
> i think cdebconf should support selection of a list value via an id.
> this makes it much easier to set a default value for a generated list or
> read the value for such lists. also it makes the handling of static
> lists easier because the code don't need to know the real value.
> the list syntax may use a character like # to split id and text.

Yes, this has been discussed for a long time, without any real
conclusions. I think using a separation character is a bad idea. I
prefer a new field in the templates files. My proposal is:

Template: foo/bar
Type: select
Choices: Fooish, Barrish, Etc
Values: f, b, e
Description: Fooish Bars anyone?

If Joey has a better idea - I'd like to see perl-debconf do this too -
I'd be happy to reconsider this. :)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Bug#213314: partconf: invokes mkreiserfs interactively

2003-09-30 Thread Martin Sjögren
mån 2003-09-29 klockan 18.05 skrev Sebastian Ley:
> Package: partconf
> Severity: normal
> Tags: d-i
> 
> The way partconf mkreiserfs will cause mkreiserfs to ask questions,
> which will freeze partconf.

Yes, I've been thinking about this. I think I will introduce templates 
partconf/mkfs/ for this. Something like:

Template: partconf/mkfs/reiserfs
Type: string
Default: %s  %s
Description: internal thingy

Where the first %s is the mkfs program and the second is the path to the
device.

The code to handle it would be something like:

sprintf(buf, "partconf/mkfs/%s", fstype);
debconf->command(debconf, "GET", buf, NULL);
sprintf(buf, debconf->value, mkfsprog, devpath);
system(buf);
// modulo error handling and buffer overruns of course

These templates can even be supplied by the mkfs udebs, they don't have
to ship with partconf (they SHOULDN'T ship with partconf!)

Does this sound sane?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: cvs commit to debian-installer/anna/debian by mckinstry

2003-09-29 Thread Martin Sjögren
mån 2003-09-29 klockan 22.18 skrev [EMAIL PROTECTED]:
> Update of /cvs/debian-boot/debian-installer/anna/debian
> In directory gluck:/tmp/cvs-serv23436
> 
> Modified Files:
>   changelog 
> Log Message:
> Convert changelog to UTF-8

Um, the file encoding already was UTF-8, except for André's latest
entry. André, please make sure you save the changelog in UTF-8 format in
the future!


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Start using new SETTITLE cdebconf command

2003-09-29 Thread Martin Sjögren
mån 2003-09-29 klockan 20.54 skrev Petter Reinholdtsen:
> [Thorsten Sauter]
> > just for make sure...
> > this means no program should set the title directly? This should be done
> > all the time by main-menu?
> 
> The need to set the title will be greatly reduced, but I am not sure
> if we should require all packages to remove their titles.
> 
> > If so, I go ahead and remove all title commands from my packages.
> 
> I will remove the titles from mine packages when this is implemented,
> but you will have to decide for yourself if you want to do it for
> yours.

Hell no, we should decide on one approach and stick to it, inconsistency
is bad for your health. I move that only main-menu should set titles. As
we discussed in Oldenburg, having the titles consistent with the menu
items is an excellent way to reduce confusion.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Bug#210967: quitting partconf leadas to postinst exited with status 7680

2003-09-15 Thread Martin Sjögren
mån 2003-09-15 klockan 02.29 skrev Martin Michlmayr:
> Package: partconf
> Version: http://people.debian.org/~sjogren/d-i/images/2003-09-08 (not installed)
> Severity: normal
> 
> When I went into partconf and then straight back, I got the following
> error: partconf's postinst exited with status 7680

Yes, as I've said before, partconf has to exit with nonzero exit code in
this case, since it must not be marked as configured by udpkg and
main-menu, because... it isn't configured. What we need, is a way to
distinguish "failure" and "backed out", since this also applies to the
 button.

I propose to use a standard exit code for this, I'm not sure what udpkg
has to do... How will udpkg mangle the return code from the script into
what it returns itself? It would be good if it could propagate so
main-menu can see what has happened. In debconf, this is 30, and that's
what partconf returns, I think that's a good choice.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Bug#209343: anna exits with with an error when going back from retriever selection

2003-09-09 Thread Martin Sjögren
tis 2003-09-09 klockan 14.41 skrev Sebastian Ley:
> Package: anna
> Version: unavailable; reported 2003-09-09
> Severity: normal
> 
> 1) Select "Load installer modules"
> 2) Select "Go Back" from the upcoming retriever question.
> 
> -> anna exits with an error.

This is intentional. How else would main-menu know whether udebs have
been installed or not? I think we should reserve a special exit code
(anna uses 20) to mean "backup" and main-menu should detect this and
silently ignore it but keeping anna unconfigured.

Does that sound reasonable?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad	meddelandedel


Re: Bug #169264: discover: postinst fails if /cdrom mounted [grave]

2003-08-23 Thread Martin Sjögren
lör 2003-08-23 klockan 22.16 skrev Steve Langasek:
> Hello,
> 
> I understand that d-i now uses discover, and that this is therefore a
> likely place to find someone who would be able to address bugs in the
> package.  There is currently a grave bug against discover for failing to
> install if /cdrom is mounted.  There are comments in the BTS about a
> possible solution, but no upload is forthcoming.  Does someone here want
> to take responsibility for this?  Also, the last upload seems to have
> been an NMU as well.  Are the Progeny folks still interested in this
> package to anyone's knowledge, or should discover perhaps be considered
> orphaned?

We were supposed to migrate to discover 2.x, in cooperation with
Progeny. There were several blocking issues from a d-i point of view,
and I don't know what finally happened. Pere?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: Newbie questions

2003-08-22 Thread Martin Sjögren
tor 2003-08-21 klockan 23.51 skrev zinosat:
> E: Couldn't find package kernel-image-2.4.20-1-386-udebn
> make: *** [floppy-get_udebs-stamp] Error 100

This is an issue with different versions of sed doing different things.
The version in sid does what we want, and you need a sid system for a
lot of other things as well, as you noticed with the dependencies.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: New Ideas for d-i cdrom images

2003-08-09 Thread Martin Sjögren
tis 2003-08-05 klockan 11.05 skrev Goswin Brederlow:
> > Another thing, I don't think it's a good idea to actually have "all
> > udebs unpacked already", because "all" udebs will be a lot of them...
> > For example, on a CD install you will rarely need to configure the
> > network, so the network udebs should not be unpacked automatically. For
> > simple installs, there's no reason to have lvm/raid/evms unpacked
> > automatically, it will unnecessarily clutter the menu.
> 
> Correct me if I'm wrong but doesn't running the postinst add the menu
> entries so unless they are run no menu entries should appear.

I don't have time to reply to the whole of your mail, but sorry, you are
wrong. :) All udebs that have the XB-installer-menu-item header in their
control file end up as menu items. The postinst is *run* when the menu
item is selected.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: New Ideas for d-i cdrom images

2003-08-05 Thread Martin Sjögren
tis 2003-08-05 klockan 09.21 skrev Goswin Brederlow:
> 1. One can create a seemingly writeable loopback filesystem on CD. The
>CD holds a readonly loopback file and one can create a snapshot of
>that together with a ramdisk or shmfs (or on newer kernels a file
>on tmpfs). Any writes to the loopback file then go into the ramdisk
>and are lost on reboot. I have a CD image with a 100% normal woody
>system on it with a initrd that sets such a snapshot up. Works like
>a charme.

This sounds really neat. Stackable file systems, yay.

>With this instead of installing all (selected) udebs into a big
>ramdisk the udebs can be preinstalled into a loopback file upon cd
>creation and mounted this way to reduce the ram consumtion a
>lot. No complicated linkfarms would be neccessary. It would also
>instantly have all udebs unpacked already so its faster too. The
>Installer would then just run the postinst files when an udeb is
>selected.

Okay, so how would it work for net installs? floppy installs? (with
floppy install I mean boot from floppy, load either CD drivers or NIC
drivers from floppy/floppies and then proceed with CD or net install)

Have you looked in cvs.debian.org/debian-installer/doc/scenarios.txt? It
is very important that our design fits all or at least most of the
installation scenarios, I think it will be a pain to have one design for
CD installs and another for net installs. Then add that we might need a
separate design for a GUI installer, and we may end up juggling three or
four designs...

Don't get me wrong, I like the idea of reducing the ramdisk size, but I
don't see how it would work for a net install...

Another thing, I don't think it's a good idea to actually have "all
udebs unpacked already", because "all" udebs will be a lot of them...
For example, on a CD install you will rarely need to configure the
network, so the network udebs should not be unpacked automatically. For
simple installs, there's no reason to have lvm/raid/evms unpacked
automatically, it will unnecessarily clutter the menu.

> 2. The CD could contain a knoppix like live filesystem that
>autodetects most stuff and asks questions about the rest and thus
>configures itself. Then once the harddisk is partitioned and
>formated the running live filesystem can be transfered over to
>harddisk on the fly in the background and the user can just keep on
>working all the time and doesn't need to reboot even once.

Rebootless install? Eek. I think it would be nice to be able to reboot
the more specific kernel for your system than continuing to use the udeb
kernel...

> 3. When repartitioning a harddisk one has to reboot if any partition
>is in use to let changes take affect. Using lvm the partition can
>be mapped seperatly and those mappings can be changed in
>userspace. One can also move partitions around in the background
>with lvm and even have a resume feature when the system crashes
>inbetween (provided there is some space to store resume
>infos). IIRC evms has some of those features already.

But how often will a partition be in use when you partition it from an
installer? I don't understand your point, but then, I don't know
anything about lvm.

> 4. And another realy strange feature: Multi-install. One can stick say
>8 harddisks into one system, boot the debian-installer and set
>those harddrives up as mirrors of each other. Then one installs as
>allways and when done distributes the harddisks to 8 computers to
>get 8 identical systems. Ok, realy strange features but might be
>usefull for pool installs. Maybe network block devices could be
>used instead of removing the disks.

Heh, cute. This could be useful, but even more useful is to have a
recreatable installation scenario so you can just put a floppy or a CD
in a machine, or even better PXE boot it and it just installs with
predefined values.

> A test CD image with the woody live cd is available on
> rsync://mrvn.homeip.net/images/
> but beware, its a DSL line so the 50MB bz2 will take ages.

Well, I might as well start downloading it while at work...


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: cvs commit todebian-installer/tools/cdebconf/src/modules/frontend/newt by mckinstry

2003-07-30 Thread Martin Sjögren
fre 2003-07-25 klockan 09.51 skrev Alastair McKinstry:
> On Fri, 2003-07-25 at 08:49, Martin Sjögren wrote:
> > fre 2003-07-25 klockan 00.15 skrev [EMAIL PROTECTED]:
> > > Update of 
> > > /cvs/debian-boot/debian-installer/tools/cdebconf/src/modules/frontend/newt
> > > In directory gluck:/tmp/cvs-serv18715/src/modules/frontend/newt
> > > 
> > > Modified Files:
> > >   newt.c 
> > > Log Message:
> > > Swap the "Go back" and "Continue" buttons to the more intuitive way round
> > 
> > I dunno... Since you have to use tab to move between the buttons, I
> > think it's important that  is easy to reach. You will want to
> >  more often than . I don't know how relevant it is,
> > but in RH's newt interface in Anaconda, the buttons are
> >   "   "
> > and I think it's reasonable.
> > 
> > 
> Several people at debcamp commented that they should be the other way
> round, as people are used to the left button being "back", from
> browsers. However I agree that  should be easy to reach: it
> should be the next button after the entry on the cycle list in most
> dialogs. I'll need to check that it is.

Myself, I'd be very confused if tab took me to the right button before
the left button...


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: The new ordering of newt frontend buttons

2003-07-30 Thread Martin Sjögren
ons 2003-07-30 klockan 10.51 skrev Alastair McKinstry:
> Agreed on both points; I will make the changes.
> 
> On a wider point, I disklike the boolean method in general. 
> Yes/No dialogs are deprecated in UI design in favour of more explicit
> verbs : eg.  . In some of the d-i
> code, showingis redundant: whats the difference
> between  and  ?  However its hard to change those
> dialogs as there is no method to present a non-boolean button
> question.

I agree that boolean questions in general are bad. However, our main
problem is that we are using debconf, and we're stuck with it. This
means boolean questions. Or misusing select questions. Ick.

Another problem is that sometimes, "Go back" is indeed go back,
sometimes we'd rather have it mean "cancel, cancel, abort abrt!" We
could try to rephrase boolean questions in terms of continuing and
aborting instead of yes/no to avoid the infamous yes/no/cancel horror.

> Also, in some languages, eg. Irish (Gaeilge), my second language,
> there are no words for yes/no! (Instead you have to phrase things
> in terms of something like, "Do you want me to partition your
> disk?  ", and make sure you use the same verb
> in all dialogs; a pain. Oh the joys of i18n. And yes, boolean algebra
> was invented by an Irishman, George Boole, or at least
> he lived in Ireland)).

Oh. Dear. You people are insane. :)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Iterating over the debconf answers using cdebconf?

2003-07-30 Thread Martin Sjögren
tis 2003-07-29 klockan 11.54 skrev Petter Reinholdtsen:
> 
> How should I implement this code (currently using perl and debconf) if
> I want it to work with cdebconf?
> 
>   #!/usr/bin/perl -w
>   use strict;
>   use warnings;
>   use Debconf::Db;
>   use Debconf::Template;
>   use Debconf::Question;
>   Debconf::Db->load;
>   my $qi = Debconf::Question->iterator;
>   while (my $q = $qi->iterate)
>   {
>   my ($name, $type, $value) = ($q->name, $q->type, $q->value);
>   $value = "[undef]" if (! defined $value || "" eq $value);
>   print "$name $type $value\n";
>   }
>   exit 0;
> 
> Anyone know?  I want to pass on some debconf values from d-i/cdebconf
> to debconf in the installed system.

Are you sure it's a good idea to simply copy everything to the target
system? Wouldn't it be better to only copy specific things, in a smart
way? Preferrably modular so any udeb can do it (via prebaseconfig?)

-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: cvs commit to debian-installer/tools/base-installer/debian bypere

2003-07-30 Thread Martin Sjögren
ons 2003-07-30 klockan 09.53 skrev [EMAIL PROTECTED]:
>* Martin Sjögren
>  - Implement progress bar thingy. (Closes: #180753)
> -  This requires a new version of debootstrap, do NOT upload!
> +  This requires version >= 0.2.1 of debootstrap, do NOT upload!

Well, now that 0.2.1 is in the archive, feel free to remove the "do NOT
upload!" part and do the actual upload. ;)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Bug#203449: cdebconf_0.39(alpha/unstable): incorrectly ordered build-depends

2003-07-30 Thread Martin Sjögren
ons 2003-07-30 klockan 09.15 skrev Ryan Murray:
> You must list the build-depend that you want the buildds to build against first
> in |'d build-depends.  As libnewt-utf8-dev is no longer in the archive, this
> causes cdebconf to fail to build on the autobuilders.

Thanks. Fixed in CVS. Upload will follow as soon as I've had time to do
some more tests.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: [installer@ftp-master.debian.org: e2fsprogs override disparity]

2003-07-30 Thread Martin Sjögren
ons 2003-07-30 klockan 08.02 skrev Alastair McKinstry:
> udebs of priority >= standard are automatically loaded by d-i.
> e2fsprogs-udeb should have a priority of standard, to ensure that
> mkfs.ext[23] are present; IMHO the override file should be
> corrected or we won't be able to make a filesystem without a user
> manually loading the udeb.

It's not a question of "IMHO", e2fsprogs-udeb should be at least
standard, PERIOD! If someone builds a custom d-i and doesn't want
ext[23], they can create a udeb_exclude file, so there's really no
reason whatsoever for the priority to be lower than standard.

I wish the ftp masters would consult us on udeb priorities. :-/


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Bug#203334: cdebconf-udeb: Impossible to set priority unless cdebconf-priority is installed

2003-07-29 Thread Martin Sjögren
tis 2003-07-29 klockan 15.07 skrev Petter Reinholdtsen:
> 
> Package: cdebconf-udeb
> Version: 0.39
> Severity: important
> 
> When building a d-i boot floppy without the cdebconf-priority package
> included on the image, it is impossible to use the kernel option
> DEBCONF_PRIORITY to set the debconf priority.  I believe this is
> because the template debconf/priority is missing in the cdebconf-udeb
> package, and only available from the cdebconf-priority package.
> 
> The code in rootskel (/lib/debian-installer.d/S50priority) read the
> DEBCONF_PRIORITY environment variable and use it to set the
> debconf/priority database value.  This fail unless cdebconf-priority
> is installed.
> 
> I'm not sure what the proper fix is, but I suspect the easiest
> solution is to move the template file to the cdebconf-udeb package.

Yes, I realized the same thing, but forgot to mention it before cdebconf
was uploaded. I'd say the correct fix *is* to put the debconf/priority
template in the cdebconf-udeb package. cdebconf-priority depends on
cdebconf-udeb, so that's sort of a non-issue.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Promlems with unofficial sarge installer

2003-07-29 Thread Martin Sjögren
tis 2003-07-29 klockan 09.53 skrev Evgeny:
> > Install a minimal woody system. Insert sarge CDs and dist-upgrade. (so
> > I guess your sarge CDs aren't completely useless...)
> > 
> 
> Ok, I understand. Can I download official "businesscard" image of
> sarge and install minimal system from it?

Yes. And no. The official sarge images are not "build"-broken like the
unofficial ones. However, since the installer is alpha version, it may
(and probably will) break in interesting ways.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Promlems with unofficial sarge installer

2003-07-29 Thread Martin Sjögren
tis 2003-07-29 klockan 09.38 skrev Evgeny:
> I download unoficial sarge images, booted with "linux" flavour.
> 
> 1. Choose language menu option is set to 11 (English)
> 2. Detect a keyboard and select layout is set to ps/2, 1 (USA)
> 3. Detect CDROM devices option detects CDROM without any problems.
> 4. Load installer modules - THIS IS THE MAIN PROBLEM
>   When I try to go with defaults I recieve error message "Failed to
> retrieve installer module. Retrieving the module netcfg-dhcp failed
> failed for uncknown reason. Aborting".
>   When I try to select "cdrom-retieving" I recieve the same message, but
> about the hw-detect module.
> 
> I understand, that unofficial images are not stable, but what can I do
> with them now?

Coasters? These unofficial images are broken, broken, broken. As I've
said countless times on the debian-testing list.

> How can I install debian-sarge?

Install a minimal woody system. Insert sarge CDs and dist-upgrade. (so I
guess your sarge CDs aren't completely useless...)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Promlems with unofficial sarge installer

2003-07-29 Thread Martin Sjögren
tis 2003-07-29 klockan 08.07 skrev Evgeny:
> I have downloaded unofficial sarge image.
> But I cannot install debian system. The problem apears when I try to
> load installer modules with ANNA. I have the following message:
> "Retrieving module hw-detect failed with uncknown reason". Can anybody
> help me?

I have replied to this countless times on the debian-testing list. Read
the archive on lists.debian.org. I have no idea why the unofficial CDs
are broken, but I cannot do anything about it. Please contact the
distributors and/or authors of the unofficial images.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Bug#203245: installation: buffer overflow when choosing a hostnqme (install option : network)

2003-07-29 Thread Martin Sjögren
mån 2003-07-28 klockan 23.35 skrev Robert CHERAMY:
> On Mon, Jul 28, 2003, Martin Sjögren wrote:
> > > I choosed to install with the "net" option. While giving the hostname, I
> 
> > What do you mean "net" option?
> 
> In the boot prompt, I choosed net instead of the default installation :
> boot: net

That kind of defeats the purpose of using the netinst CD as opposed to
netinst floppies... The purpose was to boot the 'cdrom' target, set up
d-i from the CD and then do the rest over the net.

Oh well, you do whatever you like, of course, if you prefer downloading
40+MB and then only using 1.44M of it... ;) The problem is that that
floppy is hideously out of date, since the net floppy hasn't fit on a
single floppy for a long time, so you're testing old stuff.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: cvs commit to debian-installer/tools/netcfg/debian by sjogren

2003-07-28 Thread Martin Sjögren
tis 2003-07-29 klockan 00.14 skrev Petter Reinholdtsen:
> [Martin Sjögren]
> > +  * Martin Sjögren
> > +   - Fix hostname corruption bug.
> 
> Should this change close #203245?

I don't know what should be done with all the 'installation' bugs. I
guess the proper thing is to clone&close, but that feels a bit silly.
One Of These Days, we should go through all the 'installation' bugs and
see which have been fixed.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Bug#203245: installation: buffer overflow when choosing a hostnqme (install option : network)

2003-07-28 Thread Martin Sjögren
mån 2003-07-28 klockan 22.15 skrev Robert CHERAMY:
> Package: installation
> Version: unavailable; reported 2003-07-28
> Severity: normal
> 
> (sarge-i386-netinst.iso downloaded today)
> 
> I choosed to install with the "net" option. While giving the hostname, I

What do you mean "net" option?

> tried to give a domain name (by the way I did not found a way to give

The domain question is asked at priority medium. I'm not sure why, maybe
it should be higher? "high" at least, perhaps?

> it) by entering it in the hostname : "topaze.bougon.org".
> I got the message telling me the name was incorrect, but after that, the
> default proposed hostname looked like a buffer overflow to me :
> [default = debian xze.bougon.org "*
> go]>
> 
> * is a white square but I can't reproduce it...

This sure is a bug, I just fixed it in CVS.

Thanks.


/Martin


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: cvs commit todebian-installer/tools/cdebconf/src/modules/frontend/newt by mckinstry

2003-07-25 Thread Martin Sjögren
fre 2003-07-25 klockan 00.15 skrev [EMAIL PROTECTED]:
> Update of /cvs/debian-boot/debian-installer/tools/cdebconf/src/modules/frontend/newt
> In directory gluck:/tmp/cvs-serv18715/src/modules/frontend/newt
> 
> Modified Files:
>   newt.c 
> Log Message:
> Swap the "Go back" and "Continue" buttons to the more intuitive way round

I dunno... Since you have to use tab to move between the buttons, I
think it's important that  is easy to reach. You will want to
 more often than . I don't know how relevant it is,
but in RH's newt interface in Anaconda, the buttons are
  "   "
and I think it's reasonable.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: OK to upload CVS version of cdebconf?

2003-07-24 Thread Martin Sjögren
tor 2003-07-24 klockan 22.22 skrev Petter Reinholdtsen:
> [Martin Sjögren]
> > Well, wait we will, since cdebconf-text-udeb and cdebconf-priority
> > have been added. I'd rather add noninteractive at the same time. You
> > hear that Tollef?!
> 
> OK, I'll give Tollef two days to commit, and then I believe it is time
> to upload the new version of cdebconf to the archive.

I'm gone over the weekend, with only modem connectivity, so feel free to
"NMU". :)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: OK to upload CVS version of cdebconf?

2003-07-24 Thread Martin Sjögren
tor 2003-07-24 klockan 18.02 skrev Petter Reinholdtsen:
> Is it safe to upload the CVS version of cdebconf?
> 
> It would be nice if the noninteractive frontend was included, but I do
> not want to wait for it.

Well, wait we will, since cdebconf-text-udeb and cdebconf-priority have
been added. I'd rather add noninteractive at the same time. You hear
that Tollef?!


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: Simple firewall configurator on d-i?

2003-07-23 Thread Martin Sjögren
ons 2003-07-23 klockan 20.46 skrev Petter Reinholdtsen:
> > I think it is a good idea but I want to know if trying to implement
> > it is worth the effort.  Excuse me if the answer to this question is
> > answered anywhere else, I've just dowloaded the d-i cvs repository
> > but I haven't started to look at it.
> 
> You should look at base-config instead.  I believe that is the correct
> place to ask for default firewall configuration.

If the idea is to configure the firewall before connecting to the net,
then waiting until base-config kind of defeats the purpose, at least for
a net install, doesn't it?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: New d-i debcamp in a few months?

2003-07-22 Thread Martin Sjögren
tis 2003-07-22 klockan 16.36 skrev Petter Reinholdtsen:
> [Petter Reinholdtsen]
> > He talked about a two week school vacation that might be a good time
> > to do it.
> 
> One initial idea is to arrange it from Monday 2003-10-27 to Friday
> 2003-10-31 at http://www.einschlingen.de/>.  To get this location
> we need to make a quick decision, but I guess we need to give everyone
> some days to get back from debcamp/debconf3 before we can expect an
> answer to the following question:
> 
> > How many are interested in going to such event?  Where are you
> > located in the world?
> 
> I've noted the following interested people:
> 
>   Michael Cardenas - San Diego, USA
>   Sebastian Ley - Aachen, Germany
>   Petter Reinholdtsen - Oslo, Norway
>   Thorsten Sauter - Stuttgart, Germany

Martin Sjögren - Göteborg, Sweden.

> For this to happen, I need more people interested in going there.

Well, I already said at debcamp that I'd be interested, if I can afford
the travel costs, and it doesn't happen to collide with presenting my
degree thesis or some other silliness. :)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Processing of base-installer_0.025_i386.changes

2003-07-22 Thread Martin Sjögren
tis 2003-07-22 klockan 08.52 skrev Petter Reinholdtsen:
> 
> [Martin Sjögren]
> > Aiih. Who's (tried to?) upload base-installer? It won't work without
> > the new version of debootstrap that aj and I worked on during
> > debcamp...
> 
> Is this related to the progress bar?

Yes. I'm sorry I didn't make that clear. I'll talk to aj as soon as I
can, and ask him to upload debootstrap.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Why should prebaseconfig depend on created-fstab?

2003-07-21 Thread Martin Sjögren
mån 2003-07-21 klockan 15.16 skrev Ole-Egil Hvitmyren:
> And prep and a few others don't use a filesystem on the boot partition, 
> so same applies here. There's no reference to the boot partition in fstab.
> But still, /etc/fstab never hurt anyone, so I fail to see how 
> bootable-system depending on created-fstab is bad?

bootable-system is a virtual package provided by boot loader installers
(I don't know how it works for archs without boot loaders though).

I see no problem whatsoever with debootstrap depending on created-fstab
to make sure that it actually has been configured before reboot. Some
boot loaders need /target/etc/fstab, they should depend on
created-fstab. Others do not, they should not depend on created-fstab.

It really is that simple. :-)

However, a much bigger problem is the following:
* User partitions his hard drive, creates some file system and mounts
them on /target/...
* User installs base, and a boot loader that requires /target/etc/fstab
(at this point, the virtual package created-fstab will be configured, or
rather, the package that provides it)
* User realizes he actually wants to have /target/home on a separate
partition and arranges that. No problemo, base-installer,
kernel-installer and friends don't touch /target/home, so this is clean.
* User reboots, but /home is not mounted, because /target/etc/fstab has
not been regenerated.

This, in my opinion, is a general design problem in d-i. How do we fix
it? Of course we can hack around it by *always* regenerating fstab in
prebaseconfig, but what if the user has manually adjusted the fstab?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Processing of base-installer_0.025_i386.changes

2003-07-21 Thread Martin Sjögren
mån 2003-07-21 klockan 14.30 skrev Archive Administrator:
> kernel-installer_0.025_all.udeb doesn't exist
> base-installer_0.025_i386.changes couldn't be processed for 48 hours and is now 
> deleted
> All files it mentions are also removed:
>   base-installer_0.025.dsc, base-installer_0.025.tar.gz, 
> kernel-installer_0.025_all.udeb, base-installer_0.025_i386.udeb

Aiih. Who's (tried to?) upload base-installer? It won't work without the
new version of debootstrap that aj and I worked on during debcamp...


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: [Debcamp] Re: debian-installer tasks for debcamp

2003-07-13 Thread Martin Sjögren
sön 2003-07-13 klockan 11.25 skrev Peter Karlsson:
> Martin Sjögren:
> 
> > We probably need a lot more help than I can think of right now, but
> > feel free to reply to the mail and add more things.
> 
> I would love to get started on the Swedish translation of the
> installer, if that's possible (or even wise, considering how much will
> change before the release).

A lot of things will change, for sure, many of the current messages are
mostly "placeholders", like the main-menu "Here is the main menu" ;) and
there will be a lot *more* messages, when we finally have some decent
error handling. *cough* But there are probably a lot of messages that
won't change all that much, that can be translated.

You are of course more than welcome to help us fill in these gaps, too!


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


debian-installer tasks for debcamp

2003-07-13 Thread Martin Sjögren
Hello everbody. I'm sure you're just aching to know how to help the
debian-installer project :-) so I thought I'd post a list of a few
things that I know we need help with. We probably need a lot more help
than I can think of right now, but feel free to reply to the mail and
add more things.

* There's a [1]bug list for d-i. Not all bugs in the list are d-i bugs,
since the page lists all the bugs in the corresponding source packages.

* We've been mainly using the [2]text frontend on the sarge test CDs for
a very simple reason. We are not sure which udebs might accidentally
print some interesting debug output to stderr. There's also a (IMNSHO,
since I wrote it) prettier [3]newt frontend, that has the drawback of
overwriting things a udeb prints. :) Thus, we need somebody or
preferrably somebodIES to go through all udebs and ensure that nothing
is ever ever ever printed to stdout or stderr. Relevant error messages
should be presented with debconf and a lot of things should probably be
logged. This doesn't require much expertise in the d-i design and may be
a good way to get started with d-i. (random idea, maybe a
libdebconf-errno would be neat?)

* Testing. Testing. Testing. Do you have arcane hardware that we can
test d-i on? Terrific! Do you have general comments on the interface?
Terrific! Note, however that I will not listen to comments like
"text-based installers suck, you should have a GUI installer, why don't
you have a GUI installer yet?"

* We have a terrible lack of usb and pcmcia support. A lot of work is
needed here. Can't tell you more about this, since I know basically
nothing about it.

* There's of course the [4]porting...

* Some people have been talking about a d-i [5]homepage. I dunno what
should be on it, but maybe someone feels like working on this...

* base-installer/debootstrap needs a proper progress bar, I intend to
work on this, even if it means chaining aj to a chair to make him help
me.

* The network configuration stuff is something of a mess, really. dhcp
should be much smoother, and should really hostname configuration be in
netcfg?

* I intend to hack a lot on cdebconf. There are plenty of fixed-size
buffers all over the code, that I will need help to eliminate. Die,
fixed-size buffers, DIE!


Well, that's what I could think of from the top of my head. There is
more things to do, that we'll think of later. :)

[1] http://bugs.qa.debian.org/cgi-bin/debian-installer.cgi?full=yes
[2] http://people.debian.org/~sjogren/d-i/screenshots/2003-02-16/text/
[3] http://people.debian.org/~sjogren/d-i/screenshots/2003-07-13/newt/
[4] http://people.debian.org/~pere/debian-installer/ports-status.html
[5] http://lists.debian.org/debian-boot-0307/msg00048.html


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: Intagrated Realtech ethernet card on MB

2003-07-13 Thread Martin Sjögren
sön 2003-07-13 klockan 07.20 skrev Jason Ansel:
> Him
> I have an built-in network card right on my motherboard.  The sarge 
> mini-cd installer doesnt support this network card, so i popped in a PCI 
> Netgear ethernet card, which was detected fine, and i was ready to go.
> 
> Card is detected fine, DHCP worked fine, i was assigned an ip, I 
> selected my mirror, then when i go to install the base system the 
> downloader segfaults and returns an error.  Possibly a problem with the 
> fact i now have two network cards.

No, it's because debootstrap needs some features from the shell that
causes busybox ash to segfault. :-/ Try going back to the "Load
installer module" step and install dash-udeb. Then, installing base
should work.

Petter, I thought you and/or Thorsten hacked base-installer to depend on
dash-udeb?


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Bug#201032: partconf: lines are too long when selecting partitions

2003-07-13 Thread Martin Sjögren
sön 2003-07-13 klockan 00.54 skrev Sebastian Ley:
> On the partition select screen the lines get too long, when the user
> has alread chosen a new filesystem and a mountpoint. In my case, the
> mointpoint was cut off after the first /, so that all partitions looked
> af they should be mounted to /.
> 
> In my opinion this should be fixed by not displaying these ultralong
> devfs names but choose another, shorter expression for the partitions.

Amen! I already have a naming scheme for this, unfortunately it requires
some comma escaping in cdebconf that I haven't gotten around to
implementing yet. This, among other things, I hope to work on during
debcamp. :)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: Please add libtext-iconv-perl to the pkgs list for sarge

2003-07-11 Thread Martin Sjögren
fre 2003-07-11 klockan 08.30 skrev Alastair McKinstry:
> Could libtext-iconv-perl be added to the essential files list
> for sarge (on debian-cd, and the sarge-i386-netinst ISO)
> as it is now required by debootstrap.

Er, silly question, shouldn't debootstrap then depend on it? Won't it be
pulled in automagically?

> Secondly, could the file .disk/base_installable (empty; just needs
> to be present) be added to the sarge-i386-netinst ISO,
> to allow installs from CD.

Ah! I was wondering about oddities with the netinst CD, the lack of that
file could explain it.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Supported filesystems by debian-installer

2003-07-07 Thread Martin Sjögren
mån 2003-07-07 klockan 19.31 skrev Safir Secerovic Linux Zagor:
> Hello,
> I'm interested in the list of supported filesystems by our shiny new 
> debian-installer. Will there be at least support for SGI XFS 
> filesystem besides ext2/3 and reiser3.x (maybe even reiser4) for Sarge?

The program that sets up file systems modprobes for ext3 reiserfs jfs
xfs. Whether the modules are there or not, is a different question, that
I can't answer. You should talk to the kernel maintainers about this.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: di & net-initrd & powerpc

2003-07-04 Thread Martin Sjögren
tor 2003-07-03 klockan 23.27 skrev Gaudenz Steinlin:
> These two files should be created automatically. The message is a bit
> missleading because it should better say "Could not open foo, created
> new foo."

Or better yet, they shouldn't be there at all. I've changed the level of
the message to INFO_VERBOSE (i.e. shouldn't be visible in d-i) in cvs a
long time ago, but it hasn't been uploaded yet.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Re: Please make discover2 udebs available for testing

2003-06-29 Thread Martin Sjögren
tis 2003-06-24 klockan 08.49 skrev Jeff Licquia:
> > >  - I have written a reduction script for discover 2 data, and have
> > > begun testing it.  As far as I can tell, it works.  But I haven't
> > > yet integrated the script into debian/rules so it's used to generate
> > > the udeb.
> This integration work is now done.

There are still, however, lots of entries that say
  ignore
Can't these be stripped out too?

Also, the .lst files are not interesting in the udeb.

> you'll do this with didiscover:
> 
>   /usr/bin/didiscover --data-path=linux/module/name --data-vendor --data-model \
> --format="%s:%s %s" network

I tested this, and it seems to work fine.

> Please give this a try and let me know if it works for you.  (Backslash
> handling, such as "\t", doesn't seem to be there in either discover or
> didiscover, but it should be fairly straightforward to add if
> necessary.)  If the name is troubling to you, we can kill off the copy
> of discover in the udeb and make "didiscover" the discover there.

What concerns me more is that there are two binaries in the udeb. One of
them has to go, and since didiscover does what we want, drop discover.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: Boot problems

2003-06-19 Thread Martin Sjögren
ons 2003-06-18 klockan 23.44 skrev HARDIN,PAUL D (HP-Corvallis,ex1):
>   5. I as for an install of basic system and get the following
> message:
> 
> P:0 100 Downloading Release file
> I: Retrieving file:///cdrom/dists/Sarge/Release
> Segmentation Fault
> Base installer's postinst exited with status 35584
> Installer[48]: Lowering debconfpriority limit

This is an incompatability issue between debootstrap (which is what's
installing base) and the ash shell in busybox-cvs. You can work around
it by installing 'dash-udeb' from anna (the "load installer modules"
step).

FYI, we're not even in beta yet, so if you want a working sarge system,
it's better to install woody and then dist-upgrade

> PS: I am a software engineer and have administrated large networks of HP-UX
> and Sparc stations before, so I can deal with a fairly high level of
> technical information. (thanks again)

In that case, I'm curious what your impression of the installer (except
for the segfault :) is. Any input is good input. :)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED]
  Phone: +46 (0)31 7490880   Cell: +46 (0)739 169191
  GPG key: http://www.strakt.com/~martin/gpg.html


signature.asc
Description: PGP signature


Bug#197922: anna: do not handle low-memory / full ram disk situation

2003-06-18 Thread Martin Sjögren
reassign 197922 udpkg
thanks

ons 2003-06-18 klockan 17.16 skrev Petter Reinholdtsen:
> Package: anna
> Version: 0.030
> 
> When trying to install in VMWare with 24 MB ram, the installation
> loops when anna is selected.  I install with DEBCONF_PRIORITY=high, so
> the main menu is not displayed.
> 
> The installatin continues until the ram disk is full, and then prints
> 'corrupted status flag!!', and 'Terminated' in between the progress
> information.

anna is rigorous in its return code checking, but udpkg seems pretty
lacking in that (see for example dpkg_dounpack, if ar | tar... fails, it
still returns 0).


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: 2003-06-14 Install failure report

2003-06-16 Thread Martin Sjögren
mån 2003-06-16 klockan 20.27 skrev Bastian Blank:
> On Mon, Jun 16, 2003 at 07:53:12PM +0200, Thorsten Sauter wrote:
> > should we update the dependancy of base-installer to install the
> > dash-udeb package?
> 
> no, it's a debootstrap problem.

*Please* explain to us how "busybox segfaults" translates into "a
debootstrap problem". I really really really don't understand that.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Re: 2003-06-12 installation failure report

2003-06-12 Thread Martin Sjögren
tor 2003-06-12 klockan 11.41 skrev Gaudenz Steinlin:
> 2. partconf does not call swapoff nor unmount partitions when called
>again. So if your configuration partially faild and you have to
>reinvoke partconf, you have to do this manually first.

That's right, partconf currently has no real support for a second
invocation. I blame it on lack of time on my part. There are a number of
things that should be considered:
* Populating the menu with current data
* Unmounting/swapoff
* Keeping the sanity checks up to date
and probably others I can't think of right now.

Patches welcome. :-)


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


Bug#192305: Sarge: debian-installer from Bootfloppydisk and Description of In stallation

2003-06-10 Thread Martin Sjögren
tis 2003-06-10 klockan 14.07 skrev Walther, Christoph:
> Hello Debian-Testing-insterested people,
> 
> I downloaded the ISO-CD-Images "Sarge", status "testing" and
> I found a floppy-image on the first CD: cdrom144-1440.img.
> It is possible to boot my K5 486 100Mc/s-PC by them.
> When the debian-installer is started, it is possible to choose
> the language, CD-ROM will be detected and is really mounted, 
> at menuitem "Load installer modules" the cdrom-retriever for fetching
> modules from CD will be used.
> In the following list, where you find items
> like cdrom-checker, modutils-basic, lvmcfg, and so on, it is possible to mark the
> desired items, but now I don't know how to continue with the debian-installer-prompt,
> seen as
> Prompt: 1 - 37, q to end, b for begin>
> It is posible only to enter the numbers, b for begin of list and q for end.
>  
> 1) Do you know which actions at the prompt must be done to proceed successfully ?

Thank you for showing us that it IS too confusing. :) "q to end" refers
to leaving the selection list (thereby proceeding). Maybe it's better to
use a word like "continue", "finish" or "proceed"? I'm CC:ing this to
#192305.

> 2) Do you know about a small instructing-manual for the debian-installer, used in 
> "testing" ?

There's pretty much only what documentation there is in CVS:
http://cvs.debian.org/debian-installer/doc/

> 3) Can you give me some helpful hints to install "testing" successfully ?

If you are more interested in getting a Sarge system running to
perfection than in helping us develop debian-installer, I'd recommend
installing Woody and then dist-upgrading to Sarge.


/Martin
-- 
Martin Sjögren
  [EMAIL PROTECTED] -- [EMAIL PROTECTED]
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)


signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signeradmeddelandedel


  1   2   3   4   >