当我执行命令时
**VERS=$(lsb_release -cs)
sudo sh -c "echo deb http://www.openfoam.org/download/ubuntu $VERS main > /etc/apt**/sources.list.d/openfoam.list"*][1]*
我有一个文件,openfoam.list
但输出sudo apt-get install openfoam221
是
N: Ignoring file 'openfoam221_0-1_i386.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'openfoamlist' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'openfoam221_0-1_i386.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'openfoamlist' in directory '/etc/apt/sources.list.d/' as it has no filename extension
N: Ignoring file 'openfoam221_0-1_i386.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'openfoamlist' in directory '/etc/apt/sources.list.d/' as it has no filename extension
E: Unable to locate package openfoam221
1
为什么在source.list.d中有一个deb文件和一个文件?
—
Braiam 2013年