You are not logged in.

#1 2013-07-16 01:54:13

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

pacman strange sync behaviour

Hey guys, I'm having some issues with pacman.

I've been trying to update the last couple of hours, I clearly have packages out of date - git for example, my local package is verion 1.8.3.2-1.

I've checked some mirrors and there are errors, so I rearranged the order of my mirrors to have the up-to-date ones pulling packages first. Although I still get the "there is nothing to do" message and now extra and community are downloading 8MB+ of info not 1800KB.

Any ideas about this?


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#2 2013-07-16 02:00:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: pacman strange sync behaviour

That is the version of git I have. The newer version was only uploaded 3 hours ago.

I'm using Server = http://mirror.xnet.co.nz/pub/archlinux/$repo/os/$arch


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-07-16 02:09:35

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: pacman strange sync behaviour

The new version of git just hit my main mirror in the last couple of hours. You should see it soon.

As for the database sizes, maybe your mirror servers the .files version as the .db version. Post the sizes checksums of the files in /var/lib/pacman/sync.*


* I have no idea why it would, but that's the only thing that came to mind to explain the increase in size for a working database file.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2013-07-16 02:34:34

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: pacman strange sync behaviour

Xyne, even using the same server as jasonwryn I still get the 8-9MB downloads. and all the files in /var/lib/pacman are .db files, not sure how to checksum them though


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#5 2013-07-16 02:46:32

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: pacman strange sync behaviour

What's the output of the following commands:

ls -l /var/lib/pacman/sync
md5sum /var/lib/pacman/sync/*

My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2013-07-16 03:56:39

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: pacman strange sync behaviour

Here you are

-rw-r--r-- 1 root root 9739776 Jul 15 19:32 community.db
-rw-r--r-- 1 root root  583168 Jul 14 05:35 core.db
-rw-r--r-- 1 root root 8685056 Jul 15 06:33 extra.db

75b9f1e7a3cc275d630addc0086fa043  /var/lib/pacman/sync/community.db
dccdf61700b285051c4cfcc1850e0d0f  /var/lib/pacman/sync/core.db
b36e62edc4eb022b6d5e46fc545d92e6  /var/lib/pacman/sync/extra.db


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#7 2013-07-16 05:33:13

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: pacman strange sync behaviour

I can't say about the db sizes, but during the /usr move, for a few days pacman kept downloading a few updates, except for the "problematic ones". I used to get "there is nothing to do" instead of the updates I was expecting.

Doing a

# pacman -Syyu 

fixed the problem.

Offline

#8 2013-07-16 05:55:36

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: pacman strange sync behaviour

Those values do not match the databases for either official architecture. They are even larger than the .files versions.

Are there any other errors when you run Pacman? Can you query packages with "pacman -Ss"?  If the database files are corrupted (e.g. due to incorrect download resuming) then I would expect to see some error messages.

Are you using a custom XferCommand in pacman.conf? If so, try disabling it, then run "pacman -Syyu" to see if that changes anything. You could even try removing the sync databases first.

It would be interesting to see what's actually in those files if you can upload them somewhere.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#9 2013-07-16 06:24:44

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: pacman strange sync behaviour

I'm not using anything custom with pacman, and querying pacmans package database seems to work, although I'm still not getting the updated git package - though obviously thats because those .db files aren't syncing.

Pacman worked fine up to last night and then just stopped. I've checked the log file and there are no errors at all, just the last time I updated and then the recent requests I've made. Though nothing in the log indicates that they were un-succesful.

Unfortunately I've nowhere to upload them


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

#10 2013-07-16 06:32:07

HungGarTiger
Member
From: nz/auckland/
Registered: 2012-06-27
Posts: 187

Re: pacman strange sync behaviour

How are these values now?

ad4738fb170a6c2b4f81a87bf2b9f217  /var/lib/pacman/sync/community.db
dccdf61700b285051c4cfcc1850e0d0f  /var/lib/pacman/sync/core.db
cf4c6398d03cc2f0267a1dedff0e8820  /var/lib/pacman/sync/extra.db

The problem seems to have gone away =/ I just 'pacman -Syyu' as I have been doing, and it seems fine now

Last edited by HungGarTiger (2013-07-16 06:33:06)


"No sympathy for the devil. If you buy the ticket, take the ride."
- Hunter S. Thompson

Offline

Board footer

Powered by FluxBB