Upgrade to 21.1 stalls checking package repositories

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
sheepdog
Level 1
Level 1
Posts: 36
Joined: Wed Mar 28, 2018 11:54 pm

Upgrade to 21.1 stalls checking package repositories

Post by sheepdog »

During the upgrade, in the process of checking and fixing the package repositories, the Software Sources window is displayed. At that point the upgrade hangs. See the attached screenshot.
Screenshot from 2023-03-23 14-36-33.jpg
inxi:

Code: Select all

System:    Kernel: 5.15.0-67-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0 
           Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:   Type: Laptop System: HP product: HP Laptop 14-dq2xxx v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: HP model: 87FD v: 57.20 serial: <filter> UEFI: AMI v: F.21 date: 03/21/2022 
Battery:   ID-1: BAT0 charge: 40.5 Wh condition: 40.5/41.0 Wh (99%) volts: 12.9/11.4 model: HP Primary type: Li-ion 
           serial: <filter> status: Full cycles: 19 
CPU:       Topology: Quad Core model: 11th Gen Intel Core i3-1125G4 bits: 64 type: MT MCP arch: Tiger Lake rev: 1 
           L2 cache: 8192 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31948 
           Speed: 989 MHz min/max: 400/3700 MHz Core speeds (MHz): 1: 1001 2: 940 3: 1065 4: 1051 5: 947 6: 753 7: 817 8: 912 
Graphics:  Device-1: Intel vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 0000:00:02.0 chip ID: 8086:9a78 
           Display: x11 server: X.Org 1.20.13 driver: modesetting unloaded: fbdev,vesa resolution: 1920x1080~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics (TGL GT2) v: 4.6 Mesa 21.2.6 direct render: Yes 
Audio:     Device-1: Intel vendor: Hewlett-Packard driver: sof-audio-pci-intel-tgl bus ID: 0000:00:1f.3 chip ID: 8086:a0c8 
           Sound Server: ALSA v: k5.15.0-67-generic 
Network:   Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Hewlett-Packard driver: rtw_8822ce 
           v: N/A port: 3000 bus ID: 0000:01:00.0 chip ID: 10ec:c822 
           IF: wlo1 state: up mac: <filter> 
Drives:    Local Storage: total: 238.47 GiB used: 75.69 GiB (31.7%) 
           ID-1: /dev/nvme0n1 vendor: SK Hynix model: BC711 HFM256GD3JX013N size: 238.47 GiB speed: 31.6 Gb/s lanes: 4 
           serial: <filter> rev: HPS1 scheme: GPT 
RAID:      Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd v: 0.6 port: 4000 bus ID: 0000:00:0e.0 
           chip ID: 8086.9a0b rev: N/A 
Partition: ID-1: / size: 231.49 GiB used: 75.41 GiB (32.6%) fs: ext4 dev: /dev/dm-1 
           ID-2: /boot size: 703.1 MiB used: 287.1 MiB (40.8%) fs: ext4 dev: /dev/nvme0n1p2 
           ID-3: swap-1 size: 976.0 MiB used: 0 KiB (0.0%) fs: swap dev: /dev/dm-2 
Sensors:   System Temperatures: cpu: 53.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Repos:     No active apt repos in: /etc/apt/sources.list 
           Active apt repos in: /etc/apt/sources.list.d/1password.list 
           1: deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main
           Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list 
           1: deb [arch=i386,amd64] https://deb.opera.com/opera-stable/ stable non-free
           Active apt repos in: /etc/apt/sources.list.d/chrome-remote-desktop.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome-remote-desktop/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/fingerprint-fingerprint-gui-focal.list 
           1: deb http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal main
           Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
           1: deb https://mirrors.sonic.net/mint/packages una main upstream import backport
           2: deb http://ftp.ussg.iu.edu/linux/ubuntu focal main restricted universe multiverse
           3: deb http://ftp.ussg.iu.edu/linux/ubuntu focal-updates main restricted universe multiverse
           4: deb http://ftp.ussg.iu.edu/linux/ubuntu focal-backports main restricted universe multiverse
           5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
           6: deb http://archive.canonical.com/ubuntu/ focal partner
           No active apt repos in: /etc/apt/sources.list.d/surfshark.list 
           Active apt repos in: /etc/apt/sources.list.d/vivaldi-snapshot.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/snapshot/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/vivaldi.list 
           1: deb [arch=amd64] https://repo.vivaldi.com/stable/deb/ stable main
Info:      Processes: 307 Uptime: 24m Memory: 7.42 GiB used: 2.08 GiB (28.0%) Init: systemd v: 245 runlevel: 5 Compilers: 
           gcc: 9.4.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 
Last edited by LockBot on Sat Sep 23, 2023 10:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgrade to 21.1 stalls checking package repositories

Post by SMG »

sheepdog wrote: Thu Mar 23, 2023 5:53 pm During the upgrade, in the process of checking and fixing the package repositories, the Software Sources window is displayed. At that point the upgrade hangs. See the attached screenshot.
You put in your title you were upgrading to LM21.1, but you can not do that directly from LM20.3.

It appears there is a problem it is not able to fix. It's not hanging there; it appears to be repeatedly trying.

Did you make sure you had run all updates for LM20.3 before attempting to upgrade to LM21? I think the last update to the repository was for Firefox 111.0 last week. (There were also base-files updates last week.)
Image
A woman typing on a laptop with LM20.3 Cinnamon.
sheepdog
Level 1
Level 1
Posts: 36
Joined: Wed Mar 28, 2018 11:54 pm

Re: Upgrade to 21.1 stalls checking package repositories

Post by sheepdog »

Thank you for the reply. Yes, all updates have been done, and re-done just now. Tried to upgrade again with the same result.
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgrade to 21.1 stalls checking package repositories

Post by SMG »

I just went to the code and that error message would come in the section # Check up-to-date-ness on Mint mirror. I'm not well versed in that code and can not tell if it is just looping through every package and that is why you are getting the repeat messages or there is another issue.

I suggest letting it run for a while and see if it finishes that step. Or you can try a different repository although that message does not look like an error to me so it might do that on another repository as well.

Maybe someone who has run the upgrade will remember what happened at this step.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
sheepdog
Level 1
Level 1
Posts: 36
Joined: Wed Mar 28, 2018 11:54 pm

Re: Upgrade to 21.1 stalls checking package repositories

Post by sheepdog »

When attempting to select a mirror for Base repositories in the Update Manager, all those that give any indication indicate "Unreachable". I suspect this relates to the problem of the upgrade. Did a reset of the repositories in the Update Manager and then a fresh update and upgrade. No change. Still all Base repositories are unreachable. Running mtr shows the following. Any suggestions?
Screenshot from 2023-03-24 03-02-33.png
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgrade to 21.1 stalls checking package repositories

Post by SMG »

sheepdog wrote: Fri Mar 24, 2023 12:12 am When attempting to select a mirror for Base repositories in the Update Manager, all those that give any indication indicate "Unreachable". I suspect this relates to the problem of the upgrade.
I would think it does. I just checked on my Una and I'm not getting anything for Base (focal). For Main (una), I'm getting Linux Mint as Unreachable and the current mirror have has set is 0kb/s. :?

I will see what I can find out and get back to you.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
sheepdog
Level 1
Level 1
Posts: 36
Joined: Wed Mar 28, 2018 11:54 pm

Re: Upgrade to 21.1 stalls checking package repositories

Post by sheepdog »

In desperation, I did a new install of LM 21.1. That has fixed my problem with the Update Manager. It is now working well. But, of course, this has resulted in a new set of problems, which I will raise in a separate post. Thanks.
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgrade to 21.1 stalls checking package repositories

Post by SMG »

sheepdog wrote: Fri Mar 24, 2023 4:27 pm In desperation, I did a new install of LM 21.1.
You desperately needed LM21.1? :shock:
LM20.3 is supported for another two years.
sheepdog wrote: Fri Mar 24, 2023 4:27 pm That has fixed my problem with the Update Manager.
You didn't mention any problem in this topic with Update Manager, so I don't know what this means.

My Mint repos are now reachable. It was probably a temporary issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
sheepdog
Level 1
Level 1
Posts: 36
Joined: Wed Mar 28, 2018 11:54 pm

Re: Upgrade to 21.1 stalls checking package repositories

Post by sheepdog »

When I said, problems with the Update Manager, I was referring to the fact that the repositories were unreachable. In addition to the Update Manager problem, I was all of a sudden unable to get automatic mounting of any USB drive, and I needed to restore my computer to functioning. Should I have simply freshly installed LM 20? In retrospect, maybe so. In fact, considering all the problems I have encountered with LM 21.1, that sounds like the thing to do now.
User avatar
SMG
Level 25
Level 25
Posts: 31333
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Upgrade to 21.1 stalls checking package repositories

Post by SMG »

sheepdog wrote: Fri Mar 24, 2023 5:00 pm When I said, problems with the Update Manager, I was referring to the fact that the repositories were unreachable.
That's not a problem with Update Manager.
sheepdog wrote: Fri Mar 24, 2023 5:00 pm In addition to the Update Manager problem, I was all of a sudden unable to get automatic mounting of any USB drive, and I needed to restore my computer to functioning. Should I have simply freshly installed LM 20?
Did you try just completely shutting down and restarting your computer? That's one way to fix auto-mounting issues.

Nothing you mentioned is a problem of any significance which would require re-installation. Additionally, you were supposed to take a Timeshift snapshot of your working system before attempting an upgrade. There would be no reason for a fresh install.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Software & Applications”