[aur-general] I can't upgrade my package
Hello aur-general! And first of all, i'm sorry I'm sorry because maybe you actually talked about this and i didn't looked at it because i'm lazy and deleted some e-mails without reading them. I have a package in AUR (with-git). And i want to update it because it had an error and also it's a good moment to update the version number. I did the changes, git add, git commit, but when it's git push time: invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. So i cloned again the repository using the ssh did all the changes again, tried it again and I got the same error. Then i did ssh aur@aur.archlinux.org list-repos: minirc-git python-q with-git So, it seems it's okay. And when i use : ssh aur@aur.archlinux.org git-upload-pack It just take more than 20 minutes until i kill it because it can't take that long. Also, git remote --verbose: origin ssh://aur@aur.archlinux.org/with-git.git (fetch) origin ssh://aur@aur.archlinux.org/with-git.git (push) And, cat .ssh/config: Host aur.archlinux.org IdentityFile ~/.ssh/aur User aur I just surrendered at that moment because, well, it was 5:45 am and i thought "Damn, i'll ask in the mailing list". So, that's why i'm writing here. Maybe my question is silly, and i'm sorry but i just don't know what i'm doing wrong. (Sorry for my english too) -- Juan Martínez <mratmartinez@anche.no>
On Sat, 01 Oct 2016 14:42:22 -0300 Juan Martínez <mratmartinez@anche.no> wrote:
Hello aur-general! And first of all, i'm sorry
I'm sorry because maybe you actually talked about this and i didn't looked at it because i'm lazy and deleted some e-mails without reading them.
I have a package in AUR (with-git). And i want to update it because it had an error and also it's a good moment to update the version number.
I did the changes, git add, git commit, but when it's git push time: invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
So i cloned again the repository using the ssh did all the changes again, tried it again and I got the same error.
Then i did ssh aur@aur.archlinux.org list-repos: minirc-git python-q with-git
So, it seems it's okay. And when i use : ssh aur@aur.archlinux.org git-upload-pack It just take more than 20 minutes until i kill it because it can't take that long.
Also, git remote --verbose: origin ssh://aur@aur.archlinux.org/with-git.git (fetch) origin ssh://aur@aur.archlinux.org/with-git.git (push)
And, cat .ssh/config: Host aur.archlinux.org IdentityFile ~/.ssh/aur User aur
I just surrendered at that moment because, well, it was 5:45 am and i thought "Damn, i'll ask in the mailing list". So, that's why i'm writing here. Maybe my question is silly, and i'm sorry but i just don't know what i'm doing wrong.
(Sorry for my english too)
Sounds like you're using ssh then git. Don't. Just use git push.
El sáb, 01-10-2016 a las 12:53 -0500, Doug Newgard escribió:
On Sat, 01 Oct 2016 14:42:22 -0300 Juan Martínez <mratmartinez@anche.no> wrote:
Hello aur-general! And first of all, i'm sorry
I'm sorry because maybe you actually talked about this and i didn't looked at it because i'm lazy and deleted some e-mails without reading them.
I have a package in AUR (with-git). And i want to update it because it had an error and also it's a good moment to update the version number.
I did the changes, git add, git commit, but when it's git push time: invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
So i cloned again the repository using the ssh did all the changes again, tried it again and I got the same error.
Then i did ssh aur@aur.archlinux.org list-repos: minirc-git python-q with-git
So, it seems it's okay. And when i use : ssh aur@aur.archlinux.org git-upload-pack It just take more than 20 minutes until i kill it because it can't take that long.
Also, git remote --verbose: origin ssh://aur@aur.archlinux.org/with-git.git (fetch) origin ssh://aur@aur.archlinux.org/with-git.git (push)
And, cat .ssh/config: Host aur.archlinux.org IdentityFile ~/.ssh/aur User aur
I just surrendered at that moment because, well, it was 5:45 am and i thought "Damn, i'll ask in the mailing list". So, that's why i'm writing here. Maybe my question is silly, and i'm sorry but i just don't know what i'm doing wrong.
(Sorry for my english too)
Sounds like you're using ssh then git. Don't. Just use git push.
No, what i exactly do is: git push I tried it again after you answered and i got the same error. [mrat@mrat with-git]$ git push Enter passphrase for key '/home/mrat/.ssh/aur': invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. -- Juan Martínez <mratmartinez@anche.no>
On Sat, 01 Oct 2016 at 19:57:55, Juan Martínez wrote:
El sáb, 01-10-2016 a las 12:53 -0500, Doug Newgard escribió:
On Sat, 01 Oct 2016 14:42:22 -0300 Juan Martínez <mratmartinez@anche.no> wrote: [...] [mrat@mrat with-git]$ git push Enter passphrase for key '/home/mrat/.ssh/aur': invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Are you using any special Git implementation? Any wrappers around Git? Any aliases? What is the output of `git --version`?
El sáb, 01-10-2016 a las 20:25 +0200, Lukas Fleischer escribió:
On Sat, 01 Oct 2016 at 19:57:55, Juan Martínez wrote:
El sáb, 01-10-2016 a las 12:53 -0500, Doug Newgard escribió:
On Sat, 01 Oct 2016 14:42:22 -0300 Juan Martínez <mratmartinez@anche.no> wrote:
[...] [mrat@mrat with-git]$ git push Enter passphrase for key '/home/mrat/.ssh/aur': invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
Are you using any special Git implementation? Any wrappers around Git? Any aliases? What is the output of `git --version`? Arch: git version 2.10.0
Lubuntu (also tried from here since i have the same keys and all): git version 2.7.4 Also: [mrat@mrat with-git]$ git remote show origin Enter passphrase for key '/home/mrat/.ssh/aur': * remote origin Fetch URL: ssh://aur@aur.archlinux.org/with-git.git Push URL: ssh://aur@aur.archlinux.org/with-git.git HEAD branch: master Remote branch: master tracked Local branch configured for 'git pull': master merges with remote master Local ref configured for 'git push': master pushes to master (fast-forwardable) -- Juan Martínez <mratmartinez@anche.no>
On Sat, 01 Oct 2016 at 20:38:11, Juan Martínez wrote:
El sáb, 01-10-2016 a las 20:25 +0200, Lukas Fleischer escribió:
On Sat, 01 Oct 2016 at 19:57:55, Juan Martínez wrote: [...] Arch: git version 2.10.0
Lubuntu (also tried from here since i have the same keys and all): git version 2.7.4
Could you run `GIT_SSH_COMMAND="ssh -v" git push` instead of `git push` and paste the output, please?
El sáb, 01-10-2016 a las 21:04 +0200, Lukas Fleischer escribió:
On Sat, 01 Oct 2016 at 20:38:11, Juan Martínez wrote:
El sáb, 01-10-2016 a las 20:25 +0200, Lukas Fleischer escribió:
On Sat, 01 Oct 2016 at 19:57:55, Juan Martínez wrote:
[...] Arch: git version 2.10.0
Lubuntu (also tried from here since i have the same keys and all): git version 2.7.4
Could you run `GIT_SSH_COMMAND="ssh -v" git push` instead of `git push` and paste the output, please? [mrat@mrat with-git]$ GIT_SSH_COMMAND="ssh -v" git push OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016 debug1: Reading configuration data /home/mrat/.ssh/config debug1: /home/mrat/.ssh/config line 1: Applying options for aur.archlinux.org debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug1: Connecting to aur.archlinux.org [5.9.250.164] port 22. debug1: Connection established. debug1: identity file /home/mrat/.ssh/aur type 1 debug1: key_load_public: No such file or directory debug1: identity file /home/mrat/.ssh/aur-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.3 debug1: match: OpenSSH_7.3 pat OpenSSH* compat 0x04000000 debug1: Authenticating to aur.archlinux.org:22 as 'aur' debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: aes128-ctr MAC: umac-64-etm@openssh .com compression: none debug1: kex: client->server cipher: aes128-ctr MAC: umac-64-etm@openssh .com compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: Server host key: ecdsa-sha2-nistp256 SHA256:L71Q91yHwmHPYYkJMDgj0xmUuw16qFOhJbBr1mzsiOI debug1: Host 'aur.archlinux.org' is known and matches the ECDSA host key. debug1: Found key in /home/mrat/.ssh/known_hosts:1 debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: rekey after 4294967296 blocks debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512> debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey debug1: Next authentication method: publickey debug1: Offering RSA public key: /home/mrat/.ssh/aur debug1: Server accepts key: pkalg rsa-sha2-512 blen 279 Enter passphrase for key '/home/mrat/.ssh/aur': debug1: Authentication succeeded (publickey). Authenticated to aur.archlinux.org ([5.9.250.164]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0 debug1: Remote: Forced command. debug1: Remote: Port forwarding disabled. debug1: Remote: X11 forwarding disabled. debug1: Remote: PTY allocation disabled. debug1: Remote: Forced command. debug1: Remote: Port forwarding disabled. debug1: Remote: X11 forwarding disabled. debug1: Remote: PTY allocation disabled. debug1: Sending environment. debug1: Sending env LANG = es_AR.UTF-8 debug1: Sending command: git receive-pack '/with-git.git' invalid command: git Try `ssh aur@aur.archlinux.org help` for a list of commands. debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0 debug1: channel 0: free: client-session, nchannels 1 debug1: fd 0 clearing O_NONBLOCK debug1: fd 1 clearing O_NONBLOCK Transferred: sent 2752, received 3296 bytes, in 0.6 seconds Bytes per second: sent 4309.6, received 5161.5 debug1: Exit status 1 fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. I'm doing this from the Lubuntu (which as i said share keys with my Arch). If you want it, i can try it from Arch too. -- Juan Martínez <mratmartinez@anche.no>
On Sat, 01 Oct 2016 at 21:07:29, Juan Martínez wrote:
[...] debug1: Remote: Forced command. debug1: Remote: Port forwarding disabled. debug1: Remote: X11 forwarding disabled. debug1: Remote: PTY allocation disabled. debug1: Remote: Forced command. debug1: Remote: Port forwarding disabled. debug1: Remote: X11 forwarding disabled. debug1: Remote: PTY allocation disabled. debug1: Sending environment. debug1: Sending env LANG = es_AR.UTF-8 debug1: Sending command: git receive-pack '/with-git.git'
Ok, this is what I thought. This line should be debug1: Sending command: git-receive-pack '/with-git.git' Note the additional hyphen. One could argue that git-serve should support both notations, however, for a short-term fix, you should figure out why Git sends `git receive-pack` instead of `git-receive-pack`. The output of `git config -l` might be useful. In particular, you want to look for remote.<name>.receivepack in that list. Or maybe something adds --receive-pack to the `git push` command. Regards, Lukas
On Sat, 01 Oct 2016 at 21:34:02, Lukas Fleischer wrote:
Note the additional hyphen. One could argue that git-serve should support both notations, however, for a short-term fix, you should figure out why Git sends `git receive-pack` instead of `git-receive-pack`.
Even better: I just added a patch to support `git receive-pack` to our live setup. Please try again.
El sáb, 01-10-2016 a las 21:56 +0200, Lukas Fleischer escribió:
On Sat, 01 Oct 2016 at 21:34:02, Lukas Fleischer wrote:
Note the additional hyphen. One could argue that git-serve should support both notations, however, for a short-term fix, you should figure out why Git sends `git receive-pack` instead of `git-receive-pack`.
Even better: I just added a patch to support `git receive-pack` to our live setup. Please try again. You are such an amazing guy.
You have all the power! Thanks, very much. And thanks to everybody else who tried to help me too. And again, sorry for my english! -- Juan Martínez <mratmartinez@anche.no>
Could you please tell us the url you have in the output of the following command? $ git remote show origin cheers! mar77i
Ah, never mind. The one you already posted looks okay. You are running git push while in the repository directory, right? cheers! mar77i
El sáb, 01-10-2016 a las 20:34 +0200, Martin Kühne via aur-general escribió:
Ah, never mind. The one you already posted looks okay. You are running git push while in the repository directory, right?
cheers! mar77i Yes, I do -- Juan Martínez <mratmartinez@anche.no>
Anything in .ssh/config that isn't on the wiki?
El sáb, 01-10-2016 a las 20:44 +0200, Uwe via aur-general escribió:
Anything in .ssh/config that isn't on the wiki? As i showed it in my first mail: no, nothing different. -- Juan Martínez <mratmartinez@anche.no>
A bit late to the party (the last few weeks have been busy with moving - just slowly catching up on everything). Sorry. :) Den 01-10-2016 kl. 19:42 skrev Juan Martínez:
I'm sorry because maybe you actually talked about this and i didn't looked at it because i'm lazy and deleted some e-mails without reading them.
In case you lose e-mails, the archives of the list are public: https://lists.archlinux.org/pipermail/aur-general/ (As it turns out, reading back would have probably not helped you this time, as you would still have needed Lukas' attention for him to "fix" the issue on AUR's side. :)) -- Namasté, Frederik “Freso” S. Olesen <https://freso.dk/> AUR: https://aur.archlinux.org/account/Freso Wiki: https://wiki.archlinux.org/index.php/User:Freso
participants (6)
-
Doug Newgard
-
Frederik “Freso” S. Olesen
-
Juan Martínez
-
Lukas Fleischer
-
Martin Kühne
-
Uwe