LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 02-09-2018, 04:03 PM   #1
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch
Posts: 457

Rep: Reputation: 21
pacman says all up-to-date for 2 months now, firefox declares itself seriously out-of-date


Spent 6 weeks in Mexico, late November - early January, during which period my system update commands
Code:
date &> pacman.log
sudo pacman -Syyu --noconfirm &>> pacman.log
began returning this report
Code:
Fri Feb  9 12:21:23 PST 2018
:: Synchronizing package databases...
downloading core.db...
downloading extra.db...
downloading community.db...
:: Starting full system upgrade...
 there is nothing to do
Meanwhile firefox now persistently opens up with a message at top of window declaring itself to be seriously out of date.

I tried forcing the reinstallation of all my optional software with
Code:
sudo pacman -Syyu list-of-pkg-names
Most of them declared already up-to-date but some did not and installed the latest version, which did shut firefox up for a while but now it has started complaining out-of-date again.

Researching the problem on the web I first tried this solution as it was the most recent
Code:
  sudo pacman -S reflector rsync curl
  sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
  sudo reflector --verbose -l 50 -p http --sort rate --save /etc/pacman.d/mirrorlist
which made no difference to the performance of 'pacman -Syyu'.

Next I used the mirror-list generator athttps://www.archlinux.org/mirrorlist/
which produced the same results as reflector above, that is
Code:
error: failed retrieving file 'community.db' from mirror.epiphyte.network : The requested URL returned error: 404
error: failed retrieving file 'community.db' from ca.us.mirror.archlinux-br.org : The requested URL returned error: 404
error: failed retrieving file 'community.db' from arch.mirror.constant.com : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.hackingand.coffee : The requested URL returned error: 404
error: failed retrieving file 'community.db' from mirror.hackingand.coffee : The requested URL returned error: 404
error: failed to update community (unexpected error)
:: Starting full system upgrade...
 there is nothing to do
In other words, every item in the mirrorlist is rejected for Error 404, and hence there is nothing to do, because it does not find any site to do it with.

While in Mexico, I changed only my time-zone and then restored it to Los_Angeles on my return. Suggestions?
 
Old 02-09-2018, 04:17 PM   #2
ChuangTzu
Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix, FreeBSD
Posts: 820

Rep: Reputation: 598Reputation: 598Reputation: 598Reputation: 598Reputation: 598Reputation: 598
try to refresh your mirror list:
https://www.archlinux.org/mirrorlist/

then attempt to update/upgrade again.

what version of Firefox do you have? It should be v58 something for Arch.?

You can also try to clean your package cache, note this will remove all packages other then currently installed so you will not be able to downgrade a package immediately.
https://wiki.archlinux.org/index.php..._package_cache


Ref:
https://wiki.archlinux.org/index.php/Pacman
 
Old 02-09-2018, 05:17 PM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,457
Blog Entries: 5

Rep: Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054
maybe the databases got corrupted?
i never had that, but i guess you could try renaming them and start from scratch.
though it does sound more like a mirror problem.
have you checked that reflector replaced mirrorlist (does it clobber) with sane data? i.e., manually check 3 top servers or so?
 
Old 02-10-2018, 01:15 PM   #4
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch
Posts: 457

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by ChuangTzu View Post
try to refresh your mirror list:
https://www.archlinux.org/mirrorlist/

then attempt to update/upgrade again.

what version of Firefox do you have? It should be v58 something for Arch.?

You can also try to clean your package cache, note this will remove all packages other then currently installed so you will not be able to downgrade a package immediately.
https://wiki.archlinux.org/index.php..._package_cache


Ref:
https://wiki.archlinux.org/index.php/Pacman
There are 3 methods given by Arch for refreshing mirrorlist, I've used them all. They each produce the same result. I've also used 'pacman -Scc' to clean out the cache. My firefox is v56.0., very old.

What I'm going to do now is uninstall all my optional software and install it again from scratch. If that doesn't work I'll do a complete system install. Thank you for your help.
 
Old 02-10-2018, 01:43 PM   #5
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch
Posts: 457

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by ondoho View Post
maybe the databases got corrupted?
i never had that, but i guess you could try renaming them and start from scratch.
though it does sound more like a mirror problem.
have you checked that reflector replaced mirrorlist (does it clobber) with sane data? i.e., manually check 3 top servers or so?
There are 3 methods of refreshing mirrorlist given by Arch. I've used them all, they all produce sane output, which all produce the same result with pacman.

Something for sure is corrupted, but I renamed '/var/lib/pacman/sync' and created an empty sync directory. pacman simply recreated the 4 .db files in sync and gave me the same result, 'Nothing to do'.

I'm goin to uninstall all my optional apps and freshly install them. If that fails I'll do a complete system reinstall. Thank you for your help.
 
Old 02-10-2018, 03:29 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 8,457
Blog Entries: 5

Rep: Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054Reputation: 2054
you could show us your pacman config files.
you could try renaming them and try to start from scratch.
you could go through all your package directories:
Code:
cd /var && find -name pacman
./abs/core/pacman
./lib/pacman
./cache/pacman
and see if something is fishy.
you could read bbs.archlinux threads or archwiki for help.
 
Old 03-09-2018, 11:56 AM   #7
porphyry5
Member
 
Registered: Jul 2010
Location: oregon usa
Distribution: Slackware 14.1, Arch
Posts: 457

Original Poster
Rep: Reputation: 21
I set pacman to update automatically, --no-confirm option, and to send all its messages to a .log file. Perhaps not such a good idea, as this link explains: https://www.archlinux.org/news/the-end-of-i686-support/ Did fresh installs with amd64 and everything is fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Date comparison with 'string date having slashes and time zone' in Bash only TariqYousaf Programming 2 10-08-2009 07:37 AM
shell script to find modified date and last accessed date of any file. parasdua Linux - Newbie 6 04-22-2008 09:59 AM
Setting system date and time affecting the clock and date on BIOS satimis Ubuntu 7 09-21-2007 08:02 AM
what is the correct syntax order for tar with --after-date DATE, --newer DAT farhan Linux - General 1 03-16-2007 08:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 09:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration