CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Can't update repository for OF! (https://www.cfd-online.com/Forums/openfoam-installation/137361-cant-update-repository.html)

ChukerSweet June 14, 2014 13:42

Can't update repository for OF!
 
Hi there!
A bit new on linux. I'm trying to install OP but I seeam not to be able even to get de repositoy right
When I run
"
sudo apt-get update
"
I get
"
W: Failed to fetch http://www.openfoam.org/download/ubu...amd64/Packages 404 Not Found

W: Failed to fetch http://www.openfoam.org/download/ubu...-i386/Packages 404 Not Found
"
Why is that??
So my distro:

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=16
DISTRIB_CODENAME=petra
DISTRIB_DESCRIPTION="Linux Mint 16 Petra"
NAME="Ubuntu"
VERSION="13.10, Saucy Salamander"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 13.10"
VERSION_ID="13.10"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

In /etc/apt/sources.list.d I have several files.
One reads openfoam.list
in wich I have:
"
deb http://www.openfoam.org/download/ubuntu petra main

"
The same link I put in the official-package-repositories.list wich reads:
deb http://packages.linuxmint.com/ petra main upstream import

deb http://extra.linuxmint.com petra main

deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ saucy partner

deb http://www.openfoam.org/download/ubuntu petra main

alexeym June 14, 2014 14:18

Hi,

this line

Code:

deb http://www.openfoam.org/download/ubuntu petra main
should be

Code:

deb http://www.openfoam.org/download/ubuntu saucy main
as you're trying to use packages for Ubuntu, you should use Ubuntu's release name, not Mint's.

ChukerSweet June 14, 2014 16:21

THX allot! just intall it.


All times are GMT -4. The time now is 00:29.