[arch-general] Pacman fails to update?
Hi guys, I'm having this rare issue: several days ago I installed some things from [Testing] and because I don't wanna screw-up my system I turned it off. Since then, every day I check for updates -roughly 10 days more or less- pacman keeps telling it's all up-to-date while I know there's nearly everyday an update while not within several hours, at least in my system with what I have installed. Also I was using packer (a community tool to deal with AUR) which keeps telling some installed packages (14) were newer than those found in theire repos (not from AUR but from extra and community rpositories). Today I downloaded latest mirrorlist, did a # pacman -Syy && pacman -Suu and gave system is up-to-date which is in fact very strange, I mean, come on, there wasn't any updates in all these days? I don't think so :p But the weirdest thing is afeter issue those orders I did a $ packer -Syu to update AUR packages and guess what? I remember I had something like 140 packages installed from AUR but this time packer wanted to check for 1272 packages lol The weirdest thing? I can't install ABS, as you hear it, pacman can't found it in extra (or community or wherever it resides). So the million question here is: is there *any* way to initialize whole pacman and it local repositories cache? I think of it as the last resort to may be fix this. Thanks!
2010/7/29 Martín Cigorraga <martosurf7600@gmail.com>
Hi guys, I'm having this rare issue:
several days ago I installed some things from [Testing] and because I don't wanna screw-up my system I turned it off. Since then, every day I check for updates -roughly 10 days more or less- pacman keeps telling it's all up-to-date while I know there's nearly everyday an update while not within several hours, at least in my system with what I have installed.
Also I was using packer (a community tool to deal with AUR) which keeps telling some installed packages (14) were newer than those found in theire repos (not from AUR but from extra and community rpositories).
Today I downloaded latest mirrorlist, did a # pacman -Syy && pacman -Suu and gave system is up-to-date which is in fact very strange, I mean, come on, there wasn't any updates in all these days? I don't think so :p
But the weirdest thing is afeter issue those orders I did a $ packer -Syu to update AUR packages and guess what? I remember I had something like 140 packages installed from AUR but this time packer wanted to check for 1272 packages lol
The weirdest thing? I can't install ABS, as you hear it, pacman can't found it in extra (or community or wherever it resides).
So the million question here is: is there *any* way to initialize whole pacman and it local repositories cache? I think of it as the last resort to may be fix this.
Thanks!
I can install abs and all but it's been several days since the last update. I run pacman -Syu about two times a day. I also found it kind of odd but simply assumed that there wasn't any updates at all. Now that I replaced my /etc/pacman.d/mirrorlist with the content of http://www.archlinux.org/mirrorlist/all/, discommented some repositories, pacman actualized some packages. Why don't you try doing so? -- Rafael Beraldo http://cabaladada.org
On Thu, 29 Jul 2010 15:53:33 -0300 Martín Cigorraga <martosurf7600@gmail.com> wrote:
Hi guys, I'm having this rare issue:
several days ago I installed some things from [Testing] and because I don't wanna screw-up my system I turned it off. Since then, every day I check for updates -roughly 10 days more or less- pacman keeps telling it's all up-to-date while I know there's nearly everyday an update while not within several hours, at least in my system with what I have installed.
Also I was using packer (a community tool to deal with AUR) which keeps telling some installed packages (14) were newer than those found in theire repos (not from AUR but from extra and community rpositories).
Today I downloaded latest mirrorlist, did a # pacman -Syy && pacman -Suu and gave system is up-to-date which is in fact very strange, I mean, come on, there wasn't any updates in all these days? I don't think so :p
But the weirdest thing is afeter issue those orders I did a $ packer -Syu to update AUR packages and guess what? I remember I had something like 140 packages installed from AUR but this time packer wanted to check for 1272 packages lol
The weirdest thing? I can't install ABS, as you hear it, pacman can't found it in extra (or community or wherever it resides).
So the million question here is: is there *any* way to initialize whole pacman and it local repositories cache? I think of it as the last resort to may be fix this.
Thanks! Can you pastebin your pacman.conf please?
Also, picking packages from testing and then diabeling it might cause your system to break too :). Either use testing or don't, mixing like that is generally unsafe.
On 30/07/10 04:53, Martín Cigorraga wrote:
But the weirdest thing is afeter issue those orders I did a $ packer -Syu to update AUR packages and guess what? I remember I had something like 140 packages installed from AUR but this time packer wanted to check for 1272 packages lol
Hmmm... do you have anything in /var/lib/pacman/local? It sounds like you have lost your package database somehow. Allan
Hi guys and thanks for your time. @ Rafael: already did that but I narrowed the error, see below. @ Øyvind: done: http://pastebin.org/430438 . As you see, everything seems allright :p @ Allan: /var/lib/pacman/local seems allrigth too, here is it's content: http://pastebin.org/430449 . One thing I just noticed -alas, my mind's on the cloud, literally- is pacman isn't actually downloading/updating repos, look out this output: http://pastebin.org/430461 Damn, I'm pretty sure that mean something, at least pacman isn't working at it should be. I'm researching on this but still no clue on what happening here... Martín 2010/7/29, Allan McRae <allan@archlinux.org>:
On 30/07/10 04:53, Martín Cigorraga wrote:
But the weirdest thing is afeter issue those orders I did a $ packer -Syu to update AUR packages and guess what? I remember I had something like 140 packages installed from AUR but this time packer wanted to check for 1272 packages lol
Hmmm... do you have anything in /var/lib/pacman/local? It sounds like you have lost your package database somehow.
Allan
oops, sorry for the top-posting 2010/7/29, Martín Cigorraga <martosurf7600@gmail.com>:
Hi guys and thanks for your time.
@ Rafael: already did that but I narrowed the error, see below. @ Øyvind: done: http://pastebin.org/430438 . As you see, everything seems allright :p @ Allan: /var/lib/pacman/local seems allrigth too, here is it's content: http://pastebin.org/430449 .
One thing I just noticed -alas, my mind's on the cloud, literally- is pacman isn't actually downloading/updating repos, look out this output: http://pastebin.org/430461
Damn, I'm pretty sure that mean something, at least pacman isn't working at it should be. I'm researching on this but still no clue on what happening here...
Martín
2010/7/29, Allan McRae <allan@archlinux.org>:
On 30/07/10 04:53, Martín Cigorraga wrote:
But the weirdest thing is afeter issue those orders I did a $ packer -Syu to update AUR packages and guess what? I remember I had something like 140 packages installed from AUR but this time packer wanted to check for 1272 packages lol
Hmmm... do you have anything in /var/lib/pacman/local? It sounds like you have lost your package database somehow.
Allan
Sorry about those two emails, I posted from Konqueror and seems it can't handle this... Nevermind, this is my actual /eetc/pacman.d/mirrorlist file after downloading newest version and rankmirroring it: http://pastebin.org/430494 Thanks.
I tried this little trick but didn't work: http://pastebin.org/430543 After issuing # pacman -Syy I get the same http://pastebin.org/430461. grrrrrrrrrr...
Ok: thanks to the *excellent* Arch Wiki I had the idea too boot from the Arch CD and take a look at /etc/pacman.d/mirrorlist. To my surprise, or not, once I copy it to my Arch install it worked allright. I remember some days ago there was a discussion about how useful could be using "Architecture = auto" instead "686" or "x86_64" in /etc/pacman.conf. Since /etc/pacman.d/mirrorlist uses two variables passed by pacman which first read in it's config file, may be a bug relating that's preventing pacman from accesing repositories? Also, weird enough, why in the world [catalyst] Server = http://catalyst.apocalypsus.net/repo/catalyst/x86_64 don't work!? Repo is online and perfectly accesible via web. Also it don't use any variable in the url so what's going on here? Getting more and more confused... Martin
*UPDATE* After spring-cleaning /var/lib/pacman and /var/lib/pacman/sync [catalyst] repo is working fine again. I'm doing a full update now after which I will backup /etc/pacman.d/mirrorlist, download latest and test it and report back here.
SOLVED I'am an Arch and GNU/Linux n00b but I'm also a 'hardheaded/stubborn' guy when it's about solving a problem - even worst if it's related to my computer, lol. After looking and trying several things I narrowed the problem to 'rankmirrors'. I don't know why (was the package updated early?) because allways runned smooth here, but the file generated is somewhat corrupt. Seems it's time to fill a bug report :) BTW, Arch rules!! Thanks every single one for making this possible, I enjoy so much using it and I evangelize everybody about it, you all kick-ass people. Martín
On 07/30/2010 09:28 AM, Martín Cigorraga wrote:
SOLVED
I'am an Arch and GNU/Linux n00b but I'm also a 'hardheaded/stubborn' guy when it's about solving a problem - even worst if it's related to my computer, lol. After looking and trying several things I narrowed the problem to 'rankmirrors'. I don't know why (was the package updated early?) because allways runned smooth here, but the file generated is somewhat corrupt. Seems it's time to fill a bug report :)
BTW, Arch rules!! Thanks every single one for making this possible, I enjoy so much using it and I evangelize everybody about it, you all kick-ass people.
Martín
i noticed that you have catalyst repo first repo. as you know pacman is using the ordering to prioritize updates. if you have this one first and for some reason they clone the repo and have out of date packages, you will never get updates from core/extra/testing. i suggest to move it the last -- Ionuț
Hi there Ionuț! according to ATI Catalyst wiki ( http://wiki.archlinux.org/index.php/ATI_Catalyst): "There is a repository called *[catalyst]* which contains *newest stable catalyst driver* and some additional packages like *patched xorg-server*. This repository should now work with any kernel and with multiple-kernels systems (read Stock and Custom Kernels<http://wiki.archlinux.org/index.php/ATI_Catalyst#Stock_and_Custom_Kernels>section) and it is updated most frequently. To use it you need as root: *1)* Edit /etc/pacman.conf and add those lines above all other repositories" That's why I put it there :p Thank you very much!
On 30/07/10 16:28, Martín Cigorraga wrote:
SOLVED
I'am an Arch and GNU/Linux n00b but I'm also a 'hardheaded/stubborn' guy when it's about solving a problem - even worst if it's related to my computer, lol. After looking and trying several things I narrowed the problem to 'rankmirrors'. I don't know why (was the package updated early?) because allways runned smooth here, but the file generated is somewhat corrupt. Seems it's time to fill a bug report :)
BTW, Arch rules!! Thanks every single one for making this possible, I enjoy so much using it and I evangelize everybody about it, you all kick-ass people.
rankmirrors is a bit broken in pacman-3.4.0. It will be fixed in a 3.4.1 release soon. Allan
So you're aware, cool, one less bug report to fill =D
participants (5)
-
Allan McRae
-
Ionuț Bîru
-
Martín Cigorraga
-
Rafael Beraldo
-
Øyvind Heggstad