Results 1 to 9 of 9

Thread: Repo brain fart.

  1. #1

    Default Repo brain fart.

    I'm an idiot for not seein the obvious, but I'm in a crunch.
    So, somebody do my thinkin for me? please?

    Settin up a lab.
    Haven't had to do a mass rollout for many a moon.
    1st thing I do, is pull a local mirror.
    Used an rsync pull from rsync.opensuse.org/buildservice with a huge exclude file.
    Got what I need. sorta.....

    Need to use just 12.1 for the rollout. But, having 12.2 in-house is a 'good thing'.
    So, No, I can't use 'current', and Yes, I do need many/most of them.
    And, No, I'd strongly prefer not to use Packman at atchen.de. The structure is different and it has the same issue.

    Not till I went to use it, did I re-notice that all those repos have repo name first, and distro name second.
    So, in zypper, when I enable a repo at it's place in the tree, in Yast, I see versions from 12.1,12.2, and Factory mixed.
    This is gonna greatly displease the grunts. Which makes my phone ring. Which displeases the wife. Not to be endured. nope.

    Enabling every one as 'repo/dist/ makes the label zypper assigns non-unique.
    They all get named 'openSUSE_12.1' and nothing else. again sub-optimal from the homelife perspective.

    Hand editing all that is not a pretty prospect. /me=automation.

    What am I doin wrong?

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Repo brain fart.

    On 2012-11-22 23:26, lbolton wrote:
    > What am I doin wrong?


    How To Ask
    Questions The Smart Way


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" (Minas Tirith))

  3. #3

    Default Re: Repo brain fart.

    Well now. wasn't that cute.
    Some people got too much time on their hands.

  4. #4
    dd NNTP User

    Default Re: Repo brain fart.

    On 11/23/2012 04:56 AM, lbolton wrote:
    >
    > Well now. wasn't that cute.
    > Some people got too much time on their hands.


    you have the option to think it cute--but, i have read your initial post
    now four times and still am not smart enough to figure out exactly what
    you are doing wrong....so, i think Carlos' hint is directly on target..

    that said, i wonder why you pulled factory into your local
    repo--certainly that not make either the grunts nor your wife happy (how
    did they, btw, get into your non-cute question?)

    and, i wonder why you mixed 12.1, 12.2 and factory all in together

    since each version is in a different directory on every mirror i've
    seen, i must wonder why is yours is different--which causes me to
    _guess_ that the answer to your question "What am I doin wrong?" lies in
    the *way* you did the "1st thing I do, is pull a local mirror."

    i have to guess because you violated the "how-to ask a question" prompt
    from Carlos by not telling us how you did that....

    like what rsync switches did you use, and exactly from where did you
    pull--and why did you pull from the buildservice--i wouldn't do that..

    btw, you said you pulled from http://rsync.opensuse.org/buildservice,
    which i'm told now is "Not Found" so that is another violation of how to
    ask a question (supply actual facts, not incorrect 'facts')

    ok, so i *guess* you didn't use the how-to here:
    http://en.opensuse.org/openSUSE:Mirror_howto

    and it there, at the *first* step, that you went wrong..

    but, without a complete question (as Carlos asked for) its hard to know
    for sure..

    btw, and you might also find illuminating info here:
    https://www.google.com/search?q=site:forums.opensuse.org+"local+mirror"

    wish you well in your project and suggest you start over with the build
    the local mirror step.. (don't include factory, tumbleweed, evergreen,
    buildservice, playground, stable, head, etc etc etc...just oss, non-oss,
    update and (if needed) packman)

    and, a friendly comment: after reading your "I'm in a crunch. So,
    somebody do my thinkin for me" the first time i thought to myself: if
    this person's task is so unimportant that they can't take the time to
    think for them self, then why should i want to think for them?

    so, along with starting over with the local mirror, read again the how
    to ask a question article..

    --
    dd http://tinyurl.com/DD-Caveat

  5. #5
    josephkk NNTP User

    Default Re: Repo brain fart.

    On Fri, 23 Nov 2012 03:56:01 GMT, lbolton
    <lbolton@no-mx.forums.opensuse.org> wrote:

    >
    >Well now. wasn't that cute.
    >Some people got too much time on their hands.


    I do not understand how you got to where you say you are.

    Erase local stuff and retry.
    Use wget to get each repo the first time, one at a time. Then use rsync
    in a script to keep the variant ones (updates and packman) up to date, say
    weekly.

    If all the rollout machines have identical configuration you can use yast
    clone after the first one is done. Then the rollout computers need to be
    configured to use the local copies instead of the internet ones.

    How did you make something fairly straightforward into such a
    complexicated mess is beyond me.

    ?-)

  6. #6

    Default Re: Repo brain fart.

    Solved.
    Sorry, took a while to get back to this.

    The problem ended up being that some scripts to make exclude lists were 'contributed', and I just didn't get presence of mind to examine them.
    A resident superstar thought it 'efficient' to exclude all the repo metadata (*xml*) from rsync.

    So, I didn't have the metatdata.
    I didn't know I didn't have the metadata.
    I didn't know how to describe how Yast acts when importing plain directory trees.
    I wasn't noticing that I was trying to import from too far up the tree. Which is why I was seeing the distributions mixed.
    ex. /buildservice-repo/Java:/packages vs. /buildservice-repo/Java:/packages/openSUSE_12.1

    So, zypper/yast would add the path as a plain folder.
    I wasn't seeing these paths added with repo names 'cause there were no repo names.
    I was looking for clues that didn't exist.

    BTW, I'm not real sure how doing through the motions of setting up wget with its own excludes, and lists just to run once
    is supposed to help.

    I also don't see how blowin away 4 days of download fixes anything.

    I will apologize for the typo that should have read 'buildservice-repos'.
    mebe that was hard to parse.

    'Twould seem that having what may appear to be a complete mirror, but lacking the repository descriptions, is a case way off in the far corner.
    Twould also seem that it's difficult to describe the effects if not already familiar with how repository descriptions get applied.
    Tough thing to spot. For everybody, I guess.

    If anybody knows an FAQ for that, make it a sticky.

    It was Thanksgiving evening. I had bad things happening.
    The post was short. I didn't wanna to write a dissertation, nor a bibliography.
    If I'd a had a perfect description of the circumstance, I'd a fixed it already.

    You can take pot shots at my bumbling jocularity. everybody does.

    However, betwixt and between the piles of 'help quick' posts,
    every once in a while there's somebody that's just at the end of a rope.

    Lots of people here help lots of others.
    But, if -ALL- you got is a snide RTFM, How's 'bout you just leave it alone.
    Maybe, snappin off that piercing insight salves your personal sense of justice. But, that's all it does.

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,846
    Blog Entries
    14

    Default Re: Repo brain fart.

    Nice to know you've got it sorted, I read the post but couldn't be of any help, so did not post. For now: thanks for sharing the solution to the problem.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Repo brain fart.

    On 2012-12-06 22:36, lbolton wrote:
    > It was Thanksgiving evening. I had bad things happening.
    > The post was short. I didn't wanna to write a dissertation, nor a
    > bibliography.
    > If I'd a had a perfect description of the circumstance, I'd a fixed it
    > already.


    I have found that taking the time to write a description of a problem
    properly so that others understand it, often makes the solution evident
    to the person writing it up, even before he posts.

    And, if that is not the case, it allows the readers to understand the
    issue and propose solutions that the poster can not see - which is the
    whole point of a help forum.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  9. #9
    josephkk NNTP User

    Default Re: Repo brain fart.

    On Thu, 06 Dec 2012 21:36:01 GMT, lbolton
    <lbolton@no-mx.forums.opensuse.org> wrote:

    >
    >Solved.
    >Sorry, took a while to get back to this.
    >
    >The problem ended up being that some scripts to make exclude lists were
    >'contributed', and I just didn't get presence of mind to examine them.
    >A resident superstar thought it 'efficient' to exclude all the repo
    >metadata (*xml*) from rsync.
    >
    >So, I didn't have the metatdata.
    >I didn't know I didn't have the metadata.
    >I didn't know how to describe how Yast acts when importing plain
    >directory trees.
    >I wasn't noticing that I was trying to import from too far up the tree.
    >Which is why I was seeing the distributions mixed.
    >ex. /buildservice-repo/Java:/packages vs.
    >/buildservice-repo/Java:/packages/openSUSE_12.1
    >
    >So, zypper/yast would add the path as a plain folder.
    >I wasn't seeing these paths added with repo names 'cause there were no
    >repo names.
    >I was looking for clues that didn't exist.
    >
    >BTW, I'm not real sure how doing through the motions of setting up wget
    >with its own excludes, and lists just to run once
    >is supposed to help.
    >
    >I also don't see how blowin away 4 days of download fixes anything.
    >
    >I will apologize for the typo that should have read
    >'buildservice-repos'.
    >mebe that was hard to parse.
    >
    >'Twould seem that having what may appear to be a complete mirror, but
    >lacking the repository descriptions, is a case way off in the far
    >corner.
    >Twould also seem that it's difficult to describe the effects if not
    >already familiar with how repository descriptions get applied.
    >Tough thing to spot. For everybody, I guess.
    >
    >If anybody knows an FAQ for that, make it a sticky.
    >
    >It was Thanksgiving evening. I had bad things happening.
    >The post was short. I didn't wanna to write a dissertation, nor a
    >bibliography.
    >If I'd a had a perfect description of the circumstance, I'd a fixed it
    >already.
    >
    >You can take pot shots at my bumbling jocularity. everybody does.
    >
    >However, betwixt and between the piles of 'help quick' posts,
    >every once in a while there's somebody that's just at the end of a
    >rope.
    >
    >Lots of people here help lots of others.
    >But, if -ALL- you got is a snide RTFM, How's 'bout you just leave it
    >alone.
    >Maybe, snappin off that piercing insight salves your personal sense of
    >justice. But, that's all it does.


    Well i am certainly glad & happy to hear you have solved your problems.

    It is just every time i got myself in that deep; i took a deep breath,
    walked away for a bit, and started over, and then things worked for me. So
    that is what i suggested. I could not understand how you got the
    repositories mixed. Nor why they didn't register properly in yast. The
    above clarifies that, thank you very much for sharing.

    ?-)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •