#978 closed defect (fixed)

hard to navigate the docs to install, on Debian, with short attention span

Reported by: zooko Owned by: warner
Priority: major Milestone: 1.7.0
Component: documentation Version: 1.6.0
Keywords: debian install docs Cc:
Launchpad Bug:

Description

Jake Appelbaum tested our install docs for us. He wrote a patch to make it quicker and dirtier.

Attachments (3)

debian-tldr.txt (1.5 KB) - added by ioerror at 2010-03-03T23:47:55Z.
debian-tldr-second-try.txt (3.6 KB) - added by ioerror at 2010-03-04T01:29:17Z.
debian-tldr-third-try.txt (3.3 KB) - added by ioerror at 2010-03-04T01:48:27Z.

Download all attachments as: .zip

Change History (19)

Changed at 2010-03-03T23:47:55Z by ioerror

comment:1 Changed at 2010-03-03T23:48:59Z by ioerror

# dpkg -i ../allmydata-tahoe_0.0.1_all.deb
Selecting previously deselected package allmydata-tahoe.
(Reading database ... 100686 files and directories currently installed.)
Unpacking allmydata-tahoe (from .../allmydata-tahoe_0.0.1_all.deb) ...

dpkg: dependency problems prevent configuration of allmydata-tahoe:
 allmydata-tahoe depends on python-twisted; however:
  Package python-twisted is not installed.
 allmydata-tahoe depends on python-foolscap (>= 0.4.1); however:
  Package python-foolscap is not installed.
 allmydata-tahoe depends on python-nevow; however:
  Package python-nevow is not installed.
 allmydata-tahoe depends on python-simplejson (>= 1.4); however:
  Package python-simplejson is not installed.
 allmydata-tahoe depends on python-zfec (>= 1.1); however:
  Package python-zfec is not installed.
 allmydata-tahoe depends on python-pycryptopp (>= 0.5.15); however:
  Package python-pycryptopp is not installed.
dpkg: error processing allmydata-tahoe (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 allmydata-tahoe
Last edited at 2010-11-12T11:34:16Z by zooko (previous) (diff)

comment:2 Changed at 2010-03-03T23:53:38Z by zooko

  • Owner changed from somebody to warner

comment:3 Changed at 2010-03-03T23:54:49Z by ioerror

The version number is clearly incorrect for the .deb that is built.

Changed at 2010-03-04T01:29:17Z by ioerror

comment:4 Changed at 2010-03-04T01:35:14Z by ioerror

Huzzah! The second patch I've submitted here results in a deb that works:

# dpkg -i allmydata-tahoe_0.0.1_all.deb
Selecting previously deselected package allmydata-tahoe.
(Reading database ... 103129 files and directories currently installed.)
Unpacking allmydata-tahoe (from allmydata-tahoe_0.0.1_all.deb) ...
Setting up allmydata-tahoe (0.0.1) ...
Last edited at 2010-11-12T11:34:33Z by zooko (previous) (diff)

Changed at 2010-03-04T01:48:27Z by ioerror

comment:5 Changed at 2010-03-04T01:48:44Z by ioerror

And we're done:

dpkg -i allmydata-tahoe_1.6.1-r4262_all.deb
Selecting previously deselected package allmydata-tahoe.
(Reading database ... 104355 files and directories currently installed.)
Unpacking allmydata-tahoe (from allmydata-tahoe_1.6.1-r4262_all.deb) ...
Setting up allmydata-tahoe (1.6.1-r4262) ...
Last edited at 2010-11-12T11:34:50Z by zooko (previous) (diff)

comment:6 Changed at 2010-03-08T05:04:15Z by leif

Following ioerror's instructions in debian-docs-patch-final.txt (found on ticket #961) I was able to build a Debian lenny package.

The only thing I did differently than ioerror was that I also used stdeb to make debs of the two remaining things he easy_install'd: argparse and zbase32.

To make argparse's setup.py happy, I ran sed -i -e 's/file/"."/' setup.py

comment:7 Changed at 2010-03-08T05:07:06Z by leif

Oops, wikiformatting ate my underscores. That should read

sed -i -e 's/__file__/"."/' setup.py

comment:8 follow-up: Changed at 2010-03-10T19:42:38Z by warner

it looks like this patch has already landed (although, as with darcs patches in general, I don't know when or who to thank for landing it). One thing I'd point out is that the python-pycryptopp package is not in Lenny proper (although it is in lenny-backports), so you should either point this out explicitly or provide instructions for creating a pycryptopp deb too.

comment:9 Changed at 2010-03-21T16:41:38Z by davidsarah

  • Keywords docs added
  • Milestone changed from undecided to 1.7.0

comment:10 Changed at 2010-06-19T01:25:35Z by zooko

  • Milestone changed from 1.7.0 to 1.7.1

comment:11 Changed at 2010-07-18T00:47:35Z by davidsarah

  • Milestone changed from 1.7.1 to 1.8β

The patch was applied in 8fddc7a4a5cf4f69. Leaving open to address comment:6 and comment:8.

comment:12 in reply to: ↑ 8 ; follow-up: Changed at 2010-07-18T01:54:24Z by zooko

Replying to warner:

it looks like this patch has already landed (although, as with darcs patches in general, I don't know when or who to thank for landing it).

How would you like this to be different? I've been using git full-time at work for the past few months and I don't understand how this would be different with git.

I suppose we committers could get into the habit of using "darcs amend --edit" to edit the patch description and append a "committed by: $USER\non: $DATE" line. Would that be good?

comment:13 in reply to: ↑ 12 Changed at 2010-07-18T03:02:33Z by zooko

Replying to zooko:

I suppose we committers could get into the habit of using "darcs amend --edit" to edit the patch description and append a "committed by: $USER\non: $DATE" line. Would that be good?

I've started experimenting with doing this, e.g.: 968edfda119cb29c where I committed a patch of François's after adding NEWS and CREDITS to it and editing the patch description to say I committed it on this date. One consequence of this is that if you got François's original patch (from him directly or by downloading it from the ticket) then his will conflict with mine so you have to throw his away (with darcs obliterate before pulling mine.

comment:14 Changed at 2010-09-10T21:00:01Z by davidsarah

  • Milestone changed from 1.8β to soon

comment:15 Changed at 2010-11-12T21:47:24Z by davidsarah

  • Resolution set to fixed
  • Status changed from new to closed

Packaging argparse, zbase32, and pycryptopp for Debian is a duplicate of #769.

comment:16 Changed at 2014-11-27T04:03:46Z by daira

  • Milestone changed from soon to 1.7.0
Note: See TracTickets for help on using tickets.