[packages/git-core] noarch packages

Elan Ruusamäe glen at pld-linux.org
Tue Feb 23 20:28:53 CET 2016


On 23.02.2016 21:13, Arkadiusz Miśkiewicz wrote:
> On Tuesday 23 of February 2016, Elan Ruusamäe wrote:
>> >On 23.02.2016 20:25, Arkadiusz Miśkiewicz wrote:
>> > >
>> > >That breaks git-core-slug
>> > >
>> > >   git pld
>> > >
>> > >git: 'pld' is not a git command. See 'git --help'.
>> > >
>> > >Did you mean this?
>> > >
>> > >          pull
>> > >
>> > >because it doesn't look at lib64/git-core anymore
>> >
>> >how you managed to install it? there's dependency error preventing the
>> >upgrade!
>> >
>> >
>> >  1.
>> >
>> >
>> >
>> >     error:[git-bridgesvn.spec
>> >    
>> ><http://git.pld-linux.org/gitweb.cgi?p=packages/git-bridgesvn.git;f=git-br
>> >idgesvn.spec;h=HEAD;a=shortlog>] git-bridgesvn-0.1-0.20120109.2.x86_64: req
>> >/usr/lib64/git-core not found 2. error:[git-core-slug.spec
>> >    
>> ><http://git.pld-linux.org/gitweb.cgi?p=packages/git-core-slug.git;f=git-co
>> >re-slug.spec;h=HEAD;a=shortlog>] git-core-slug-0.13.4-13.x86_64: req
>> >/usr/lib64/git-core not found
> downgraded and now:

>
> poldek:/all-avail> !rpm -qf /usr/lib64/git-core
> git-core-2.7.1-2.x86_64
> poldek:/all-avail> greedy-upgrade git*
> Processing dependencies...
> git-core-2.7.1-2.x86_64 obsoleted by git-core-2.7.1-3.x86_64
> git-core-svn-2.7.1-2.x86_64 obsoleted by git-core-svn-2.7.1-3.x86_64
> git-core-cvs-2.7.1-2.x86_64 obsoleted by git-core-cvs-2.7.1-3.noarch
> git-core-email-2.7.1-2.x86_64 obsoleted by git-core-email-2.7.1-3.x86_64
> git-core-gitk-2.7.1-2.x86_64 obsoleted by git-core-gitk-2.7.1-3.noarch
> git-core-gui-2.7.1-2.x86_64 obsoleted by git-core-gui-2.7.1-3.noarch
> git-core-2.7.1-3.x86_64 marks perl-Git-2.7.1-3.x86_64 (cap perl-Git = 2.7.1-3)
>   perl-Git-2.7.1-2.x86_64 obsoleted by perl-Git-2.7.1-3.x86_64
> There are 7 packages to install (1 marked by dependencies), 7 to remove:
> I git-core-2.7.1-3.x86_64  git-core-cvs-2.7.1-3.noarch  git-core-
> email-2.7.1-3.x86_64  git-core-gitk-2.7.1-3.noarch  git-core-
> gui-2.7.1-3.noarch
> I git-core-svn-2.7.1-3.x86_64
> D perl-Git-2.7.1-3.x86_64
> R git-core-2.7.1-2.x86_64  git-core-cvs-2.7.1-2.x86_64  git-core-
> email-2.7.1-2.x86_64  git-core-gitk-2.7.1-2.x86_64  git-core-
> gui-2.7.1-2.x86_64
> R git-core-svn-2.7.1-2.x86_64  perl-Git-2.7.1-2.x86_64
> This operation will free 12.2KB of disk space.
> Need to get 4.6MB of archives (4.5MB to download).
>
> Retrieving [1/6] th-test::git-core-2.7.1-3.x86_64.rpm...
> .............................. 100.0% [3.2M (1.0M/s)]
> Retrieving [2/6] th-test::git-core-email-2.7.1-3.x86_64.rpm...
> .............................. 100.0% [462.1K (462.1K/s)]
> Retrieving [3/6] th-test::git-core-svn-2.7.1-3.x86_64.rpm...
> .............................. 100.0% [466.8K (466.8K/s)]
> Retrieving [4/6] th-test::git-core-cvs-2.7.1-3.noarch.rpm...
> .............................. 100.0% [71.2K (71.2K/s)]
> Retrieving [5/6] th-test::git-core-gitk-2.7.1-3.noarch.rpm...
> .............................. 100.0% [129.5K (129.5K/s)]
> Retrieving [6/6] th-test::git-core-gui-2.7.1-3.noarch.rpm...
> .............................. 100.0% [203.4K (203.4K/s)]
> Executing pm-command.sh --upgrade -vh --root / --define _check_dirname_deps
> 1...
> Preparing...                ########################################### [100%]
>     1:perl-Git               ########################################### [ 14%]
>     2:git-core-svn           ########################################### [ 29%]
>     3:git-core               ########################################### [ 43%]
>     4:git-core-cvs           ########################################### [ 57%]
>     5:git-core-email         ########################################### [ 71%]
>     6:git-core-gitk          ########################################### [ 86%]
>     7:git-core-gui           ########################################### [100%]
> poldek:/all-avail> !rpm -qf /usr/lib64/git-core
> file /usr/lib64/git-core is not owned by any package
> poldek:/all-avail> !rpm -qf /usr/lib64/git-core/git-pld
> git-core-slug-0.13.4-13.x86_64

so, looks like poldek/rpm bug, it should bail out with dir-dep error:

# rpm -q git-core git-core-slug
git-core-2.6.4-1.x86_64
git-core-slug-0.13.4-13.x86_64
# poldek -n th-test --up -u git-core --ignore=git-core-slug -t
Processing dependencies...
git-core-2.6.4-1.x86_64 obsoleted by git-core-2.7.1-3.x86_64
   greedy upgrade git-core-svn-2.6.4-1.x86_64 to 2.7.1-3.x86_64 
(unresolved git-core = 2.6.4-1)
    git-core-svn-2.6.4-1.x86_64 obsoleted by git-core-svn-2.7.1-3.x86_64
   greedy upgrade git-core-cvs-2.6.4-1.x86_64 to 2.7.1-3.noarch 
(unresolved git-core = 2.6.4-1)
    git-core-cvs-2.6.4-1.x86_64 obsoleted by git-core-cvs-2.7.1-3.noarch
   greedy upgrade gnome-keyring-git-core-2.6.4-1.x86_64 to 
2.7.1-3.x86_64 (unresolved git-core = 2.6.4-1)
    gnome-keyring-git-core-2.6.4-1.x86_64 obsoleted by 
gnome-keyring-git-core-2.7.1-3.x86_64
   greedy upgrade bash-completion-git-2.6.4-1.noarch to 2.7.1-3.noarch 
(unresolved git-core = 2.6.4-1)
    bash-completion-git-2.6.4-1.noarch obsoleted by 
bash-completion-git-2.7.1-3.noarch
   greedy upgrade git-core-gitk-2.6.4-1.x86_64 to 2.7.1-3.noarch 
(unresolved git-core = 2.6.4-1)
    git-core-gitk-2.6.4-1.x86_64 obsoleted by git-core-gitk-2.7.1-3.noarch
   greedy upgrade git-core-gitweb-2.6.4-1.x86_64 to 2.7.1-3.noarch 
(unresolved git-core = 2.6.4-1)
    git-core-gitweb-2.6.4-1.x86_64 obsoleted by 
git-core-gitweb-2.7.1-3.noarch
git-core-2.7.1-3.x86_64 marks perl-Git-2.7.1-3.x86_64 (cap perl-Git = 
2.7.1-3)
  perl-Git-2.6.4-1.x86_64 obsoleted by perl-Git-2.7.1-3.x86_64
There are 8 packages to install (7 marked by dependencies), 8 to remove:
I git-core-2.7.1-3.x86_64
D bash-completion-git-2.7.1-3.noarch  git-core-cvs-2.7.1-3.noarch 
git-core-gitk-2.7.1-3.noarch
D git-core-gitweb-2.7.1-3.noarch  git-core-svn-2.7.1-3.x86_64 
gnome-keyring-git-core-2.7.1-3.x86_64
D perl-Git-2.7.1-3.x86_64
R bash-completion-git-2.6.4-1.noarch  git-core-2.6.4-1.x86_64 
git-core-cvs-2.6.4-1.x86_64  git-core-gitk-2.6.4-1.x86_64
R git-core-gitweb-2.6.4-1.x86_64  git-core-svn-2.6.4-1.x86_64 
gnome-keyring-git-core-2.6.4-1.x86_64
R perl-Git-2.6.4-1.x86_64
This operation will use 461.1KB of disk space.
Need to get 4.1MB of archives (4.1MB to download).

perhaps poldek/rpm can't handle arch change and dir change in same 
transaction?

ps: the dir change commit was
https://github.com/pld-linux/git-core/commit/6743dd7eda7fdf45a0e70c079ac80440814754e9

-- 
glen



More information about the pld-devel-en mailing list