CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Lounge (https://www.cfd-online.com/Forums/lounge/)
-   -   Problems installing SVN in Ubuntu (for later installing PyFoam for OpenFOAM) (https://www.cfd-online.com/Forums/lounge/136185-problems-installing-svn-ubuntu-later-installing-pyfoam-openfoam.html)

immortality May 20, 2014 04:39

Problems installing SVN in Ubuntu (for later installing PyFoam for OpenFOAM)
 
Hi
its needed to install svn for pyFoam:
"The program 'svn' is currently not installed"
but when I want to install pyFoam an error related to installing svn occurs.
Code:

thesis@thesis-X58A-UD7:~$ sudo apt-get install subversion
[sudo] password for thesis:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  libapr1 libaprutil1 libsvn1
Suggested packages:
  subversion-tools db4.8-util
The following NEW packages will be installed:
  libapr1 libaprutil1 libsvn1 subversion
0 upgraded, 4 newly installed, 0 to remove and 297 not upgraded.
Need to get 1,270 kB of archives.
After this operation, 3,985 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libapr1 libaprutil1 libsvn1 subversion
Install these packages without verification [y/N]? y
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric/main libapr1 amd64 1.4.5-1
  404  Not Found
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric/main libaprutil1 amd64 1.3.12+dfsg-2
  404  Not Found
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric-updates/main libsvn1 amd64 1.6.12dfsg-4ubuntu5.1
  404  Not Found
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric-updates/main subversion amd64 1.6.12dfsg-4ubuntu5.1
  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/a/apr/libapr1_1.4.5-1_amd64.deb  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/a/apr-util/libaprutil1_1.3.12+dfsg-2_amd64.deb  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/s/subversion/libsvn1_1.6.12dfsg-4ubuntu5.1_amd64.deb  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/s/subversion/subversion_1.6.12dfsg-4ubuntu5.1_amd64.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

hw can I overcome this issue?

gschaider May 21, 2014 19:31

Quote:

Originally Posted by immortality (Post 493020)
Hi
its needed to install svn for pyFoam:
"The program 'svn' is currently not installed"
but when I want to install pyFoam an error related to installing svn occurs.
Code:

thesis@thesis-X58A-UD7:~$ sudo apt-get install subversion
[sudo] password for thesis:
Reading package lists... Done
Building dependency tree     
Reading state information... Done
The following extra packages will be installed:
  libapr1 libaprutil1 libsvn1
Suggested packages:
  subversion-tools db4.8-util
The following NEW packages will be installed:
  libapr1 libaprutil1 libsvn1 subversion
0 upgraded, 4 newly installed, 0 to remove and 297 not upgraded.
Need to get 1,270 kB of archives.
After this operation, 3,985 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  libapr1 libaprutil1 libsvn1 subversion
Install these packages without verification [y/N]? y
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric/main libapr1 amd64 1.4.5-1
  404  Not Found
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric/main libaprutil1 amd64 1.3.12+dfsg-2
  404  Not Found
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric-updates/main libsvn1 amd64 1.6.12dfsg-4ubuntu5.1
  404  Not Found
Err http://ir.archive.ubuntu.com/ubuntu/ oneiric-updates/main subversion amd64 1.6.12dfsg-4ubuntu5.1
  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/a/apr/libapr1_1.4.5-1_amd64.deb  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/a/apr-util/libaprutil1_1.3.12+dfsg-2_amd64.deb  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/s/subversion/libsvn1_1.6.12dfsg-4ubuntu5.1_amd64.deb  404  Not Found
Failed to fetch http://ir.archive.ubuntu.com/ubuntu/pool/main/s/subversion/subversion_1.6.12dfsg-4ubuntu5.1_amd64.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

hw can I overcome this issue?

No idead. Your machine can't get to the server. This is not a PyFoam problem. Not even an OpenFOAM problem. Please don't spam this thread with it.

BTW: the version in the SVN is the same as the latest tar found on the PyFoam-Wiki-page. Get that

wyldckat May 24, 2014 03:05

Greetings to all!

As the first post wasn't strictly PyFoam nor OpenFOAM related, I've moved the posts above to the Lounge forum.

Assuming the Ubuntu repositories at the "ir.archive.ubuntu.com" server(s) still have packages for Ubuntu Oneiric, you'll need to run first this command:
Code:

sudo apt-get update
If this command complains that it can't find something or anything, then don't expect the other installation command to work :(.

Best regards,
Bruno


All times are GMT -4. The time now is 14:05.