Manjaro Linux Forum

Technical Issues and Assistance => Package Management => Manjaro Mirrors => Topic started by: cgrif on 14. October 2013, 23:36:34

Title: Another upgrade problem
Post by: cgrif on 14. October 2013, 23:36:34
HI All,

I'm trying to reinstall XFCE (just for fun!) and have the following errors while trying to do so:

Code: [Select]
[chris@manjaro ~]$ sudo pacman -S xfce4
:: There are 18 members in group xfce4:
:: Repository extra
   1) exo  2) garcon  3) gtk2-xfce-engine  4) gtk3-xfce-engine  5) thunar  6) thunar-volman  7) tumbler  8) xfce4-appfinder  9) xfce4-mixer  10) xfce4-panel  11) xfce4-power-manager
   12) xfce4-session  13) xfce4-settings  14) xfce4-terminal  15) xfconf  16) xfdesktop  17) xfwm4  18) xfwm4-themes

Enter a selection (default=all):
resolving dependencies...
looking for inter-conflicts...

Packages (26): libwnck-2.30.7-1  libxfce4ui-4.10.0-1  libxfce4util-4.10.1-2  lsof-4.87-2  sg3_utils-1.36-1  udisks-1.0.4-8  vte-0.28.2-3  vte-common-0.34.7-1  exo-0.10.2-1
               garcon-0.2.1-1  gtk2-xfce-engine-3.0.1-1  gtk3-xfce-engine-3.0.1-1  thunar-1.6.3-1  thunar-volman-0.8.0-1  tumbler-0.1.29-1  xfce4-appfinder-4.10.1-1
               xfce4-mixer-4.10.0-2  xfce4-panel-4.10.1-1  xfce4-power-manager-1.2.0-4  xfce4-session-4.10.1-2  xfce4-settings-4.10.1-1  xfce4-terminal-0.6.2-1  xfconf-4.10.0-3
               xfdesktop-4.10.2-1  xfwm4-4.10.1-1  xfwm4-themes-4.10.0-1

Total Download Size:    1.99 MiB
Total Installed Size:   55.23 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirror.solarvps.com : The requested URL returned error: 403 Forbidden
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirror.jmu.edu : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirror.edatel.net.co : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from ftp.halifax.rwth-aachen.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from www.tuxlinuxnews.com : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from ftp.tu-chemnitz.de : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from free.nchc.org.tw : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirrors.serverhost.ro : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirrors.xservers.ro : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from free.twaren.net : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirrors.dotsrc.org : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from mirror3.layerjet.com : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from ftp.riken.jp : The requested URL returned error: 404 Not Found
error: failed retrieving file 'xfce4-power-manager-1.2.0-4-x86_64.pkg.tar.xz' from manjaro.mirrors.linux.ro : The requested URL returned error: 404 Not Found

Is this another error similar to what I saw the other day?   Updating my mirrors with "pacman -Syy" doesn't help

Many thanks,
Chris
Title: Re: Another upgrade problem
Post by: cgrif on 14. October 2013, 23:40:14
Another thing I'm seeing, that might be related, is this:
Code: [Select]
[chris@manjaro ~]$ sudo pacman -Syu
:: Synchronizing 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: acpid: local (2.0.20-1) is newer than community (2.0.19-1)
warning: archlinux-keyring: local (20130926-1) is newer than core (20130818-1)
warning: arj: local (3.10.22-8) is newer than extra (3.10.22-7)
warning: b43-fwcutter: local (018-1) is newer than core (017-1)
warning: bash: local (4.2.045-5) is newer than core (4.2.045-4)
warning: bluez-libs: local (5.9-1) is newer than extra (5.7-1)
warning: bluez-utils: local (5.9-1) is newer than extra (5.7-1)
warning: btrfs-progs: local (0.20rc1.3-1) is newer than core (0.20rc1.2-1)
warning: ca-certificates: local (20130906-1) is newer than core (20130610-1)
warning: cantarell-fonts: local (0.0.15-1) is newer than extra (0.0.14-1)
warning: cdparanoia: local (10.2-5) is newer than extra (10.2-4)
warning: chromaprint: local (1.0-1) is newer than extra (0.7-6)
warning: chromium: local (30.0.1599.66-1) is newer than extra (29.0.1547.57-1)
warning: cpupower: local (3.11-1) is newer than community (3.10-2)
warning: cryptsetup: local (1.6.2-2) is newer than core (1.6.2-1)
warning: cups-filters: local (1.0.38-1) is newer than extra (1.0.36-1)
...

It looks almost like my system got updated to unstable or testing then went back to stable, but I never did anything to change the mirrors.

Thx

Chris
Title: Re: Another upgrade problem
Post by: Esclapion on 14. October 2013, 23:42:55
Have you done a pacman-mirrors -g ?
Title: Re: Another upgrade problem
Post by: rabideau on 15. October 2013, 00:13:15
Depending upon what you did or did not do here are some commands you might try in order to clean things up:

use different repos:
sudo pacman-mirrors -g -b testing
sudo pacman-mirrors -g -b stable
sudo pacman-mirrors -g -b unstable

Downgrade:
sudo pacman -Syy
sudo pacman -Suu

Update and install the list of package.
pacman -Suy

Perform a full upgrade, is necessary if some libraries are missing to recompile systemt properly.
pacman -Syyu
Title: Re: Another upgrade problem
Post by: archiebunker on 14. November 2013, 03:23:23
Ive installed manjaro 0.8.7.1 from the main stable branch, but zero luck upgrading, or even syncing anything?

 I tried ALL the above and more, and still I get the same "error:", and "warning:" as the OP too ?

Code: [Select]
sudo pacman -Syyu
:: Synchronizing package databases...
 core                                                         114.0 KiB   530K/s 00:00 [##################################################] 100%
 extra                                                       1513.7 KiB   249K/s 00:06 [##################################################] 100%
 community                                                   2023.5 KiB   204K/s 00:10 [##################################################] 100%
:: Starting full system upgrade...
warning: a52dec: local (0.7.4-8) is newer than extra (0.7.4-7)
warning: aalib: local (1.4rc5-10) is newer than extra (1.4rc5-9)
warning: acl: local (2.2.52-2) is newer than core (2.2.52-1)
...
 there is nothing to do

[root@a8v /]# pacman-key --init
[root@a8v /]# pacman-key --populate archlinux

==> Appending keys from archlinux.gpg...
==> Locally signing trusted keys in keyring...
  -> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...
  -> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...
  -> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...
  -> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...
  -> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...
==> Importing owner trust values...
==> Disabling revoked keys in keyring...
  -> Disabling key 7FA647CD89891DEDC060287BB9113D1ED21E1A55...
  -> Disabling key BC1FBE4D2826A0B51E47ED62E2539214C6C11350...
  -> Disabling key 4A8B17E20B88ACA61860009B5CED81B7C2E5C0D2...
  -> Disabling key 63F395DE2D6398BBE458F281F2DBB4931985A992...
  -> Disabling key 0B20CA1931F5DA3A70D0F8D2EA6836E1AB441196...
  -> Disabling key 8F76BEEA0289F9E1D3E229C05F946DED983D4366...
  -> Disabling key 66BD74A036D522F51DD70A3C7F2A16726521E06D...
  -> Disabling key 81D7F8241DB38BC759C80FCE3A726C6170E80477...
  -> Disabling key E7210A59715F6940CF9A4E36A001876699AD6E84...
==> Updating trust database...
gpg: next trustdb check due at 2014-01-22


or, if I try to install any package i get
"error: failed retrieving file 'linux311-ndiswrapper-1.58-0.2-i686.pkg.tar.xz' from free.nchc.org.tw : The requested URL returned error: 404 Not Found
error: failed retrieving file 'linux311-ndiswrapper-1.58-0.2-i686.pkg.tar.xz' from ftp.tu-chemnitz.de : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files
error: failed to commit transaction (download library error)
....
I also checked here:
http://wiki.manjaro.org/index.php?title=Manjaro_Mirrors
http://wiki.manjaro.org/index.php/Pacman_troubleshooting

This seems to be happening quite often lately.
Title: Re: Another upgrade problem
Post by: Ayceman on 14. November 2013, 21:47:55
Bad mirrors?

sudo pacman-mirrors -g

Or if the fastest is buggy, try setting the one you want manually in /etc/pacman.d/mirrorlist

Happened to me once with a mirror that went haywire.
Title: Re: Another upgrade problem
Post by: ryanmusante on 08. December 2013, 04:51:17
I was having this same problem. I fixed it by doing this:

cd /etc/pacman.d
sudo rm mirrorlist
sudo cp mirrorlist.backup mirrorlist

sudo pacman -Syyu

Than, you should see it grab the latest manjaro-system 120306-1 and than go forward.

Apparently the mirrorlist wasn't being updated by the pacman-mirrors command
Title: Re: Another upgrade problem
Post by: Rob on 08. December 2013, 05:30:32
People should just manage their mirrors themselves.

My opinion is that the pacman-mirrors script is there for complete newbies with no clue what's actually happening on their system or with any understanding of the concepts of network bandwidth, latency or package mirrors. One of the very earliest "technical Linux" things they should learn if they've come to Manjaro is managing their mirror selection themselves.

The way that pacman-mirrors script works is actually, from a technical viewpoint, not real good. Running it more than once ever has risks.
It makes a great many mirrors available, many of which will be out-of-sync with each other, and has the potential to change the default mirror every single time it's ran, since it uses latency to decide the mirror order, which is not static and can be temporarily affected by any number of things along the route that're outside it's control.

If you have the skill to open a text editor as root then you have enough skill to manage your own mirrors. Just start trying singular mirrors until you find one or a couple that work well for you, and then use only them.

My /etc/pacman.d/mirrorlist has a grand total of one line in it. One mirror that I selected after research that I know is fast for me and gets updated quickly.

So far since the day I selected that mirror i've never had a problem. The mirror I researched and selected to use is seemingly always up, delivers me data at well over a Megabyte per second, and because I always use the same mirror I can be confident that I'll never experience issues like pacman telling me that local packages are newer than the mirror or that some files that're in the current pacman repo databases don't exist on the mirror, etc.
Title: Re: Another upgrade problem
Post by: ringo on 08. December 2013, 09:27:15
for further info look in; repo.manjaro.org for te mirrors that is updated.
edit  -> /etc/pacman.d/mirrorlist

just look on the mirrors on top compare it wit repo.manjaro.org
just place # before te first mirror or first two then is mostly ok.

generating doesnt tell to be up to date..

and if you give bit of time you can do this http://forum.manjaro.org/index.php?topic=5287.0

:)