Hiccup During Kernel Switcharoo

Good Day,
I am using terminal to change kernels.
There were a series of error and at least one relates to updating packages FIRST. Way back in the day I had that covered with sudo apt-get update etc. That was a long time ago. FOr all intents and purposes I am a brand new user. My understanding from the literature is that PAMAC updates everything. Not too sure that’s working out though. So here’s the error message I got during the kernal switcharoo:

[obit@Neptune ~]$ sudo mhwd-kernel -i linux515
[sudo] password for obit: 
:: Synchronizing package databases...
 core                  169.2 KiB  2.83 KiB/s 01:00 [######################] 100%
 extra.db failed to download
error: failed retrieving file 'core.db' from manjaro.moson.eu : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'core.db' from quantum-mirror.hu : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'extra.db' from manjaro.moson.eu : OpenSSL SSL_read: Connection reset by peer, errno 104
error: failed retrieving file 'extra.db' from quantum-mirror.hu : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'extra.db' from fastmirror.pp.ua : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'extra.db' from mirror.cyberhost.uk : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'extra.db' from repo.ialab.dsu.edu : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'extra.db' from mirror.alpix.eu : SSL connection timeout
error: failed retrieving file 'extra.db' from manjaro.kyberorg.fi : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to synchronize all databases (download library error)
The following packages are out of date, please update your system first: audit bash bashrc-manjaro btrfs-progs ca-certificates-mozilla cryptsetup device-mapper gnupg icu krb5 libcap libelf libldap libnftnl lvm2 manjaro-release mkinitcpio mkinitcpio-busybox nfs-utils nfsidmap nss pacman-mirrors python rpcbind sqlite sudo systemd systemd-libs systemd-sysvcompat xfsprogs 
Do you want to continue anyway? [y/N]

Try refreshing your mirrors first… :arrow_down:

sudo pacman-mirrors -f 5

Note that this can take a while, because it’ll select the five fastest mirrors.

Then, update your system… :arrow_down:

pamac update

Then install the new kernel… :arrow_down:

sudo mhwd-kernel -i linux515

… and reboot. After that you can remove whatever EOL kernel you were running.

Tip: When pasting terminal output on Discourse forums, one can either…

  • Use the Preformatted text </> toolbar button–NOT the Quote " button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    type or paste code here
    ```

  • Use HTML:

    <pre><code>
    type or paste code here
    </pre></code>

Please edit your post accordingly.

1 Like

why not edit your post to get it right this time? :wink:

I’ve done it for her now. She had used single quotes instead of backticks. :wink:

thanks, Got it now.

1 Like

I assume I’ve had success? There were many errors but that is normal, right?

[obit@Neptune ~]$ sudo pacman-mirrors -f 5
::WARNING https://repo.manjaro.org 'Connection: HTTPSConnectionPool(host='repo.manjaro.org', port=443): Read timed out. (read timeout=2)'
::WARNING https://repo.manjaro.org 'Connection: HTTPSConnectionPool(host='repo.manjaro.org', port=443): Read timed out. (read timeout=2)'
::INFO Downloading mirrors from Manjaro
::INFO => Mirror pool: https://repo.manjaro.org/mirrors.json


::ERROR Connection: HTTPSConnectionPool(host='repo.manjaro.org', port=443): Read timed out. (read timeout=2)
::INFO => Mirror status: http://repo.manjaro.org/status.json
::INFO Using default mirror file
::INFO Querying mirrors - This may take some time
  ..... United_Kingdom : https://mirror.cyberhost.uk/sites/manjaro/

::ERROR Connection: HTTPSConnectionPool(host='mirror.cyberhost.uk', port=443): Read timed out.

  ..... Switzerland    : https://mirror.init7.net/manjaro/

::ERROR Connection: HTTPSConnectionPool(host='mirror.init7.net', port=443): Read timed out.

  ..... Switzerland    : http://mirror.init7.net/manjaro/

::ERROR Connection: HTTPConnectionPool(host='mirror.init7.net', port=80): Read timed out.

  ..... Australia      : https://manjaro.lucassymons.net/
  ..... Netherlands    : https://manjaro.mirrors.lavatech.top/

::ERROR Connection: HTTPSConnectionPool(host='manjaro.mirrors.lavatech.top', port=443): Read timed out.

  ..... Netherlands    : http://manjaro.mirrors.lavatech.top/

::ERROR Connection: HTTPConnectionPool(host='manjaro.mirrors.lavatech.top', port=80): Read timed out. (read timeout=2)

  ..... South_Korea    : https://mirror.d-tl.com/manjaro/

::ERROR Connection: HTTPSConnectionPool(host='mirror.d-tl.com', port=443): Read timed out. (read timeout=4)

::INFO Writing mirror list
::Australia       : https://manjaro.lucassymons.net/stable
::INFO Mirror list generated and saved to: /etc/pacman.d/mirrorlist
[obit@Neptune ~]$

Yes it seems to be updating now which it hasnt before so I just made a great advance. I Thankyou,

Not really ─ you currently have only one working mirror to pull from. But it might work.

If you have that many errors, then you probably have a network problem. :thinking:

1 Like

Yes in fact today my network is horrible, and I was expecting more mirrors based on my readings. thanks for confirming this for me. So I will update mirrors again later too.

1 Like

You may wish to use either this, which will try to use ‘local’ (-geoip) mirrors

sudo pacman-mirrors -g && sudo pacman -Syyu

or -f with no arguments which will query all mirrors globally

sudo pacman-mirrors -f && sudo pacman -Syyu
2 Likes

Good morning, I am assuming you mean sudo pacman-mirrors…? My terminal threw up a Must have Root Privileges ERROR. Silly question, but you put sudo in after the &&. Is this format correct? Do you ever use sudo twice in the same line such as if I were to add it to the beginning of the first command do I leave the existing sudo after the &&?
Thanks

IIRC you need to put sudo before both commands:

sudo pacman-mirrors -g && sudo pacman -Syyu

or

sudo pacman-mirrors -f && sudo pacman -Syyu

I might be wrong, but I don’t think so.

Edit:

And yes, AFAIK you have to have sudo for the command before the && as well as the one after it.

1 Like

yes, as you say before both commands. Thanks

Looks like everything is fixed. Thanks everyone.

1 Like

yes, sorry, fixed :stuck_out_tongue:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.