You are not logged in.

#1 2016-11-24 16:11:04

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Cannot push a non-git version with the git version there [SOLVED]

The AUR contains vim-jellybeans-git; I am trying to push a non-git version but am hitting this error:

% git push
Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 882 bytes | 0 bytes/s, done.
Total 4 (delta 0), reused 0 (delta 0)
remote: error: package already provided by []: vim-jellybeans
remote: error: hook declined to update refs/heads/master
To ssh://aur.archlinux.org/vim-jellybeans
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh://aur@aur.archlinux.org/vim-jellybeans'

Not sure how to resolve.

pkgname=vim-jellybeans
_pkgname=jellybeans
pkgver=1.6
pkgrel=1
pkgdesc="A colorful, dark color scheme for Vim"
arch=('any')
url="https://github.com/nanotech/jellybeans.vim"
license=('MIT')
depends=('vim')
conflicts=('vim-jellybeans-git')
source=("https://github.com/nanotech/$_pkgname.vim/archive/v$pkgver.tar.gz")
sha256sums=('133b8668d6fe292166bf96e23f4994a1f957fa588c398ba4d83320ac854fa528')

package() {
  cd "$srcdir/$_pkgname.vim-$pkgver"
  install -Dm644 colors/$_pkgname.vim "$pkgdir/usr/share/vim/vimfiles/colors/$_pkgname.vim"
}

Last edited by graysky (2016-11-24 16:16:40)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2016-11-24 16:13:35

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,846
Website

Re: Cannot push a non-git version with the git version there [SOLVED]


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2016-11-24 16:14:23

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: Cannot push a non-git version with the git version there [SOLVED]

<<HEAD SMACK>>  THanks.

Would be nice if the hook would point to the repo (community in this case) to remind folks, no?

Last edited by graysky (2016-11-24 16:16:02)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2016-11-24 16:15:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Cannot push a non-git version with the git version there [SOLVED]

https://www.archlinux.org/packages/comm … ellybeans/

Edit: Doh! resolved while I was checking.

Last edited by Scimmia (2016-11-24 16:16:14)

Online

Board footer

Powered by FluxBB