View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000265 | OpenFOAM | Bug | public | 2011-07-30 00:21 | 2011-08-06 16:52 |
Reporter | wyldckat | Assigned To | chris | ||
Priority | normal | Severity | trivial | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Platform | Linux | OS | Ubuntu | OS Version | >=10.04 |
Summary | 0000265: Some new users unfamiliar with Ubuntu and OpenFOAM have a tendency to fail the copy-paste instructions... | ||||
Description | It has come to my attention that new users that aren't familiar with Ubuntu/Linux and OpenFOAM (i.e. don't have a keen eye for details) are contaminating the "/etc/apt/sources.list" file with multiple executions of the instructions for adding the repository. Examples: * http://www.cfd-online.com/Forums/openfoam-installation/90637-openfoam-installation-algeria-dz.html * http://www.cfd-online.com/Forums/openfoam/90996-openfoam-installation.html | ||||
Steps To Reproduce | After considering other possibilities, I suggest that this instruction: sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main >> /etc/apt/sources.list" Is changed to this one: sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main > /etc/apt/sources.list.d/openfoam.list" (Notice that there is only one '>' character.) This way users will not contaminate the master "/etc/apt/sources.list" file and even if they do run the command after multiple attempts, it will always create a new file; therefore they will not be adding to their mistakes, but simply going to go through a healthy trial-and-error learning experience ;) I've confirmed (just in case) that '/etc/apt/sources.list.d/*.list' is valid for Ubuntu 10.04 and above. | ||||
Tags | No tags attached. | ||||
|
+1 from me. |
|
+1 |
|
Wicked! OpenFOAM 2.0.1 has been released! I only now saw the Ubuntu page for OpenFOAM 2.0.1 and I noticed this written there: sudo sh -c "echo deb http://www.openfoam.com/download/ubuntu $VERS main > /etc/apt/openfoam.list" It's missing the sub-folder "sources.list.d/" before the file name "openfoam.list". Quoting from the "man apt-get" page: FILES /etc/apt/sources.list Locations to fetch packages from. Configuration Item: Dir::Etc::SourceList. /etc/apt/sources.list.d/ File fragments for locations to fetch packages from. Configuration Item: Dir::Etc::SourceParts. By the way, I don't think there is a tag yet for this release on the github repository. Best regards, Bruno |
|
Many thanks, great idea, fixed now. |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-30 00:21 | wyldckat | New Issue | |
2011-07-30 12:10 |
|
Note Added: 0000599 | |
2011-08-03 11:47 |
|
Note Added: 0000602 | |
2011-08-06 15:43 | wyldckat | Note Added: 0000609 | |
2011-08-06 16:23 | wyldckat | Note Edited: 0000609 | |
2011-08-06 16:52 | chris | Note Added: 0000610 | |
2011-08-06 16:52 | chris | Status | new => resolved |
2011-08-06 16:52 | chris | Resolution | open => fixed |
2011-08-06 16:52 | chris | Assigned To | => chris |