Jump to content


Pacman upgrade error and how to fix it


  • Please log in to reply
11 replies to this topic

#1 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 01:09 PM

If you are getting the following message when trying to update:

Quote

:: Starting full system upgrade...:: package-query: requires pacman<3.5
Open up a terminal and run the following commands:
# pacman -Rsn package-query yaourt# pacman -Syyu# pacman-db-upgrade
Also, the update provides a new pacman mirrorlist so you may want to run rank-mirrors again:
# cd /etc/pacman.d# cp mirrorlist mirrorlist.backup# nano mirrorlist.pacnew
Uncomment out all of the mirrors in your specific country, and then save/exit nano.Then run:
# rankmirrrors -n 7 mirrorlist.pacnew > mirrorlist
This will choose the 7 fastest mirrors for you to use.Next run this command to reload your mirrorlist and start the upgrade:
# pacman -Syyu
Then everything should be fixed for you. :w00t:
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#2 OFFLINE   amenditman

amenditman

    Forum Fiend

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 1,888 posts

Posted 25 March 2011 - 01:18 PM

View Postsecuritybreach, on Mar 25 2011, 01:09 PM, said:

Also, the update provides a new pacman mirrorlist so you may want to run rank-mirrors again:
# cd /etc/pacman.d# cp mirrorlist mirrorlist.backup# nano mirrorlist.pacnew
Comment out all of the mirrors in your specific country, and then save/exit nano.Then run:
# rankmirrrors -n 7 mirrorlist.pacnew > mirrorlist# pacman -Syyu
This will choose the 7 fastest mirrors for you to use.
Do you mean uncomment all mirrors in your specific country?
Tweak it 'til it breaks, then learn how to fix it.  L.I.F.E. (Linux Is For Everyone)
Registered Linux User # 474004 (06/16/2008)

The HeliOS Project  -  B.O.D.
A Child's Exposure to Technology Should Never Be
  Predicated On The Ability To Afford It

#3 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 01:27 PM

Yup. Like for instance:
## Ukraine#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch#Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/$arch## United StatesServer = ftp://archlinux.supsec.org/pub/linux/arch/$repo/os/$archServer = http://archlinux.supsec.org/$repo/os/$archServer = ftp://cake.lib.fit.edu/archlinux/$repo/os/$archServer = http://cake.lib.fit.edu/archlinux/$repo/os/$archServer = http://mirrors.cat.pdx.edu/archlinux/$repo/os/$archServer = http://mirror.ece.vt.edu/archlinux/$repo/os/$archServer = ftp://ftp.archlinux.org/$repo/os/$archServer = ftp://ftp.gtlib.gatech.edu/pub/archlinux/$repo/os/$archServer = http://www.gtlib.gatech.edu/pub/archlinux/$repo/os/$archServer = ftp://mirrors.hosef.org/archlinux/$repo/os/$archServer = http://mirrors.hosef.org/archlinux/$repo/os/$archServer = http://hpc.arc.georgetown.edu/mirror/archlinux/$repo/os/$archServer = ftp://distro.ibiblio.org/archlinux/$repo/os/$archServer = http://distro.ibiblio.org/archlinux/$repo/os/$archServer = ftp://lug.mtu.edu/archlinux/ftpfull/$repo/os/$archServer = http://lug.mtu.edu/archlinux/ftpfull/$repo/os/$archServer = ftp://mirrors.xmission.com/archlinux/$repo/os/$archServer = http://mirrors.xmission.com/archlinux/$repo/os/$archServer = http://mirror.mocker.org/archlinux/$repo/os/$archServer = ftp://ftp.osuosl.org/pub/archlinux/$repo/os/$archServer = http://ftp.osuosl.org/pub/archlinux/$repo/os/$archServer = ftp://mirror.rit.edu/archlinux/$repo/os/$archServer = http://mirror.rit.edu/archlinux/$repo/os/$archServer = http://mirrors.rutgers.edu/archlinux/$repo/os/$archServer = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch
Oops sorry fixed :w00t:
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#4 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 14,854 posts

Posted 25 March 2011 - 01:42 PM

Hmm... I just Syu'd last night without any errors. I also installed flashplugin-prerelease from yaourt. That worked fine, too. :w00t:

Posted Image


#5 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 02:02 PM

View PostV.T. Eric Layton, on Mar 25 2011, 01:42 PM, said:

Hmm... I just Syu'd last night without any errors. I also installed flashplugin-prerelease from yaourt. That worked fine, too. :w00t:
Well I got the error this morning. I had Vagabond email me about it two days ago so who knows. Just a heads up though.Also, I use the flashplugin-prelease as well. It works great for me.
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#6 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 14,854 posts

Posted 25 March 2011 - 02:50 PM

I have a "Square" version that I d-loaded direct from Adobe Labs. It works OK in Slack, but Arch didn't want to recognize it, so I used the one in AUR. Works great. :)

Posted Image


#7 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 03:05 PM

View PostV.T. Eric Layton, on Mar 25 2011, 02:50 PM, said:

I have a "Square" version that I d-loaded direct from Adobe Labs. It works OK in Slack, but Arch didn't want to recognize it, so I used the one in AUR. Works great. :)
Kewl :thumbsup:The Yaourt package should be the same build you are using in Slackware. The source in the PKGBUILD file shows http://labs.adobe.co...imes/incubator/ as the source.
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#8 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 14,854 posts

Posted 25 March 2011 - 03:37 PM

Yup. It's the same build.Oh, and I did just get the Pacman upgrade error. Going to follow your instructions above to fix right now. :)

Posted Image


#9 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 03:37 PM

Sounds good :)
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#10 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 03:46 PM

Updated tutorial as well for new installs.
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#11 OFFLINE   V.T. Eric Layton

V.T. Eric Layton

    Nocturnal Slacker

  • Forum Admins
  • 14,854 posts

Posted 25 March 2011 - 03:51 PM

All better now...My 6 fastest mirrors:Server = http://hpc.arc.georg...hl...o/os/$archServer = http://mirror.ece.vt.../$repo/os/$archServer = http://mirror.rit.ed.../$repo/os/$archServer = http://www.gtlib.gat...x/...o/os/$archServer = http://mirror.yellow...&#...o/os/$archServer = http://distro.ibibli.../$repo/os/$archI'm updating now... sans Libreoffice. I'm skipping it this time around.

Posted Image


#12 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,854 posts

Posted 25 March 2011 - 03:51 PM

Sweet!!Well we know Georgetown is the fastest for us anyway:

Quote


Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users