You are not logged in.

#1 2012-12-03 20:30:52

toothandnail
Member
From: Oxfordshire, UK
Registered: 2012-05-05
Posts: 90

[Solved] I've broken pacman

I had a failure a couple of days ago during a pacman -Syu run. Since then, any attempt to run pacman -Syu results in messages that all package databases are up to date and there is nothing to do.

I know that isn't correct - there are several updates to packages I have instaled. I've had a look through the pacman man page and done a bit of hunting through the forum, but so far, I've no clue how to fix the problem. Can anyone tell me what I might do to fix pacman so it updates again?

I tried moving the local copies of the databases and then ran pacman -Syu again. That resulted in a download of each of the databases, but I still get the message that there is nothing to do, so it looks as though pacman has lost track of what it installed.

Paul.

Last edited by toothandnail (2012-12-04 00:18:48)

Offline

#2 2012-12-03 20:38:48

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: [Solved] I've broken pacman

Have you tried updating your mirror list yet?

Offline

#3 2012-12-03 20:39:13

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

Re: [Solved] I've broken pacman

Try

# pacman -Syyu

EDIT: whoa 3 minutes and 4 replies !

Last edited by illusionist (2012-12-03 20:46:10)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#4 2012-12-03 20:39:48

progandy
Member
Registered: 2012-05-17
Posts: 5,307

Re: [Solved] I've broken pacman

What is the output of "pacman -Q"? It should list all your packages, if not then pacman has lost its database.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#5 2012-12-03 20:40:06

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: [Solved] I've broken pacman

Assuming you have changed mirror to an up-to-date one and issued "pacman -Syyu" look here:

https://wiki.archlinux.org/index.php/Pa … l_database

edit:  Beaten to it!

Last edited by loafer (2012-12-03 20:40:27)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#6 2012-12-03 22:37:07

toothandnail
Member
From: Oxfordshire, UK
Registered: 2012-05-05
Posts: 90

Re: [Solved] I've broken pacman

Thanks for the replies....

I've not touched the mirror list, will have to see if I can grab an updated one and try that. Running pacman syy reloads the database lists, but still doesn't find anything new.

Looking back through the log, the last real update was just before I installed acroread from AUR. Unfortunately I need it to complete my tax return, which has to be done soon. As a result, I have multilib enabled.

Running pacman -Q produces a long list of packages, but running pacman -Syu still does this:

[root@sirius fang]# pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: seamonkey: local (2.14.1-1) is newer than community (2.14-1)
 there is nothing to do

I built the latest seamonkey last night, which explains the warning, but so far as I can see, there should be a number of updated files to install.

Paul.

Offline

#7 2012-12-03 22:46:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] I've broken pacman

toothandnail wrote:

I've not touched the mirror list...

This is the source of your issues.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-12-04 00:18:25

toothandnail
Member
From: Oxfordshire, UK
Registered: 2012-05-05
Posts: 90

Re: [Solved] I've broken pacman

jasonwryan wrote:
toothandnail wrote:

I've not touched the mirror list...

This is the source of your issues.

You're quite right. Thanks. Not sure how I missed the updated list, but its back to working now.

Paul.

Offline

Board footer

Powered by FluxBB