Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#12710 - Mirror list update should not replace current mirror list
Attached to Project:
Arch Linux
Opened by changed user account to dsohler (Dirk.Sohler) - Thursday, 08 January 2009, 14:12 GMT
Last edited by Dan McGee (toofishes) - Saturday, 17 January 2009, 16:07 GMT
Opened by changed user account to dsohler (Dirk.Sohler) - Thursday, 08 January 2009, 14:12 GMT
Last edited by Dan McGee (toofishes) - Saturday, 17 January 2009, 16:07 GMT
|
DetailsSummary and Info:
As you all know Pacman does not provide a mirror list by itself, the mirror list is available via the pacman-mirrorlist package. If this pacage gets upgraded, the current mirror list will be backupped and replaced with the mirror list provided by the package. In this mirror list all Servers are enabled by default, including <ftp.archlinux.org>. This results in extremely slow updates and – in my case – an error because of the core package can not be found (was the first time, never checked again). Would be great, if the current mirror list does not get replaced by this unusable mirror list every time the package gets updated. Would be also great, if i could remove the mirror list package without removing Pacman (what would be very stupid *g*) Steps to Reproduce: Edit your </etc/pacman.d/mirrorlist>, update pacman-mirrorlist package. |
This task depends upon
If you updated to the original pacman & pacman-mirrorlist split packages, we know that there is a one time problem with your mirrorlist being moved to pacorig. However, subsequent updates to the pacman-mirrorlist package should place any new updates in a pacnew file, not replacing your customized mirror file.
[2009-01-08 06:40] warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
… the new new mirror list replaced the current mirror list, that was backupped before. I had to delete </etc/pacman.d/mirrorlist> and rename the pacup file again.
The interresting thing is, according to the error analysis in a forum, i tried to reinstall the mirror list package. Now it does not touch the mirror list file at all ...
root@host:~# pacman -S pacman-mirrorlist
warning: pacman-mirrorlist-20090106-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
[…]
root@host:/etc/pacman.d# ls
mirrorlist
root@host:/etc/pacman.d# cat mirrorlist
Server=ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64
# ls
mirrorlist
# cat mirrorlist
Server=ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64
root /etc/pacman.d # pacman -Syu
[…]
warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
[…]
# ls
mirrorlist mirrorlist.pacnew
# cat mirrorlist
Server=ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/x86_64
#