View previous topic :: View next topic |
Author |
Message |
schmeggahead Guru
Joined: 25 Feb 2003 Posts: 314 Location: Columbus, Ohio
|
Posted: Sun Mar 16, 2014 4:41 pm Post subject: [solved] Portage Directory wiped out, profile symlink gone |
|
|
I just did an emerge --sync follow-up by a oneshot upgrade of portage and my profile symlink is gone.
eselect profile list fails:
Code: |
!!! Error: Failed to get a list of valid profiles
exiting
|
for emerge --sync
Code: |
>>> This is not a git repository. The folder is either empty or has other data.
Removing contents inside this folder...
>>> Starting initial git clone with rsync://rsync.namerica.gentoo.org/gentoo-portage...
Cloning into 'portage'...
Welcome! This is a gentoo-portage and CentOS mirror, hosted by Steadfast Networks!
http://steadfast.net
Hostename: mirror.steadfast.net & rsync11.us.gentoo.org
IP Addresses: 208.100.4.53 & 2607:f128:1:3::2
Location: Chicago, IL, US
Bandwidth: 1000 Mbps
Hardware: Dual Opteron 2212, 8 GB RAM
User Limit: 40
If you experience trouble with this mirror, please contact mirror@steadfast.net
rsync: link_stat "/refs" (in gentoo-portage) failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1518) [Receiver=3.0.9]
fatal: Could not run rsync to get refs
??? git clone error; exiting. |
I remember being able to import a portage snapshot, but I don't have emerge-webrsync available.
I'm not sure that would fix the profile situation either.
I did bring in a funtoo-overlay and then subsequently removed it.
[/code]
Last edited by schmeggahead on Sun Mar 16, 2014 5:46 pm; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21497
|
Posted: Sun Mar 16, 2014 5:33 pm Post subject: |
|
|
As far as I know, stock Gentoo Portage does not use git over rsync as its emerge --sync mechanism. This appears to be lasting damage from playing around with Funtoo. |
|
Back to top |
|
|
schmeggahead Guru
Joined: 25 Feb 2003 Posts: 314 Location: Columbus, Ohio
|
Posted: Sun Mar 16, 2014 5:46 pm Post subject: |
|
|
Bummer.
I guess I'll be doing a re-install.
Thanks for the confirmation. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21497
|
Posted: Sun Mar 16, 2014 7:00 pm Post subject: |
|
|
You could try to repair the existing installation by undoing whatever Funtoo did to it. |
|
Back to top |
|
|
ulenrich Veteran
Joined: 10 Oct 2010 Posts: 1480
|
Posted: Sun Mar 16, 2014 10:22 pm Post subject: |
|
|
Just download the snapshot by hand from the Gentoo Homepage and
- delete your portdir
- untar in that location: tar xaf FILE
And look, if you find where it is defined a git repository in /etc/portage
And why not Funtoo, just curiously asking? |
|
Back to top |
|
|
schmeggahead Guru
Joined: 25 Feb 2003 Posts: 314 Location: Columbus, Ohio
|
Posted: Mon Mar 17, 2014 1:50 am Post subject: |
|
|
Quote: | And why not Funtoo, just curiously asking? |
well, it basically trashed my system when I added the overlay to laymen for starters.
The profile system in funtoo doesn't seem to be compatible with the gentoo portage profile setup.
I began to read about the way that funtoo handles profiles, but I really just wanted one of the packages available in the funtoo overlay. So I think I am better off repairing my current system and manually bringing in the ebuild for that package.
I did try the old way of untarring the portage snapshot and when as soon as I did an emerge --sync, it wiped out the directory.
I'll be doing some forensics on the installation before I leave the current install to the bit bucket. I'm not sure where to start to determine what has set my portage to be a git repository.
Meanwhile, i have setup a completely new boot for day to day.
Appreciate the perspective.
I might play with funtoo on a different experimental build. I'm playing with parallels and creating a virtual machine and being able to just restore has its own allure. Safe playground for the experimenter without centuries to study.
Quote: | You could try to repair the existing installation by undoing whatever Funtoo did to it. |
My patience ain't what it used to be. When I created the current build, I didn't really properly setup the tracking and audit trails like I used to. So figuring out what was done and then figuring out how to repair it could be daunting. A reinstall is so fast with Gentoo. It makes it much easier than figuring out an apparently incompatible overlay.
I know to keep my data separate and backed up. Besides, installing new systems is fun and a great sense of accomplishment. And if you don't do it every so many months, it changes enough that the learning curve is there again. A big thank you to the handbook writers because there is always good information to guide us through. |
|
Back to top |
|
|
archenroot Apprentice
Joined: 13 Dec 2011 Posts: 218 Location: Lake Macha, Czech republic
|
Posted: Thu Mar 27, 2014 2:52 pm Post subject: Same issue here with funtoo-overlay |
|
|
My system was just fine, but after adding funtoo-overlay and emerge --sync same output appears. Just trying to get snapshot and see the result...
Update:
oki, after cleaning up whole /usr/portage which is my PORTDIR, I unpacked latest portage snapshot and reruned emerge --sync (with gpg) and everything looks just fine, now running emerge -vuDN @world and so far looks good... _________________ Emperor wants to control outer space Yoda wants to explore inner space that's the fundamental difference between good and bad sides of the Force |
|
Back to top |
|
|
schmeggahead Guru
Joined: 25 Feb 2003 Posts: 314 Location: Columbus, Ohio
|
Posted: Fri Mar 28, 2014 2:25 pm Post subject: |
|
|
Well, I've been unsuccessful in finding where the designation is for the git repository.
I believe that because I emerged portage under funtoo, there may be no way to revert back to the old setup. |
|
Back to top |
|
|
|