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

Closed
opened 2010-03-03 23:44:52 +00:00 by zooko · 14 comments

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

Jake Appelbaum tested our install docs for us. He wrote a patch to make it quicker and dirtier.
zooko added the
documentation
major
defect
1.6.0
labels 2010-03-03 23:44:52 +00:00
zooko added this to the undecided milestone 2010-03-03 23:44:52 +00:00

Attachment debian-tldr.txt (1583 bytes) added

**Attachment** debian-tldr.txt (1583 bytes) added
# 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
``` # 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 ```

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

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

Attachment debian-tldr-second-try.txt (3696 bytes) added

**Attachment** debian-tldr-second-try.txt (3696 bytes) added

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) ...
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) ... ```

Attachment debian-tldr-third-try.txt (3398 bytes) added

**Attachment** debian-tldr-third-try.txt (3398 bytes) added

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) ...
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) ... ```

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

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

Oops, wikiformatting ate my underscores. That should read

sed -i -e 's/__file__/"."/' setup.py
Oops, wikiformatting ate my underscores. That should read ``` sed -i -e 's/__file__/"."/' setup.py ```

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.

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.
tahoe-lafs modified the milestone from undecided to 1.7.0 2010-03-21 16:41:38 +00:00
zooko modified the milestone from 1.7.0 to 1.7.1 2010-06-19 01:25:35 +00:00
davidsarah commented 2010-07-18 00:47:35 +00:00
Owner

The patch was applied in changeset:8fddc7a4a5cf4f69. Leaving open to address comment:75969 and comment:75971.

The patch was applied in changeset:8fddc7a4a5cf4f69. Leaving open to address [comment:75969](/tahoe-lafs/trac-2024-07-25/issues/978#issuecomment-75969) and [comment:75971](/tahoe-lafs/trac-2024-07-25/issues/978#issuecomment-75971).
tahoe-lafs modified the milestone from 1.7.1 to 1.8β 2010-07-18 00:47:35 +00:00
Author

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?

Replying to [warner](/tahoe-lafs/trac-2024-07-25/issues/978#issuecomment-75971): > 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?
Author

Replying to [zooko]comment:12:

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.: changeset: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.

Replying to [zooko]comment:12: > > 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.: changeset: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.
tahoe-lafs modified the milestone from 1.8β to soon 2010-09-10 21:00:01 +00:00
davidsarah commented 2010-11-12 21:47:24 +00:00
Owner

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

Packaging argparse, zbase32, and pycryptopp for Debian is a duplicate of #769.
tahoe-lafs added the
fixed
label 2010-11-12 21:47:24 +00:00
davidsarah closed this issue 2010-11-12 21:47:24 +00:00
tahoe-lafs modified the milestone from soon to 1.7.0 2014-11-27 04:03:46 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#978
No description provided.