You are not logged in.

#1 2012-06-08 22:49:26

roobie
Member
Registered: 2011-07-19
Posts: 10

[SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

Hello!

I've tried to find information regarding my problem but I've not found any, so maybe you would care to help me (I hope).

It's not a big deal for me really, but it is annoying. The problem is as follows:

Say I'm about to upgrade my system and I do:

sudo pacman -Syyu 

then pacman syncs with the repos even if they may be up-to-date and upgrades all packages. That's awesome and exactly as it should be. However, were I to execute

 sudo pacman -Syu 

immediately after the

sudo pacman -Syyu

command, it still downloads the repo-data even though it's up to date with a 100% certainty.

As I said, I'm not bothered bery much with this, but it would be nice to fix.

Also, It works on my other computer without problems.

Thanks in advance for any help.

/R

Last edited by roobie (2012-06-09 12:10:52)


"Experience is something you don't get until just after you need it." -- Olivier

Offline

#2 2012-06-09 01:01:14

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: [SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

what?

Offline

#3 2012-06-09 01:49:11

dif
Member
From: Stalowa Wola, Poland
Registered: 2009-12-22
Posts: 137

Re: [SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

My laptop behaved in a similar way, that is it sync'ed repos even if I wrote "pacman -Syu" right away after another system update. When I changed /etc/pacman.d/mirrorlist to choose another repos mirror first, the problem got solved. So my advice is, change the mirror in /etc/pacman.d/mirrorlist

Offline

#4 2012-06-09 02:35:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

Change mirror - especially avoid ftp ones.

Offline

#5 2012-06-09 02:54:01

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,174

Re: [SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

You mean it isn't meant to do that? I guess I should look at my mirrorlist, too, then?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2012-06-09 12:13:35

roobie
Member
Registered: 2011-07-19
Posts: 10

Re: [SOLVED] Pacman syncs repos when doing -Syu immediately after -Syyu

"-Syu" is supposed to sync and download repo-data only if they are out of sync. "-Syyu" forces a download of the repo-data even if they seem to be in sync.

dif's & Allan's tip solved it for me, so now im "klad hest". Thank you both dif & Allan.

/R


"Experience is something you don't get until just after you need it." -- Olivier

Offline

Board footer

Powered by FluxBB