git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Rename git-core rpm to just git and rename the meta-pacakge to git-all.

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 17, 2008, 07:57 UTC
Message-ID
<7vskzs2exj.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<1203100163-17509-1-git-send-email-krh@redhat.com>

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
  ...
Previous: Junio C HamanoNext: Jay Soffian
Message 6 of 11 in “Rename git-core rpm to just git and rename the meta-pacakge to git-all.”
  1. Rename git-core rpm to just git and rename the meta-pacakge to git-all.Kristian Høgsberg, Feb 15, 2008
  2. Jakub NarebskiFeb 15, 2008
  3. Andreas EricssonFeb 15, 2008
  4. Kristian HøgsbergFeb 15, 2008
  5. Junio C HamanoFeb 16, 2008
  6. Junio C HamanoFeb 17, 2008
  7. Jay SoffianFeb 18, 2008
  8. Kristian HøgsbergFeb 18, 2008
  9. Junio C HamanoFeb 18, 2008
  10. Kristian HøgsbergFeb 18, 2008
  11. Rename git-core rpm to just git and rename the meta-pacakge to git-all.Kristian Høgsberg, Feb 19, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.