------------------------------------------------------------------------------
# Modified Calculate-core 3.1.1
# Processed template files:
# /var/lib/layman/calculate/profiles/templates/3.1/3_ac_install_live/1-live/sys-apps/portage/make.conf
# For modify this file, create /etc/make.conf.clt template.
#------------------------------------------------------------------------------
#-------------------
# Basic build option
#-------------------
# Valid license. Need to specify for such packages as:
# net-wireless/broadcom-sta, dev-java/sun-jdk and others.
ACCEPT_LICENSE="*"
# Alternative mirror updates repository. In case of problems with access
# at the beginning try to update the overlay by running `eix-sync`.
#PORTAGE_BINHOST="http://95.108.197.242/calculate/CLD/grp/i686"
#PORTAGE_BINHOST="ftp://ftp.linux.kiev.ua/pub/Linux/Calculate/CLD/grp/i686"
#PORTAGE_BINHOST="http://mirror.cnet.kz/calculate/CLD/grp/i686"
# Connecting overlays layman. You should not change this setting, as this may
# disrupt the package manager.
source /var/lib/layman/make.conf
#-----------------
# Compiler Options
#-----------------
# Additional options passed to the compiler. The flag "-march=native"
# Optimize the program by your hardware.
#CFLAGS="-O2 -march=native -pipe"
#CXXFLAGS="${CFLAGS}"
#-------------------
# Faster Compilation
#-------------------
# Number of parallel processes that run when you install.
MAKEOPTS="-j1"
# The number of packets for simultaneous assembly.
#EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --jobs=4"
# disrupt the package manager.
source /var/lib/layman/make.conf
#-----------------
# Compiler Options
#-----------------
# Additional options passed to the compiler. The flag "-march=native"
# Optimize the program by your hardware.
#CFLAGS="-O2 -march=native -pipe"
#CXXFLAGS="${CFLAGS}"
#-------------------
# Faster Compilation
#-------------------
# Number of parallel processes that run when you install.
MAKEOPTS="-j1"
# The number of packets for simultaneous assembly.
#EMERGE_DEFAULT_OPTS="${EMERGE_DEFAULT_OPTS} --jobs=4"
http_proxy="http://localhost:8080"
ftp_proxy="http://localhost:8080"
RSYNC_PROXY="localhost:8080"
here is what I put in my /etc/wget/wgetrc file:
# You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://localhost:8080/
http_proxy = http://localhost:8080/
ftp_proxy = http://localhost:8080/
# If you do not want to use proxy at all, set this to off.
use_proxy = on
I did env-update && source /etc/profile.
When I try to emerge --sync I get this error:
Starting git pull in /usr/portage...
fatal: Unable to look up git.calculate.ru (port 9418) (Name or service not known)
!!! git pull error in /usr/portage.
when i run eix-sync i get this now:
eix-sync
Checking portage…
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
* Copying old database to /var/cache/eix/previous.eix
* Syncing all portage overlays
Running… # ( cd /var/lib/layman/calculate && /usr/bin/git pull )
error: Unable to find dca23f2fcc1045502c1e066c665b5869de6e31ea under http://git.calculate.ru/calculate/overlay.git
Cannot obtain needed blob dca23f2fcc1045502c1e066c665b5869de6e31ea
while processing commit a441e53309d192b8aeae2c42db847b34d8914d78.
error: Fetch failed.
Errors:
Failed to sync overlay “calculate”.
Error was: Syncing overlay “calculate” returned status 1!
* layman -S failed
* Running emerge --sync
!!! getaddrinfo failed for ‘rsync.gentoo.org’: [Errno -2] Name or service not known
I Just did a fresh install.
My problem is running layman -S.
I would like to try again.
But how do I prevent layman -S from wiping out my portage.git directory
on faliure?