You are not logged in.

#1 2010-01-12 04:17:53

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

[solved] pacman not upgrdading amarok

Hi there,
I have amarok (2.2.1.90-1) installed from testing and version in extra is amarok (2.2.2-1). But its not getting upgraded. I am wondering why hmm

Then I manaually installed extra/amarok and it did upgrade. But now when I try to upgrade using pacman -Syu pacman is giving warning

warning: amarok: local (2.2.2-1) is newer than testing (2.2.1.90-1)

Only pacman is giving this warning, yaourt is not.

Last edited by jithin1987 (2010-01-14 01:40:21)


Thanks
Jithin

Offline

#2 2010-01-12 04:37:47

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [solved] pacman not upgrdading amarok

Have you tried changing mirrors?

Offline

#3 2010-01-12 04:59:52

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: [solved] pacman not upgrdading amarok

My mirror has the package.

pacman -Sy amarok
:: Synchronizing package databases...
 testing is up to date
 community-testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 kdemod-core is up to date
 kdemod-extragear is up to date
 kdemod-playground is up to date
resolving dependencies...
looking for inter-conflicts...

Targets (1): amarok-2.2.1.90-1

Total Download Size:    0.00 MB
Total Installed Size:   35.42 MB

Proceed with installation? [Y/n] n
jithine ~ $  pacman -Sy extra/amarok
:: Synchronizing package databases...
 testing is up to date
 community-testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 kdemod-core is up to date
 kdemod-extragear is up to date
 kdemod-playground is up to date
resolving dependencies...
looking for inter-conflicts...

Targets (1): amarok-2.2.2-1

Total Download Size:    0.00 MB
Total Installed Size:   36.30 MB

Proceed with installation? [Y/n]

I think pacman is considering 2.2.1.90-1 latest than amarok-2.2.2-1


Thanks
Jithin

Offline

#4 2010-01-13 14:14:01

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 75
Website

Re: [solved] pacman not upgrdading amarok

I think what annon is saying is that your current mirror is out of sync and you should change it. There's a list of mirrors on the wiki somewhere that tells you if they are in sync or not.

That being said, I've got the same problem with the KDE-mod mirrors and changing them doesn't seem to do any good. I'm still running the old Amarok, too. I'm gonna have to ask them about that.


Arch Linux Plasma 6 | AMD Ryzen 7 1700 | 64GB DDR4 RAM | Radeon RX 570 / GTX 1050 Ti | RTX 2070 Super (Windows VM)

Offline

#5 2010-01-14 01:37:51

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: [solved] pacman not upgrdading amarok

My amarok is not kde mod one. Anyways now the mirror is fixed the amarok  2.2.1.90-1 is removed from testing now.
But still I think pacman should not think 2.2.1.90-1 latest than 2.2.2-1


Thanks
Jithin

Offline

#6 2010-01-14 01:39:23

Kalinda
Member
From: Canada
Registered: 2009-02-19
Posts: 75
Website

Re: [solved] pacman not upgrdading amarok

It might take a couple of days.


Arch Linux Plasma 6 | AMD Ryzen 7 1700 | 64GB DDR4 RAM | Radeon RX 570 / GTX 1050 Ti | RTX 2070 Super (Windows VM)

Offline

#7 2010-01-14 02:48:37

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [solved] pacman not upgrdading amarok

jithin1987 wrote:

My amarok is not kde mod one. Anyways now the mirror is fixed the amarok  2.2.1.90-1 is removed from testing now.
But still I think pacman should not think 2.2.1.90-1 latest than 2.2.2-1

It does not assume that.  The repo at the top of your pacman.conf takes priority.

Offline

#8 2010-01-14 02:51:40

jithin1987
Member
From: Bangalore
Registered: 2009-09-12
Posts: 182

Re: [solved] pacman not upgrdading amarok

Ok Thanks Allan now I got it. testing is at top.
But if repo at top has version 2.x.x and bottom one has 3.x.x will it still takes 2.x.x because that repo is at top? I dont think that is right? Even if multiple packages are present should not the one with highest version get installed. I dont know much about arch package version policies.


Thanks
Jithin

Offline

#9 2010-01-14 03:04:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: [solved] pacman not upgrdading amarok

pacman will take the version in the repo at the top.  In Arch, this is always a newer version, unless (as appears to have happened here) the mirror for the top repo is out-of-date.

Edit: this stops weird things happening...  e.g. you put a repo at the bottom of your pacman.conf and they later decide to provide a package kernel26-9999-1 so you upgrade to that.  You have your most trusted repos at the top.  (in fact, do not put untrusted repos in there at all...  but you get the point).

Offline

Board footer

Powered by FluxBB