Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602178 - rsync2.ru.gentoo.org: Retains removed files
Summary: rsync2.ru.gentoo.org: Retains removed files
Status: RESOLVED FIXED
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-09 17:51 UTC by Sergey S. Starikoff
Modified: 2016-12-13 11:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2016-12-09 17:51:42 UTC
After today's sync I've got the following error message:

!!! A file is not listed in the Manifest: '/usr/portage/gentoo/sys-devel/libtool/libtool-2.4.2-r1.ebuild'

# ls -l /usr/portage/gentoo/metadata/timestamp*
-rw-r--r-- 1 portage portage 29 Dec  9 17:39 /usr/portage/gentoo/metadata/timestamp
-rw-r--r-- 1 portage portage 32 Dec  9 18:45 /usr/portage/gentoo/metadata/timestamp.chk
-rw-r--r-- 1 portage portage 43 Dec  9 17:40 /usr/portage/gentoo/metadata/timestamp.x

# cat /etc/portage/repos.conf/gentoo.conf 
[DEFAULT]
main-repo = gentoo

[gentoo]
location = /usr/portage/gentoo
sync-type = rsync
sync-uri = rsync://mirror.yandex.ru/gentoo-portage/


P.S. Probably, bug #596474 should not be closed as duplicate of bug #596462 but interpreted as request to automate some core checks of portage tree, executing them after each commit.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2016-12-09 18:32:32 UTC
(In reply to Sergey S. Starikoff from comment #0)
> sync-uri = rsync://mirror.yandex.ru/gentoo-portage/

Your mirror is broken.

Arkady, on your mirror, there's removed files:

% rsync rsync://rsync2.ru.gentoo.org/gentoo-portage/sys-devel/libtool/
drwxr-xr-x        4096 2016/12/09 14:53:40 .
-rw-r--r--        5768 2016/12/09 14:53:42 Manifest
-rw-r--r--        2737 2015/08/24 15:41:50 libtool-2.4.2-r1.ebuild
-rw-r--r--        1926 2015/08/24 15:41:50 libtool-2.4.4.ebuild
-rw-r--r--        1939 2015/08/24 15:41:50 libtool-2.4.5.ebuild
-rw-r--r--        2128 2015/09/11 20:10:54 libtool-2.4.6-r1.ebuild
-rw-r--r--        2526 2016/12/09 14:53:36 libtool-2.4.6-r2.ebuild
-rw-r--r--        1926 2015/08/24 15:41:50 libtool-2.4.6.ebuild
-rw-r--r--        2067 2016/12/09 14:53:33 libtool-9999.ebuild
-rw-r--r--         253 2016/01/25 00:06:09 metadata.xml
drwxr-xr-x        4096 2016/02/13 09:51:55 files

It should look like:

% rsync rsync://rsync1.ru.gentoo.org/gentoo-portage/sys-devel/libtool/
drwxr-xr-x        4096 2016/12/09 14:53:40 .
-rw-r--r--        5768 2016/12/09 14:53:42 Manifest
-rw-r--r--        2526 2016/12/09 14:53:36 libtool-2.4.6-r2.ebuild
-rw-r--r--        1926 2015/08/24 15:41:50 libtool-2.4.6.ebuild
-rw-r--r--        2067 2016/12/09 14:53:33 libtool-9999.ebuild
-rw-r--r--         253 2016/01/25 00:06:09 metadata.xml
drwxr-xr-x        4096 2016/02/13 09:51:55 files

Please take a look.
Comment 2 Arkady L. Shane 2016-12-09 19:17:00 UTC
This issue fixed at this time. Rsync can't delete files due to some was vanished during sync.
Comment 3 Sergey S. Starikoff 2016-12-10 10:14:48 UTC
(In reply to Arkady L. Shane from comment #2)
> This issue fixed at this time.

Thank you!
Today's sync showed issue is fixed.
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2016-12-13 11:52:03 UTC
thanks