View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000265||OpenFOAM||[All Projects] Bug||public||2011-07-30 00:21||2011-08-06 16:52|
|Fixed in Version|
|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.|
|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.|
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:
Locations to fetch packages from. Configuration Item:
File fragments for locations to fetch packages from. Configuration
By the way, I don't think there is a tag yet for this release on the github repository.
||Many thanks, great idea, fixed now.|
|2011-07-30 00:21||wyldckat||New Issue|
||Note Added: 0000599|
||Note Added: 0000602|
|2011-08-06 15:43||wyldckat||Note Added: 0000609|
|2011-08-06 16:23||wyldckat||Note Edited: 0000609||View Revisions|
|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|