Jump to content
funtoo forums
  • 0
NikosAlexandris

Detached HEAD state for some kit branches

Question

ego sync

gives a couple of "errors". Some of the kit repositories are "behind" and don't get updated:

Syncing meta-repo
M       kits/core-hw-kit
M       kits/core-kit
M       kits/desktop-kit
M       kits/dev-kit
M       kits/editors-kit
M       kits/games-kit
M       kits/gnome-kit
M       kits/haskell-kit
M       kits/java-kit
M       kits/kde-kit
M       kits/lang-kit
M       kits/lisp-scheme-kit
M       kits/llvm-kit
M       kits/media-kit
M       kits/ml-lang-kit
M       kits/net-kit
M       kits/nokit
M       kits/perl-kit
M       kits/php-kit
M       kits/python-kit
M       kits/ruby-kit
M       kits/science-kit
M       kits/security-kit
M       kits/text-kit
M       kits/xfce-kit
M       kits/xorg-kit
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 286810e kit updates
Skipping repository kits/python-modules-kit/
Already up to date.
Syncing core-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at 5680cc556 updates
Already up to date.
Syncing core-hw-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 2c1af99 updates
Already up to date.
Syncing security-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at 90ee4529 updates
Already up to date.
Syncing xorg-kit branch 1.19-prime
Already on '1.19-prime'
Your branch is up to date with 'origin/1.19-prime'.
HEAD is now at b756d3b3 FL-5792: add multiple CVE fixes to libxkbcommon
Already up to date.
Syncing gnome-kit branch 3.26-prime
Already on '3.26-prime'
Your branch is up to date with 'origin/3.26-prime'.
HEAD is now at 3640bca8 Merge branch '3.26-prime' of git.funtoo.org:kits/gnome-kit into 3.26-prime
Already up to date.
Syncing kde-kit branch 5.12-prime
Previous HEAD position was 966e1f4d... updates
Switched to branch '5.12-prime'
Your branch is behind 'origin/5.12-prime' by 13 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 0a864c53 updates
fatal: Couldn't find remote ref refs/heads/5.10-prime
Note: checking out '966e1f4d9b694acd8828d27a678f8054d8109445'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 966e1f4d... updates
Syncing media-kit branch 1.2-prime
Previous HEAD position was b251500e6... updates
Switched to branch '1.2-prime'
Your branch is behind 'origin/1.2-prime' by 34 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at 108e9c73b updates
fatal: Couldn't find remote ref refs/heads/1.1-prime
Note: checking out 'b251500e6a14597e8555659bc2cc7585fddb6e84'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at b251500e6... updates
Syncing perl-kit branch 5.24-prime
Already on '5.24-prime'
Your branch is up to date with 'origin/5.24-prime'.
HEAD is now at 75001926 updates
Already up to date.
Syncing python-modules-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 28b7cb43 updates
Already up to date.
Syncing python-kit branch 3.6-prime
Already on '3.6-prime'
Your branch is up to date with 'origin/3.6-prime'.
HEAD is now at 48931a6b3 updates
Already up to date.
Syncing php-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 8538bce updates
Already up to date.
Syncing java-kit branch 1.2-prime
Previous HEAD position was 2377d02d... updates
Switched to branch '1.2-prime'
Your branch is behind 'origin/1.2-prime' by 7 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at be486998 updates
fatal: Couldn't find remote ref refs/heads/1.1-prime
Note: checking out '2377d02d27667e154b60db388ce27408e2a0ebab'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 2377d02d... updates
Syncing ruby-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at 6e790275 updates
Already up to date.
Syncing haskell-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at 09faf7a updates
Already up to date.
Syncing ml-lang-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at 4014aa9 updates
Already up to date.
Syncing lisp-scheme-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at fc854bc updates
Already up to date.
Syncing lang-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at d6cf666 updates
Already up to date.
Syncing llvm-kit branch 1.2-prime
Already on '1.2-prime'
Your branch is up to date with 'origin/1.2-prime'.
HEAD is now at 004fcf3 updates
Already up to date.
Syncing dev-kit branch 1.2-prime
Previous HEAD position was cc9407fcd... updates
Switched to branch '1.2-prime'
Your branch is behind 'origin/1.2-prime' by 40 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at ea28874f5 updates
fatal: Couldn't find remote ref refs/heads/1.1-prime
Note: checking out 'cc9407fcdef7a24b4e40892e648c9a1b0de44cc2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at cc9407fcd... updates
Syncing xfce-kit branch 4.12-prime
Previous HEAD position was e95e659... updates
Switched to branch '4.12-prime'
Your branch and 'origin/4.12-prime' have diverged,
and have 1 and 14 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)
HEAD is now at 82acd2c updates

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'portage@carbon.(none)')
Note: checking out 'e95e659c1e27b8425b95efd13c6eed76fb620b12'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e95e659... updates
Syncing desktop-kit branch 1.2-prime
Previous HEAD position was e3f44282... updates
Switched to branch '1.2-prime'
Your branch is behind 'origin/1.2-prime' by 26 commits, and can be fast-forwarded.
  (use "git pull" to update your local branch)
HEAD is now at f9a96a84 updates
fatal: Couldn't find remote ref refs/heads/1.1-prime
Note: checking out 'e3f44282680c6d792141eb350f923ca2deddd4d1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at e3f44282... updates
Syncing editors-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at b69075d2 updates
Already up to date.
Syncing net-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at de16b6734 updates
Already up to date.
Syncing text-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 6c149718 updates
Already up to date.
Syncing science-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at f88a1de3 updates
Already up to date.
Syncing games-kit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 21cb2b88 updates
Already up to date.
Syncing nokit branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 2f3b8785a0 updates
Already up to date.
Sync successful and kits in alignment! :)
Updating /etc/portage/repos.conf...
Updating profiles at /etc/portage/make.profile/parent...
Updating non-funtoo repositories...

 

Shouldn't ego be able to take care of these issues?

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

There is nothing wrong with some branches having "detached head". You will see this when there has been a recent update to our 1.3 development branch.

If you see this at the end:

Sync successful and kits in alignment! :)

Then it means things are OK.

Share this post


Link to post
Share on other sites
  • 0

I still have some weird issues:

root@carbon git # eix -s gentoo-sources
* sys-kernel/gentoo-sources [1]
     Available versions:
     (4.4.87-r1) 4.4.87-r1^bs
     (4.4.111-r1) 4.4.111-r1^bs
     (4.4.128) 4.4.128^bs
     (4.4.146) 4.4.146^bs
     (4.4.147) (~)4.4.147^bs
     (4.4.148) 4.4.148^bs
     (4.4.149) (~)4.4.149^bs
     (4.4.150) 4.4.150^bs
     (4.4.151) (~)4.4.151^bs
     (4.4.152) (~)4.4.152^bs
     (4.4.153) (~)4.4.153^bs
     (4.4.154) (~)4.4.154^bs
     (4.4.155) (~)4.4.155^bs
     (4.9.49-r1) 4.9.49-r1^bs
     (4.9.72) 4.9.72^bs
     (4.9.95) 4.9.95^bs
     (4.9.118) 4.9.118^bs
     (4.9.119) (~)4.9.119^bs
     (4.9.120) 4.9.120^bs
     (4.9.120-r1) 4.9.120-r1^bs
     (4.9.121) (~)4.9.121^bs
     (4.9.122) 4.9.122^bs
     (4.9.123) (~)4.9.123^bs
     (4.9.124) (~)4.9.124^bs
     (4.9.125) (~)4.9.125^bs
     (4.9.126) (~)4.9.126^bs
     (4.14.52) 4.14.52^bs
     (4.14.61) 4.14.61^bs
     (4.14.62) (~)4.14.62^bs
     (4.14.63) 4.14.63^bs
     (4.14.63-r1) 4.14.63-r1^bs
     (4.14.64) (~)4.14.64^bs
     (4.14.65) 4.14.65^bs
     (4.14.66) (~)4.14.66^bs
     (4.14.67) (~)4.14.67^bs
     (4.14.68) (~)4.14.68^bs
     (4.14.69) (~)4.14.69^bs
     (4.17.19) (~)4.17.19^bs
     (4.18.1) (~)4.18.1^bs
     (4.18.1-r1) (~)4.18.1-r1^bs
     (4.18.2) (~)4.18.2^bs
     (4.18.3) (~)4.18.3^bs
     (4.18.4) (~)4.18.4^bs
     (4.18.5) (~)4.18.5^bs
     (4.18.6) (~)4.18.6^bs
     (4.18.7) (~)4.18.7^bs
       {build experimental symlink}
     Homepage:            https://dev.gentoo.org/~mpagano/genpatches
     Description:         Full sources including the Gentoo patchset for the 4.18 kernel tree

[1] "nokit" /var/git/meta-repo/kits/nokit
root@carbon git # emerge -av gentoo-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sys-kernel/gentoo-sources-4.19.0:4.19.0::nokit  USE="-build -experimental -symlink" 0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] ^CInterrupted.

`emerge` wants to install `gentoo-sources-4.19.0` although not listed as such when searching for it via `eix -s gentoo-sources`.

And,

root@carbon git # emerge -av =sys-kernel/gentoo-sources-4.18.7

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "=sys-kernel/gentoo-sources-4.18.7".

`emerge` does not know about 'gentoo-sources-4.18.7', although `eix` does know.

 

How so?

Share this post


Link to post
Share on other sites
  • 0

And,

root@carbon nik # ego query v gentoo-sources
 sys-kernel/gentoo-sources|      slot|         repo
--------------------------+----------+-------------
                   4.4.150|   4.4.150| nokit/master
--------------------------+----------+-------------
                   4.4.157|   4.4.157| nokit/master
--------------------------+----------+-------------
                   4.4.159|   4.4.159| nokit/master
--------------------------+----------+-------------
                   4.4.160|   4.4.160| nokit/master
--------------------------+----------+-------------
                   4.4.161|   4.4.161| nokit/master
--------------------------+----------+-------------
                   4.4.162|   4.4.162| nokit/master
--------------------------+----------+-------------
                 4.9.49-r1| 4.9.49-r1| nokit/master
--------------------------+----------+-------------
                   4.9.122|   4.9.122| nokit/master
--------------------------+----------+-------------
                   4.9.132|   4.9.132| nokit/master
--------------------------+----------+-------------
                   4.9.133|   4.9.133| nokit/master
--------------------------+----------+-------------
                   4.9.134|   4.9.134| nokit/master
--------------------------+----------+-------------
                   4.9.135|   4.9.135| nokit/master
--------------------------+----------+-------------
                   4.14.52|   4.14.52| nokit/master
--------------------------+----------+-------------
                   4.14.65|   4.14.65| nokit/master
--------------------------+----------+-------------
                   4.14.71|   4.14.71| nokit/master
--------------------------+----------+-------------
                   4.14.72|   4.14.72| nokit/master
--------------------------+----------+-------------
                   4.14.73|   4.14.73| nokit/master
--------------------------+----------+-------------
                   4.14.74|   4.14.74| nokit/master
--------------------------+----------+-------------
                   4.14.75|   4.14.75| nokit/master
--------------------------+----------+-------------
                   4.14.76|   4.14.76| nokit/master
--------------------------+----------+-------------
                   4.14.77|   4.14.77| nokit/master
--------------------------+----------+-------------
                   4.14.78|   4.14.78| nokit/master
--------------------------+----------+-------------
                    4.18.9|    4.18.9| nokit/master
--------------------------+----------+-------------
                   4.18.10|   4.18.10| nokit/master
--------------------------+----------+-------------
                   4.18.11|   4.18.11| nokit/master
--------------------------+----------+-------------
                   4.18.12|   4.18.12| nokit/master
--------------------------+----------+-------------
                   4.18.13|   4.18.13| nokit/master
--------------------------+----------+-------------
                   4.18.14|   4.18.14| nokit/master
--------------------------+----------+-------------
                   4.18.15|   4.18.15| nokit/master
--------------------------+----------+-------------
                   4.18.16|   4.18.16| nokit/master
--------------------------+----------+-------------
                    4.19.0|    4.19.0| nokit/master

So, `eix` and `ego query` read different things?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...