Difference between revisions of "Pacman troubleshooting"
→"Configuration file...not recognized" Error
imported>Verityproductions |
imported>Richard |
||
Line 58: | Line 58: | ||
Manjaro's package manager - '''[[pacman]]''' - uses a file called ''mirrorlist'' to tell it the internet addresses of the Manjaro servers in order to download updates and software applications from them. This error will therefore occur if one or more server addresses contained in the mirrorlist file have not been listed properly, resulting in pacman being unable to connect to them. Another tell-tale sign is that this problem will also be encountered immediately after: | Manjaro's package manager - '''[[pacman]]''' - uses a file called ''mirrorlist'' to tell it the internet addresses of the Manjaro servers in order to download updates and software applications from them. This error will therefore occur if one or more server addresses contained in the mirrorlist file have not been listed properly, resulting in pacman being unable to connect to them. Another tell-tale sign is that this problem will also be encountered immediately after: | ||
* | * Installed Manjaro and edited the mirrorlist file during installation, or | ||
* Editing the mirrorlist file at a later | * Editing the mirrorlist file at a later time. | ||
Line 105: | Line 105: | ||
'''Lines beginning with a hash '#' will be ignored by pacman.''' As such, the top part of the file is a table that lists the names of countries followed by their server internet addresses purely for your own information. Its purpose is to tell you - not pacman - which servers are available in what countries. The text coloured in <font color="red">red</font color> at the end of each internet address is there to tell you the <font color="red">download speed</font color> of the server. It is actually the bottom part of the file where the hashes have been removed that is intended to be used by pacman to connect to the manjaro servers. Notice that each of these lines begins with the command <font color="green">Server =</font color>. They will be accessed in the order they are listed. | '''Lines beginning with a hash '#' will be ignored by pacman.''' As such, the top part of the file is a table that lists the names of countries followed by their server internet addresses purely for your own information. Its purpose is to tell you --not pacman-- which servers are available in what countries. The text coloured in <font color="red">red</font color> at the end of each internet address is there to tell you the <font color="red">download speed</font color> of the server. It is actually the bottom part of the file where the hashes have been removed that is intended to be used by pacman to connect to the manjaro servers. Notice that each of these lines begins with the command <font color="green">Server =</font color>. They will be accessed in the order they are listed. | ||
Line 116: | Line 116: | ||
Ensure that the server download speed listed at the end of any unhashed server address line is removed - including the dots ('...') -, | Ensure that the server download speed listed at the end of any unhashed server address line is removed --including the dots ('...')--; otherwise, pacman will think that it is part of the actual internet address. In addition, ensure that any unhashed server address used begins with 'Server =', else pacman will not know what the address is for. Furthermore, if you had previously copied and pasted one or more server addresses, or had manually typed them in, also ensure that what's listed is both complete and correct. A single missing or incorrect character will be enough to cause an error. | ||
Line 133: | Line 133: | ||
sudo pacman -Syy | sudo pacman -Syy | ||
== "GPGME error: No data" Error == | == "GPGME error: No data" Error == |