You are not logged in.

#1 2018-04-02 15:01:37

blackace306
Member
Registered: 2015-09-06
Posts: 23

Warning downgrading packages error 404 [Solved]

Just today when I went to upgrade my system, I got this error for a few packages:


warning: libmariadbclient: downgrading from version 10.1.32-1 to version 10.1.31-1
warning: mariadb: downgrading from version 10.1.32-1 to version 10.1.31-1
warning: mariadb-clients: downgrading from version 10.1.32-1 to version 10.1.31-1
warning: ruby: downgrading from version 2.5.1-1 to version 2.5.0-5
warning: s-nail: downgrading from version 14.9.10-1 to version 14.9.9-1

When I proceed with it, it gives me this, I assume because lower versions are not available at these repositories, I did visit them in my browser just to see:

error: failed retrieving file 'libmariadbclient-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'libmariadbclient-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.advancedhosters.com : The requested URL returned error: 404
error: failed retrieving file 'libmariadbclient-10.1.31-1-x86_64.pkg.tar.xz' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'libmariadbclient-10.1.31-1-x86_64.pkg.tar.xz' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'libmariadbclient-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.acm.wpi.edu : The requested URL returned error: 404
error: failed retrieving file 'libmariadbclient-10.1.31-1-x86_64.pkg.tar.xz' from mirror.metrocast.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'mariadb-clients-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-clients-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.advancedhosters.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-clients-10.1.31-1-x86_64.pkg.tar.xz' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'mariadb-clients-10.1.31-1-x86_64.pkg.tar.xz' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'mariadb-clients-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.acm.wpi.edu : The requested URL returned error: 404
error: failed retrieving file 'mariadb-clients-10.1.31-1-x86_64.pkg.tar.xz' from mirror.metrocast.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'mariadb-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.advancedhosters.com : The requested URL returned error: 404
error: failed retrieving file 'mariadb-10.1.31-1-x86_64.pkg.tar.xz' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'mariadb-10.1.31-1-x86_64.pkg.tar.xz' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'mariadb-10.1.31-1-x86_64.pkg.tar.xz' from mirrors.acm.wpi.edu : The requested URL returned error: 404
error: failed retrieving file 'mariadb-10.1.31-1-x86_64.pkg.tar.xz' from mirror.metrocast.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed retrieving file 'ruby-2.5.0-5-x86_64.pkg.tar.xz' from mirrors.evowise.com : The requested URL returned error: 404
error: failed retrieving file 'ruby-2.5.0-5-x86_64.pkg.tar.xz' from mirrors.advancedhosters.com : The requested URL returned error: 404
error: failed retrieving file 'ruby-2.5.0-5-x86_64.pkg.tar.xz' from mirror.wdc1.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'ruby-2.5.0-5-x86_64.pkg.tar.xz' from mirror.math.princeton.edu : The requested URL returned error: 404
error: failed retrieving file 'ruby-2.5.0-5-x86_64.pkg.tar.xz' from mirrors.acm.wpi.edu : The requested URL returned error: 404
error: failed retrieving file 'ruby-2.5.0-5-x86_64.pkg.tar.xz' from mirror.metrocast.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I have for the moment put these packages in the ignore list in my pacman.conf file, and was able to upgrade the rest of my system. However, it would be nice to get this resolved as it is quite annoying. When I get home I will attempt to rankmirrors again to see if that helps somewhat. Any thoughts or advice would be great though. Thanks a ton.

Last edited by blackace306 (2018-04-02 17:27:01)

Offline

#2 2018-04-02 15:05:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Warning downgrading packages error 404 [Solved]

What command are you running, exactly? Pacman should not be trying to downgrade packages like that.

Online

#3 2018-04-02 15:39:28

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: Warning downgrading packages error 404 [Solved]

As well as the information that Scimmia requested, please edit your post to use code tags around the output.

https://wiki.archlinux.org/index.php/Co … s_and_code


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2018-04-02 16:23:55

blackace306
Member
Registered: 2015-09-06
Posts: 23

Re: Warning downgrading packages error 404 [Solved]

It was a standard sudo pacman -Syyuu.

It is the weirdest thing. Now its upgrading just fine. It seems to be a random thing. As I have seen it do this at times, and then a few hours later its just fine. Do you think it is something to do with the repositories? Has anybody else ever seen this issue? The next time it happens I will post the results. (If it does... fingers crossed).

Offline

#5 2018-04-02 16:27:24

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Warning downgrading packages error 404 [Solved]

-Syyuu is anything but standard. The extra y and extra u shouldn't be used routinely.

Online

#6 2018-04-02 16:29:46

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Warning downgrading packages error 404 [Solved]

-u, --sysupgrade
           Upgrades all packages that are out-of-date. Each
           currently-installed package will be examined and upgraded if a
           newer package exists. A report of all packages to upgrade will be
           presented, and the operation will not proceed without user
           confirmation. Dependencies are automatically resolved at this level
           and will be installed/upgraded if necessary.

           Pass this option twice to enable package downgrades; in this case,
           pacman will select sync packages whose versions do not match with
           the local versions. This can be useful when the user switches from
           a testing repository to a stable one.

-y, --refresh
           Download a fresh copy of the master package database from the
           server(s) defined in pacman.conf(5). This should typically be used
           each time you use --sysupgrade or -u. Passing two --refresh or -y
           flags will force a refresh of all package databases, even if they
           appear to be up-to-date.

What is your source that pacman -Syyuu is the standard command to use?

Offline

#7 2018-04-02 16:31:06

blackace306
Member
Registered: 2015-09-06
Posts: 23

Re: Warning downgrading packages error 404 [Solved]

Oh. Well I apologize about the snippets, if it happens again, I will use them. I was unaware of that.

Offline

#8 2018-04-02 16:33:21

blackace306
Member
Registered: 2015-09-06
Posts: 23

Re: Warning downgrading packages error 404 [Solved]

Scimmia wrote:

-Syyuu is anything but standard. The extra y and extra u shouldn't be used routinely.

I will keep that in mind from now on. I am still learning this stuff. Been distro hopping before settling here on Arch. Please bare with me as I learn the details.

Offline

#9 2018-04-02 16:38:07

blackace306
Member
Registered: 2015-09-06
Posts: 23

Re: Warning downgrading packages error 404 [Solved]

loqs wrote:

-u, --sysupgrade
           Upgrades all packages that are out-of-date. Each
           currently-installed package will be examined and upgraded if a
           newer package exists. A report of all packages to upgrade will be
           presented, and the operation will not proceed without user
           confirmation. Dependencies are automatically resolved at this level
           and will be installed/upgraded if necessary.

           Pass this option twice to enable package downgrades; in this case,
           pacman will select sync packages whose versions do not match with
           the local versions. This can be useful when the user switches from
           a testing repository to a stable one.

-y, --refresh
           Download a fresh copy of the master package database from the
           server(s) defined in pacman.conf(5). This should typically be used
           each time you use --sysupgrade or -u. Passing two --refresh or -y
           flags will force a refresh of all package databases, even if they
           appear to be up-to-date.

What is your source that pacman -Syyuu is the standard command to use?

I thought the extra y and u was supposed to make it more effective. At least thats what I read. Can't remember where. But thats what I have been using (until now that I know differently) to make sure it gets the job done. As I said before, I am learning.

Last edited by blackace306 (2018-04-02 16:41:45)

Offline

#10 2018-04-02 16:54:02

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Warning downgrading packages error 404 [Solved]

For the record, I'm guessing that there was a glitch on your mirror where they had an old database temporarily. This wouldn't have been an issue without the second "y".

Online

#11 2018-04-02 16:59:47

blackace306
Member
Registered: 2015-09-06
Posts: 23

Re: Warning downgrading packages error 404 [Solved]

Scimmia wrote:

For the record, I'm guessing that there was a glitch on your mirror where they had an old database temporarily. This wouldn't have been an issue without the second "y".

Thanks. Ill keep that in mind. I honestly don't know where I read or why I thought that was the way it was supposed to be done. I am at least glad to see an idea as to what it was that might have happened. Does any one know how to close out the topic or delete it? If it happens again I'll use the snippet thing since now I know how to use it. Thanks for all the input and help. I really hope to stick to Arch, as so far it has been the best Linux experience I have had so far.

Offline

#12 2018-04-02 17:13:08

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Warning downgrading packages error 404 [Solved]

The double -yy and double -uu is advice often given by people who do not know what they are doing or why they are doing it, but still think they are qualified to write guides -- this causes new users like yourself to internalize these "tips" and confuse them for truth, which is pretty unfortunate since if people followed the official wiki guidance more they'd get less confused. It's hardly your fault for stumbling across bad advice while trying to learn, but... well, now you know. smile

(Typically the double -yy is only used when downgrading via the Arch Linux Archive, or for force-overwriting corrupted databases.)

As for marking your thread as solved, simply edit the first post, and add the word [Solved] to the thread title.

Last edited by eschwartz (2018-04-02 17:15:36)


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB