ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Как правильно чистить incoming?
@ 2007-04-25 11:10 Motsyo Gennadi aka Drool
  2007-04-25 11:35 ` Slava Dubrovskiy
  2007-04-25 11:40 ` Yuriy Kashirin
  0 siblings, 2 replies; 3+ messages in thread
From: Motsyo Gennadi aka Drool @ 2007-04-25 11:10 UTC (permalink / raw)
  To: ALT Devel discussion list

	Как правильно удалить свой пакет с incoming?

	Пробую:
rsync -Pav --delete /var/empty/ devel:/incoming/Sisyphus/ddclient*
Enter passphrase for key '/home/drool/.ssh/id_dsa':
building file list ...
1 file to consider
rsync: recv_generator: mkdir "/incoming/Sisyphus/ddclient*" failed: 
Function not implemented (38)

wrote 44 bytes  read 20 bytes  2.98 bytes/sec
total size is 0  speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(633)

	Делаю так:
rsync -Pav --delete /var/empty/ 
devel:/incoming/Sisyphus/ddclient-3.7.1-alt1.src.rpm
Enter passphrase for key '/home/drool/.ssh/id_dsa':
building file list ...
1 file to consider
ERROR: cannot overwrite non-directory with a directory
rsync error: errors selecting input/output files, dirs (code 3) at 
main.c(501) [receiver=2.6.9]
rsync: connection unexpectedly closed (8 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Как правильно чистить incoming?
  2007-04-25 11:10 [devel] Как правильно чистить incoming? Motsyo Gennadi aka Drool
@ 2007-04-25 11:35 ` Slava Dubrovskiy
  2007-04-25 11:40 ` Yuriy Kashirin
  1 sibling, 0 replies; 3+ messages in thread
From: Slava Dubrovskiy @ 2007-04-25 11:35 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Motsyo Gennadi aka Drool пишет:
> 	Как правильно удалить свой пакет с incoming?
>
> 	Пробую:
> rsync -Pav --delete /var/empty/ devel:/incoming/Sisyphus/ddclient*
>
>   
rsync -va --partial --stats --progress --delete-after -e ssh /var/empty/ 
devel:/incoming/Sisyphus/

-- 
WBR,
Dubrovskiy Vyacheslav


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3249 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] Как правильно чистить incoming?
  2007-04-25 11:10 [devel] Как правильно чистить incoming? Motsyo Gennadi aka Drool
  2007-04-25 11:35 ` Slava Dubrovskiy
@ 2007-04-25 11:40 ` Yuriy Kashirin
  1 sibling, 0 replies; 3+ messages in thread
From: Yuriy Kashirin @ 2007-04-25 11:40 UTC (permalink / raw)
  To: ALT Devel discussion list

On Среда 25 апреля 2007, Motsyo Gennadi aka Drool wrote:
> 	Как правильно удалить свой пакет с incoming?
>
> 	Пробую:
> rsync -Pav --delete /var/empty/ devel:/incoming/Sisyphus/ddclient*
...
> rsync: recv_generator: mkdir "/incoming/Sisyphus/ddclient*" failed:
>
...
> 	Делаю так:
> rsync -Pav --delete /var/empty/
> devel:/incoming/Sisyphus/ddclient-3.7.1-alt1.src.rpm
...
> ERROR: cannot overwrite non-directory with a directory

Последним параметром должен быть директорий, а то вы пытаетесь 
синхронизировать локальный директорий с удаленным файлом.

http://www.freesource.info/wiki/AltLinux/Sisyphus/devel/Incoming#h133-3

То, что там написано, удаляет все ваши файлы из 
devel:/incoming/Sisyphus/. Если надо удалить не все ваши, а только 
конкретные (ddclient*), надо, наверное, добавить в опции 
rsync --include='/ddclient*' --exclude='*'



-- 
 Best regards
 Yuriy Kashirin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-25 11:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-25 11:10 [devel] Как правильно чистить incoming? Motsyo Gennadi aka Drool
2007-04-25 11:35 ` Slava Dubrovskiy
2007-04-25 11:40 ` Yuriy Kashirin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git