maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   [SOLVED] Cannot upload deb to extras repository (https://talk.maemo.org/showthread.php?t=86732)

draxcp6 2012-09-09 18:25

[SOLVED] Cannot upload deb to extras repository
 
Hi there

I am having troubles with uploading my deb file to extras repository.
Since I am using Windows 7, I used PuTTY for communication.

3 days ago I was unable to connect (no mater what, server was just refusing public key). Then I gave up.

Today came again, and just for curiosity I tried to connect, and it was somewhat successful!
Public key is no longer problem (I guess that server needed some time to changes take effect), however now I get this message:
Quote:

Using username "drax".
Authenticating with public key "rsa-key-xxxxxxxx"
Linux wml0250 2.6.32-5+logica3 #1 SMP Mon Feb 1 12:49:32 EET 2010 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Sep 9 20:35:17 2012 from xxx-xxx-xxx-xxx.xxxxxxxxxxx.xxx
This is a restricted account.
You cannot execute anything here.
Not enough arguments.
Goodbye.
Can anyone help me?

ginggs 2012-09-09 18:39

Re: Cannot upload deb to extras repository
 
Quote:

This is a restricted account.
You cannot execute anything here.
Not enough arguments.
Goodbye.
This means that shell access is not allowed, this is normal.
Try using the pscp.exe command to upload your files.

draxcp6 2012-09-09 19:23

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by ginggs (Post 1263803)
This means that shell access is not allowed, this is normal.
Try using the pscp.exe command to upload your files.

Thanks ginggs for reply.
I tried PSCP program, but I get following response:
Quote:

Looking up host "drop.maemo.org"
Connecting to 80.248.164.251 port 22
Server version: SSH-2.0-OpenSSH_5.1p1 Debian-5
Using SSH protocol version 2
We claim version: SSH-2.0-PuTTY_Release_0.62
Doing Diffie-Hellman group exchange
Doing Diffie-Hellman key exchange with hash SHA-256
Host key fingerprint is:
ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Initialised AES-256 SDCTR client->server encryption
Initialised HMAC-SHA1 client->server MAC algorithm
Initialised AES-256 SDCTR server->client encryption
Initialised HMAC-SHA1 server->client MAC algorithm
Reading private key file "C:\Users\DRAX\Documents\Putty\private.ppk"
Using username "drax".
Offered public key
Offer of public key accepted
Authenticating with public key "rsa-key-xxxxxxxx"
Sent public key signature
Access granted
Opened channel for session
Started a shell/command
Using SFTP
Connected to drop.maemo.org

Server sent command exit status 1
Disconnected: All channels closed
unable to initialise SFTP: could not connect
What could I do wrong?

EDIT: I have also tried with FileZilla, but I get same exit status 1

ginggs 2012-09-09 19:31

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by draxcp6 (Post 1263836)
What could I do wrong?

What is the full command line of your pscp command?

sifo 2012-09-09 19:33

Re: Cannot upload deb to extras repository
 
@draxcp6
for an easier way and could be done using the N900 itself

http://talk.maemo.org/showpost.php?p...&postcount=492

draxcp6 2012-09-09 19:34

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by ginggs (Post 1263841)
What is the full command line of your pscp command?

I tried those commands:
Quote:

pscp -v D:\Programiranje\QT\instalacije\crosswordsqml_0_0_ 1_armel_fremantle.deb drax@drop.maemo.org:/var/www/extras-..._fremantle.deb
Quote:

pscp -v D:\Programiranje\QT\instalacije\crosswordsqml_0_0_ 1_armel_fremantle.deb drax@drop.maemo.org:/var/www/extras-devel/incoming-nonfree/fremantle/
By the way, I have running in background pageant.exe (with set valid private key).


@sifo Thanks :)
But if possible, I would like to be able to send file directly from PC.

ginggs 2012-09-09 19:52

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by draxcp6 (Post 1263844)
Quote:

D:\Instalacije\Uility\putty>pscp -v D:\Programiranje\QT\instalacije\crosswordsqml_0_0_ 1_armel_fremantle.deb drax@drop.maemo.org:/var/www/extras-devel/incoming-nonfree/fremantle/

This looks correct to me.

The only other thing I can think of trying is the -scp option:
http://the.earth.li/~sgtatham/putty/...r5.html#S5.2.2

draxcp6 2012-09-09 20:00

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by ginggs (Post 1263854)
This looks correct to me.

The only other thing I can think of trying is the -scp option:
http://the.earth.li/~sgtatham/putty/...r5.html#S5.2.2

THANK YOU SO MUCH
It is finally working :)

I really spent so much time breaking my head in wall why is not working...
I would hit that "Thanks" button 100 times if I could!
Thanks again :)

ginggs 2012-09-09 20:02

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by draxcp6 (Post 1263863)
THANK YOU SO MUCH
It is finally working :)

I really spent so much time breaking my head in wall why is not working...
Thanks again :)

:D

Good luck in the competition. Tomorrow you can update the wiki with instructions for Windows users:
http://wiki.maemo.org/Uploading_to_Extras
:p

draxcp6 2012-09-09 20:15

Re: Cannot upload deb to extras repository
 
Quote:

Originally Posted by ginggs (Post 1263865)
:D

Good luck in the competition. Tomorrow you can update the wiki with instructions for Windows users:
http://wiki.maemo.org/Uploading_to_Extras
:p

Thanks :)

About update, I don't know how to do it (I don't see anywhere edit button).
I would make tutorial right now (because I have some time at the moment).


All times are GMT. The time now is 07:48.

vBulletin® Version 3.8.8