MESSAGE
DATE | 2017-05-18 |
FROM | Ruben Safir
|
SUBJECT | Subject: [Hangout of NYLXS] Manjaro information
|
This very useful information is now pinned to the top of the manjaro technical forum
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Mirrorlist
After refreshing your mirrorlist always run
sudo pacman -Syy
Why? - you ask
You know the mirrorlist on your computer is vital to your updating experience.
What you might not be aware of is the relationship between your primary (first in list) mirror. That relationship exist in the folder /var/lib/pacman/sync.
~ >>> ls -lA /var/lib/pacman/sync
-rw-r--r-- 1 root root 4348161 May 17 17:16 community.db -rw-r--r-- 1 root root 19894963 May 16 09:33 community.files -rw-r--r-- 1 root root 144402 May 17 10:48 core.db -rw-r--r-- 1 root root 1683998 May 16 09:33 core.files -rw-r--r-- 1 root root 1849720 May 17 10:48 extra.db -rw-r--r-- 1 root root 7695346 May 16 09:33 extra.files -rw-r--r-- 1 root root 14104 May 4 14:11 mhwd.db -rw-r--r-- 1 root root 185908 May 16 09:03 multilib.db -rw-r--r-- 1 root root 332183 May 16 09:33 multilib.files
Whenever you run pacman-mirrors and generate a new mirrorlist you potentially breaks that relationship.
Since mirrors syncronize at different intervals and some only once a week - your primary mirror could be set to a mirror which has another set of files. This could very well result in partial updates, failed updates and even more nasty problems. The flow
Should you feel the need for running pacman-mirrors because
Your mirror has become slow. You need a specific update from testing or unstable branch. You want to update from a server which has the latest updates.
The correct flow for these cases is
Your mirror has become slow.
sudo pacman-mirrors --geoip # give me geoip mirror if you can sudo pacman -Syy # force sync database
You want a specific package from unstable branch.
sudo pacman-mirror -b unstable -f 5 # give me 5 mirrors having current updates sudo pacman -Syy # force sync database sudo pacman -S name-of-package # install the desired package sudo pacman --geoip # reset branch and give me geoip mirror if you can sudo pacman -Syy # force sync database
You want to update with the latest system update.
sudo pacman-mirrors -f 5 # give me 5 mirrors having current updates sudo pacman -Syy # force sync database sudo pacman -Syu # check db and update my system
Some commands can be combined and pacman-mirrors has helpers for some but you should understand the flow - which is why I have pointed what commands gives that flow.
Depending on your version of pacman-mirrors you can syncronize your pacman database by adding --update DEPRECATED or -y / --sync to your pacman-mirrors command. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013 _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://www.nylxs.com/mailman/listinfo/hangout
|
|