patty.yivi Posted July 24, 2016 Report Share Posted July 24, 2016 Please review, my /etc/portage/repos.conf is: [DEFAULT] main-repo = gentoo [gentoo] location = /mnt/_tinies/_Funtoo/portage sync-type = git sync-uri = git://github.com/funtoo/ports-2012.git auto-sync = yes sync-rsync-vcs-ignore = true GENTOO_MIRRORS="http://gentoo.linux.no http://trumpetti.atm.tut.fi/gentoo http://ftp.rhnet.is/pub/gentoo/ \ http://mirrors.xmu.edu.cn/gentoo http://mirrors.stuhome.net/gentoo/ http://mirrors.sohu.com/gentoo/ \ http://mirrors.163.com/gentoo" and I got error message on portage syncing: # eix-sync * Running emerge --sync >>> Syncing repository 'gentoo' into '/mnt/_tinies/_Funtoo/portage'... /usr/bin/git clone --depth 1 git://github.com/funtoo/ports-2012.git . fatal: destination path '.' already exists and is not an empty directory. !!! git clone error in /mnt/_tinies/_Funtoo/portage The same for 'emerge --sync' What is wrong? Explanation: in the path /mnt/_tinies/_Funtoo/portage there is indeed the portage tree located! Link to comment Share on other sites More sharing options...
0 patty.yivi Posted July 25, 2016 Author Report Share Posted July 25, 2016 Please, respond. What do you have in your /etc/portage/repos.conf configuration file? Please share it! Link to comment Share on other sites More sharing options...
0 stone821 Posted July 25, 2016 Report Share Posted July 25, 2016 Are there any files in the portage directory? I encountered the same problem. You should ensure that it's an empty directory. After emerging the portage first, you can create any files & directory in it. If it cannot resolve your problem, try the default portage directory. My configure file is the same as yours except the portage directory. Link to comment Share on other sites More sharing options...
0 patty.yivi Posted July 25, 2016 Author Report Share Posted July 25, 2016 @stone821, of course the portage directory is filled with usual content and up to date! And I've tried the default path, simply by linking my portage directory to /usr/portage, but with no avail. What do you mean precisely by saying you've encountered the same problem? ------EDIT I've emptied the portage directory and run eix-sync again. This works, the portage directory has been filled with desired content. Yet to check up whether it is going to update properly. Link to comment Share on other sites More sharing options...
0 stone821 Posted July 26, 2016 Report Share Posted July 26, 2016 @patty.yivi sorry for my English. Before you emerge portage, the portage directory must be empty. It cannot include anything, otherwise git will complaint. I created a distfiles directory in the portage directory before emerging protage. Git showed me the same errors as yours. Link to comment Share on other sites More sharing options...
0 patty.yivi Posted July 27, 2016 Author Report Share Posted July 27, 2016 Before you emerge portage, the portage directory must be empty.Do you mean "emerge portage" or "sync portage directory"? It cannot include anything, otherwise git will complaint.Because if before syncing portage directory the directory must be empty it means before every syncing one should delete the whole portage directory content... Link to comment Share on other sites More sharing options...
0 Sandro Posted July 27, 2016 Report Share Posted July 27, 2016 If Portage has troubles, You can try: # emerge --regen or # mv /usr/portage /usr/portage_old && emerge --sync (or eix-synce) Link to comment Share on other sites More sharing options...
0 stone821 Posted July 29, 2016 Report Share Posted July 29, 2016 Do you mean "emerge portage" or "sync portage directory"? Because if before syncing portage directory the directory must be empty it means before every syncing one should delete the whole portage directory content... If you still have the error: fatal: destination path '.' already exists and is not an empty directory. 1. delete anything in your portage directory. 2. emerge --sync or eix-sync Link to comment Share on other sites More sharing options...
0 Sandro Posted July 29, 2016 Report Share Posted July 29, 2016 I've this: sandro@ci74771ht ~ $ cat /etc/portage/repos.conf/gentoo [DEFAULT] main-repo = gentoo [gentoo] location = /usr/portage sync-type = git sync-uri = git://github.com/funtoo/ports-2012.git auto-sync = yes Link to comment Share on other sites More sharing options...
Question
patty.yivi
Please review, my
/etc/portage/repos.conf
is:
and I got error message on portage syncing:What is wrong?
Explanation: in the path /mnt/_tinies/_Funtoo/portage there is indeed the portage tree located!
Link to comment
Share on other sites
8 answers to this question
Recommended Posts