Jump to content

Photo

[Funtoo 64 stable] Error syncing portage.

- - - - -

Best Answer Oleg Vinichenko , 14 October 2016 - 05:46 AM

cd /usr/portage

git --reset hard

emerge --sync

Go to the full post »


4 replies to this topic

#1
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

I to all;

 

trying to update portage tree i obtain:

 

k9-64x2 ~ # emerge --sync 
>>> Syncing repository 'gentoo' into '/usr/portage'...
/usr/bin/git fetch origin --depth 1
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
error: Entry 'profiles/use.local.desc' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'origin/funtoo.org'.
!!! git pull error in /usr/portage

 

What can i do ?

 

Thanks.



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 415 posts
✓  Best Answer

cd /usr/portage

git --reset hard

emerge --sync


  • Sandro likes this
www.funtoo.org

#3
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy
k9-64x2 portage # git --reset hard
Unknown option: --reset
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

So i've tried to making

# cd /usr/portage
# git checkout funtoo.org

Now it seems ok.

 

However,  now:

k9-64x2 portage # git reset
k9-64x2 portage # git reset --hard
HEAD ora si trova a db2c103 merged from funtoo-staging
k9-64x2 portage #

Is ok ?



#4
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 415 posts

yes


www.funtoo.org

#5
Sandro

Sandro

    Advanced Member

  • Members
  • PipPipPip
  • 369 posts
  • LocationSaronno, Via IV Novembre, 23 21047 Italy

Ok ... Thx Great Oleg :)





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users