You are not logged in.

#1 2016-12-08 12:54:23

iia
Member
Registered: 2014-06-03
Posts: 8

Running abs results in an empty tree

abs is behaving strangely. When I ran it today, it deleted everything in the abs tree. Subsequent runs doesn't seem to change anything.
Can anyone tell me what's going on?

$ tree /var/abs 
/var/abs
├── local
├── perl-json
│   └── 0ad
│       ├── repos
│       │   └── community-any
│       │       └── PKGBUILD
│       └── trunk
│           └── PKGBUILD
└── README

6 directories, 3 files
# abs
==> Starting ABS sync...
receiving file list ... done

sent 176 bytes  received 217 bytes  262.00 bytes/sec
total size is 2,262  speedup is 5.76
$ < /etc/abs.conf
#
# /etc/abs.conf
#

# the top-level directory of all your PKGBUILDs
[ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"

#
# Server to sync from
#
SYNCSERVER="rsync.archlinux.org"

#
# The architecture to fetch abs for
# Either i686 or x86_64
#
ARCH="x86_64"

#
# Pacman mirror list used for syncing via tarball
#
MIRRORLIST="/etc/pacman.d/mirrorlist"

#
# REPOS to be parsed by abs (in this order)
#   (prefix a repo with a ! to disable it)
#
# Note: If a repo is removed, it is still fetched!
# Repos must be preceded with a ! to prevent fetching
#
REPOS=(core extra community multilib !testing !community-testing !multilib-testing
       !staging !community-staging !gnome-unstable !kde-unstable)

Offline

#2 2016-12-08 13:06:41

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: Running abs results in an empty tree

Same issue. I couldn't see anything my /var/log/pacman.log  in the last month that would have resulted in something like this. Maybe the Arch servers themselves were/are having issues, so when abs checks them it gets a NULL result and updates accordingly?

Last edited by woodape (2016-12-08 13:07:23)

Offline

#3 2016-12-08 13:12:43

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Running abs results in an empty tree

For the record there was a related report of an abs sync that was just dustbinned yesterday as they were using a derivative distro.  That other distro may use the same abs server and setup - on it's own that report was fitting to be binned, but with these others there may be a real issue.

The abs works fine for me, and for at least a couple others who replied to the previous report of the problem.  So the issue is either sporadic, or isolated to a subset of users.  I don't yet see any pattern in the users affected, though we can rule out any architecture-specific ties.

Have each of you tried again after some time to test the sporadic explanation?  On a related note, the bbs servers were down briefly this morning (or noonish UTC) about the time this thread started.  Perhaps the rsync server was also breifly down.

EDIT: Nevermind the above.  It turns out the report yesterday was an unrelated red herring.  While abs worked fine for me then, it is failing now.

Last edited by Trilby (2016-12-08 13:39:55)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2016-12-08 13:26:28

iia
Member
Registered: 2014-06-03
Posts: 8

Re: Running abs results in an empty tree

I tried again just now, and received updates of the two files that are actually in the tree...

# abs
==> Starting ABS sync...
receiving file list ... done
perl-json/
perl-json/0ad/
perl-json/0ad/repos/
perl-json/0ad/repos/community-any/
perl-json/0ad/repos/community-any/PKGBUILD
perl-json/0ad/trunk/
perl-json/0ad/trunk/PKGBUILD

sent 253 bytes  received 319 bytes  381.33 bytes/sec
total size is 2,262  speedup is 3.95

Offline

#5 2016-12-08 13:32:02

whoops
Member
Registered: 2009-03-19
Posts: 891

Re: Running abs results in an empty tree

Not sure if I'm doing it wrong or if abs / rsync.archlinux.org are broken?

grep "SYNCSERVER\|ROOT" /etc/abs.conf; sudo abs; sudo find /var/abs
[ "$ABSROOT" = "" ] && ABSROOT="/var/abs/"
SYNCSERVER="rsync.archlinux.org"
==> Starting ABS sync...
receiving file list ... done

sent 176 bytes  received 210 bytes  772.00 bytes/sec
total size is 2,262  speedup is 5.86
/var/abs
/var/abs/local
/var/abs/README
/var/abs/perl-json
/var/abs/perl-json/0ad
/var/abs/perl-json/0ad/trunk
/var/abs/perl-json/0ad/trunk/PKGBUILD
/var/abs/perl-json/0ad/repos
/var/abs/perl-json/0ad/repos/community-any
/var/abs/perl-json/0ad/repos/community-any/PKGBUILD

aaand...:

# abs -t
==> Downloading tarballs...
    ==> core...
    ==> extra...
    ==> community...
    ==> multilib...
==> ERROR: Download failed

I've been messing around with my routing & dnsmasq &stuff when I noticed this, which is one reason why I'm not sure what's happening. Double checking:

dig +short rsync.archlinux.com          
69.172.201.153

( which seems to belong to "DosArrest" - is that how it's supposed to be? )

Offline

#6 2016-12-08 13:36:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,449
Website

Re: Running abs results in an empty tree

Mod note: Merged in last post.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2016-12-08 14:05:41

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Running abs results in an empty tree

I've tried with a few different mirrors and none of them work. Maybe the abs tree/tars are missing from the machine all mirrors sync from.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#8 2016-12-08 14:06:30

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: Running abs results in an empty tree

Just some more info. I was using one of the mirrorlist servers for South Africa, but I've just using each of the worldwide servers and the problem persisted. So it probably isn't an individual mirror issue. I've also noticed that the AUR has been behaving badly today. My AUR helper has been timing out, the AUR homepage has been timing out, and even when it's been up, going to any package and clicking the "view PKGBUILD" link gives a not found error.

Also all the sites - Wiki, forums, AUR - all just timed out for me again. Something is going on at the top...

@Trilby, are there other abs servers other than "rsync.archlinux.org" for the abs? That is what I have in my /etc/abs.conf.

Offline

#9 2016-12-08 20:11:33

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: Running abs results in an empty tree

Just re-ran 'sudo abs' after a few hours wait and the full abs tree re-synced. Must have been something with the server. Maybe this thread can be closed?

Offline

#10 2016-12-08 20:16:50

ayekat
Member
Registered: 2011-01-17
Posts: 1,589

Re: Running abs results in an empty tree

woodape wrote:

Just re-ran 'sudo abs' after a few hours wait and the full abs tree re-synced. Must have been something with the server. Maybe this thread can be closed?

The issue seems to have been fluctuating since yesterday evening (UTC) - so even if it works right now, we can't know if it will also work in a few hours. For example, half an hour ago, it didn't work for me™.

Last edited by ayekat (2016-12-08 20:17:21)


pkgshackscfgblag

Offline

#11 2016-12-08 20:29:42

woodape
Member
Registered: 2015-03-25
Posts: 159

Re: Running abs results in an empty tree

ayekat wrote:

The issue seems to have been fluctuating since yesterday evening (UTC) - so even if it works right now, we can't know if it will also work in a few hours. For example, half an hour ago, it didn't work for me™.

Fair enough. But it seems to me this is an issue that isn't related to packages/software/anything that a user can do something about. If it is in fact an issue stemming from the servers the issue is "solved" in that we know what causes the problem, there just isn't anything we as users can do about it. But I guess it's up to the mods.

Offline

Board footer

Powered by FluxBB