git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: "Kristian Høgsberg" <krh@redhat.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] Rename git-core rpm to just git and rename the meta-pacakge to git-all.
Date: Sat, 16 Feb 2008 23:57:28 -0800	[thread overview]
Message-ID: <7vskzs2exj.fsf@gitster.siamese.dyndns.org> (raw)
In-Reply-To: <1203100163-17509-1-git-send-email-krh@redhat.com> (Kristian Høgsberg's message of "Fri, 15 Feb 2008 13:29:23 -0500")

Thanks for updates to the spec file, but I need a bit of help
here on two problems.

If I understand you correctly, it should now create "git"
package, instead of "git-core", that contains the really core
parts, and other pieces such as "git-svn" and friends will stay
pretty much the same.  In addition, the new "git" package will
also say "this provides git-core, so install this when the user
asks to install git-core".

Where does "git-all" you talked about in your message come into
the picture?  The "make rpm" procedure produced these files for
me:

Wrote: /home/junio/rpms/SRPMS/git-1.5.4.2-1.src.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-svn-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-cvs-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-arch-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-email-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-gui-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/gitk-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/perl-Git-1.5.4.2-1.i386.rpm
Wrote: /home/junio/rpms/RPMS/i386/git-debuginfo-1.5.4.2-1.i386.rpm

After I throw in these 9 i386.rpm files in my local yum
repository and say "yum install git-all", I get "No Match for
argument: git-all".  This is problem #1.

"yum install git" and "yum install git-core" do not give such an
error but the latter gives quite a bunch of errors ("yum install
git" goes alright).  This is problem #2.

Note that I want to make sure that the upgrade to go smoothly,
so I populated both 1.5.4 RPM and 1.5.4.2 RPM in the repository,
which is to emulate what we do on k.org machines.

The errors start like this.  It looks to me that "Provides:
git-core" is not being honored.

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 git-core                i386       1.5.4-1          local             3.6 M
Installing for dependencies:
 git                     i386       1.5.4.2-1        local             3.6 M
 perl-Git                i386       1.5.4.2-1        local              14 k

Transaction Summary
=============================================================================
Install      3 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test


Transaction Check Error:   file /usr/bin/git conflicts between attempted installs of git-1.5.4.2-1 and git-core-1.5.4-1
  file /usr/bin/git-add conflicts between attempted installs of git-1.5.4.2-1 and git-core-1.5.4-1
  file /usr/bin/git-am conflicts between attempted installs of git-1.5.4.2-1 and git-core-1.5.4-1
  ...

  parent reply	other threads:[~2008-02-17  7:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-15 18:29 [PATCH] Rename git-core rpm to just git and rename the meta-pacakge to git-all Kristian Høgsberg
2008-02-15 19:36 ` Jakub Narebski
2008-02-15 21:08 ` Andreas Ericsson
2008-02-15 21:37   ` Kristian Høgsberg
2008-02-16  8:45 ` Junio C Hamano
2008-02-17  7:57 ` Junio C Hamano [this message]
2008-02-18 14:51   ` Jay Soffian
2008-02-18 16:04     ` Kristian Høgsberg
2008-02-18 18:36       ` Junio C Hamano
2008-02-18 19:00         ` Kristian Høgsberg
2008-02-19  1:25         ` Kristian Høgsberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7vskzs2exj.fsf@gitster.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=krh@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).