
You are not logged in.
Hi All,
In a few days, I am going to stop updating the older portage trees on GitHub that many users are still using for emerge --sync, so users should switch to the new "portage-mini-2011" tree. You should also do this if you are still using the portage-mini-2010 tree. It's important to switch to our new 2011 tree so that "emerge --sync" will continue to work when these older trees are removed.
To see what tree you are currently pulling from when running emerge --sync, type this:
# cat /usr/portage/.git/config
Then look at the "url" setting under the [remote "origin"] section.
If it ends with "portage.git", you are using the big non-mini-manifest tree that will be retired in a few days. So you should switch to the 2011 tree using the instructions below.
If it ends with "portage-mini-2010.git", you are using the mini-manifest 2010 tree - the 2011 tree is more compact and 2010 will be retired soon too, so you should switch to 2011 using the instructions below..
If it ends with "portage-mini-2011.git", you are already using the latest 2011 tree and you don't need to perform any additional steps.
Note: due to how git works, switching to the 2011 tree involves backing up your old tree and then getting a fresh new copy of the 2011 tree. It's not enough to just tweak a configuration file, due to the way git works. Instructions on how to do it can be found below:
HOW TO UPDATE TO THE 2011 TREE
=============================
If you are using "portage.git" or "portage-mini-2010.git", here's how to update to the latest 2011 tree:
1. First, emerge --sync and emerge -u portage to ensure you have the latest version of Portage running.
2. Then, back up your old Portage tree:
# cd /usr
# mv portage portage.old
3. Next, edit /etc/make.conf and remove any hard-coded SYNC= variable from the file. The latest Portage has the correct default. You probably have a SYNC= line even if you didn't add it yourself. You need to ensure it's removed.
4. Now, grab the new 2011 tree by running "emerge --sync".
5. "cat /usr/portage/.git/config" and ensure that the "url" line ends in "portage-mini-2011.git" - this confirms you now have the latest 2011 tree.
6. Make sure your new tree is working fine, emerge a few things, etc.
7. Once you have confirmed that your new Portage tree is working, you can now "rm -rf /usr/portage.old" to save some disk space.
You are now fully migrated to the new 2011 mini-manifest tree
This tree will be active through mid-2012.
Best Regards,
Daniel
Offline
At 4.1, after running the emerge --sync, you need to run this :
# mv portage.sync portageThen you will be able to go to point 5.
Last edited by d2_racing (2011-08-06 21:18:05)
Offline
I didn't need to do that, I think portage move portage.sync in portage automaticly. After, we juste have to rm -r portage.sync.
@++
Justin : )
Offline
The "current" branch used by the portage-9999 ebuild still has SYNC pointing at the 2010 mini-tree.
Offline
I'm gonna retry today. More info soon
Offline
Ok, I checked and now it's working.
I don't know why I had to run mv then...
Offline
Do we still need a SYNC variable in /etc/make.conf after portage had been migrated to 2011 ?
Offline
Do we still need a SYNC variable in /etc/make.conf after portage had been migrated to 2011 ?
No, the default for SYNC is set to use the 2011 mini-tree
Offline
worked flawless!
what's new? ![]()
Offline
nothing only cleaner and smaller ![]()
Offline
I done as advised and now I get in the 5 steps and now I get:
/usr> sudo emerge --sync
Portage repository is currently empty.
>>> Using /usr/portage.sync/portage as temporary clone directory...
>>> Starting initial git clone with git://github.com/funtoo/portage-mini-2010.git...
Cloning into portage...
fatal: remote error:
Could not find Repository funtoo/portage-mini-2010
Any hints?
Best
Zeno
Offline
This did not work either.
1. /usr/portage/.git> sudo cp -r ../../portage.old/.git/* .
2. cd ../
3. sudo git stash
4. sudo git reset --hard
5. sudo emerge --sync
I am now trying to do:
1. cd /usr
2. sudo git clone git://github.com/funtoo/portage-mini-2011.git
3. mv portage-mini-2011 portage
4. mv portage.sync portage.sync.old
5. emerge --sync
This seems to work.
Best
Zeno
Last edited by zdavatz (2011-08-31 13:35:59)
Offline
After upgrading one of my servers I am now stuck with upgrading portage (note: I could not emerge portage before the upgrade to portage-mini-2011.git because the emerge --sync failed and it tells me I am on the latest version: 2.2_rc67-r2).
So I followed your steps, upgraded to portage-mini-2011.git and now I am stuck with upgrading portage with the following error:
>>> Verifying ebuild manifests
!!! A file is not listed in the Manifest: '/usr/portage/sys-apps/portage/portage-2.2.2.ebuild'
!!! Manifest is empty: '/usr/portage/sys-devel/automake-wrapper/Manifest'
!!! Manifest is empty: '/usr/portage/virtual/yacc/Manifest'
!!! A file is not listed in the Manifest: '/usr/portage/dev-lang/perl/perl-5.10.0-r1.ebuild'
!!! A file is not listed in the Manifest: '/usr/portage/sys-devel/automake/automake-1.10.3.ebuild'
!!! A file is not listed in the Manifest: '/usr/portage/sys-devel/binutils/binutils-2.16.1-r3.ebuild'
!!! A file is not listed in the Manifest: '/usr/portage/app-misc/realpath/realpath-1.15-r1.ebuild'
!!! A file is not listed in the Manifest: '/usr/portage/app-admin/perl-cleaner/perl-cleaner-2.10.ebuild'
!!! A file is not listed in the Manifest: '/usr/portage/sys-devel/libtool/libtool-1.3.5.ebuild'
A bit of a catch 22 I would say.
Any hints?
Best
Zeno
Offline
Try
FEATURES="mini-manifest" emerge -1 portageI don't remember when mini-manifest was introduced but if that doesn't work post back and we can help you fix it. Basically you'll need to clone the git repo for portage source code and manually move it in place of your current portage.
Offline
This worked very smooth, thank you!
I am having a second issue on my local machine. emerge --sync worked but now I want to upgrade portage and this results in:
>>> Downloading 'https://www.github.com/funtoo/portage-f … 1-06-26-r6'
--2011-09-01 10:45:13-- https://www.github.com/funtoo/portage-f … 1-06-26-r6
Resolving www.github.com... 207.97.227.243
Connecting to www.github.com|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/funtoo/portage-funto … 1-06-26-r6 [following]
--2011-09-01 10:45:14-- https://github.com/funtoo/portage-funto … 1-06-26-r6
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
ERROR: cannot verify github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1':
Unable to locally verify the issuer's authority.
To connect to github.com insecurely, use `--no-check-certificate'.
!!! Couldn't download 'portage-funtoo-merged-2011-06-26-r6.tar.gz'. Aborting.
* Fetch failed for 'sys-apps/portage-2.3-r4', Log file:
* '/var/tmp/portage/sys-apps/portage-2.3-r4/temp/build.log'
I checked, there is not such file.
I searched the internet and I do have the latest openssl and wget installed.
Any more hints?
Best
Zeno
Offline
You need to recompile openssl, update the certificates, recompile wget and try again
Offline
Offline
Dear Daniel
This is not the case. I done both and I still get the same error:
>>> Emerging (1 of 1) sys-apps/portage-2.3-r7
>>> Downloading 'http://distfiles.gentoo.org/distfiles/p … a55.tar.gz'
--2011-09-19 08:54:39-- http://distfiles.gentoo.org/distfiles/p … a55.tar.gz
Resolving distfiles.gentoo.org... 140.211.166.134, 156.56.247.195, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2011-09-19 08:54:40 ERROR 404: Not Found.
>>> Downloading 'https://www.github.com/funtoo/portage-f … .2_alpha55'
--2011-09-19 08:54:40-- https://www.github.com/funtoo/portage-f … .2_alpha55
Resolving www.github.com... 207.97.227.243
Connecting to www.github.com|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/funtoo/portage-funto … .2_alpha55 [following]
--2011-09-19 08:54:40-- https://github.com/funtoo/portage-funto … .2_alpha55
Resolving github.com... 207.97.227.239
Connecting to github.com|207.97.227.239|:443... connected.
ERROR: cannot verify github.com's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV CA-1':
Unable to locally verify the issuer's authority.
To connect to github.com insecurely, use `--no-check-certificate'.
!!! Couldn't download 'portage-funtoo-2.3-stable-staging-merged-2.2_alpha55.tar.gz'. Aborting.
* Fetch failed for 'sys-apps/portage-2.3-r7', Log file:
* '/var/tmp/portage/sys-apps/portage-2.3-r7/temp/build.log'
* net-misc/wget
Latest version available: 1.12-r3
Latest version installed: 1.12-r3
* dev-libs/openssl
Latest version available: 1.0.0e
Latest version installed: 1.0.0e
Best
Zeno
Offline
This is weird, looks like your box is screwed somehow, there're no more reports. Anyway I uploaded the tarabll to osuosl, you can try to fetch it manually and update portage.
http://ftp.osuosl.org/pub/funtoo/distfi … a55.tar.gz
Offline
Recently updated ... ended up manually modifying /usr/portage/.git/config set the url line to
url = git://github.com/funtoo/portage-mini-2011.gitto get things to work ... it had been a while since I had done updates ![]()
running emerge -avuDN system && emerge -avuDN world ![]()
Offline
@angry_vincent
Thanks! I downloaded that tarball and I placed it to /usr/portage/distfiles,
And it worked! Thank you!
@jonathan183
My git-config already is:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git://github.com/funtoo/portage-mini-2011.git
[branch "funtoo.org"]
remote = origin
merge = refs/heads/funtoo.org
Best
Zeno
Offline
The combination of commenting out SYNC= in /etc/make.conf, modifying /usr/portage/.git/config, and an emerge --sync was sufficient to get me going ... anyway glad you got things sorted ![]()
Offline