ubuntu 20.04 is extremely slow to upgrade, install or uninstall any software and launch any of it

Bug #1897478 reported by Solaris
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
Expired
Low
Unassigned

Bug Description

After upgrade from 18.04 to 20.04, any upgrade, installing or uninstalling of any softwares take a long time to be done sometimes 2-3 hours.
 and no one of tools monitors show where is bottleneck.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
ProcVersionSignature: Ubuntu 5.4.0-48.52-lowlatency 5.4.60
Uname: Linux 5.4.0-48-lowlatency x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: MATE
Date: Sun Sep 27 16:11:22 2020
DisplayManager: lightdm
InstallationDate: Installed on 2018-05-05 (875 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2
ShellJournal:
 -- Logs begin at Thu 2020-09-24 18:12:38 EDT, end at Sun 2020-09-27 16:18:05 EDT. --
 -- No entries --
SourcePackage: gnome-shell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Solaris (kamshadman) wrote :
summary: - ubuntu 20.04 is extremely slow to install and uninstall any software and
- launch it
+ ubuntu 20.04 is extremely slow to upgrade, install or uninstall any
+ software and launch any of it
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. How do you install/upgrade/uninstall software? Is that using snap store, update-manager, apt on the command line? Which steps are having the delays?

Changed in gnome-shell (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Solaris (kamshadman) wrote : Re: [Bug 1897478] Re: ubuntu 20.04 is extremely slow to upgrade, install or uninstall any software and launch any of it

All of them but not snap (gnome-software ) has the same issue:
1- Some time from Terminal shell command apt,
2- or just click on update manager
3- or Synaptic
4- gnome-software does not have delay time of others, but doesn't have
complete inventory of software (list) either.,

On Mon, Sep 28, 2020, 6:20 AM Sebastien Bacher <email address hidden>
wrote:

> Thank you for your bug report. How do you install/upgrade/uninstall
> software? Is that using snap store, update-manager, apt on the command
> line? Which steps are having the delays?
>
> ** Changed in: gnome-shell (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: gnome-shell (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1897478
>
> Title:
> ubuntu 20.04 is extremely slow to upgrade, install or uninstall any
> software and launch any of it
>
> Status in gnome-shell package in Ubuntu:
> Incomplete
>
> Bug description:
> After upgrade from 18.04 to 20.04, any upgrade, installing or
> uninstalling of any softwares take a long time to be done sometimes 2-3
> hours.
> and no one of tools monitors show where is bottleneck.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
> ProcVersionSignature: Ubuntu 5.4.0-48.52-lowlatency 5.4.60
> Uname: Linux 5.4.0-48-lowlatency x86_64
> NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
> nvidia_modeset nvidia
> ApportVersion: 2.20.11-0ubuntu27.9
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: MATE
> Date: Sun Sep 27 16:11:22 2020
> DisplayManager: lightdm
> InstallationDate: Installed on 2018-05-05 (875 days ago)
> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64
> (20180426)
> RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2
> ShellJournal:
> -- Logs begin at Thu 2020-09-24 18:12:38 EDT, end at Sun 2020-09-27
> 16:18:05 EDT. --
> -- No entries --
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1897478/+subscriptions
>

Revision history for this message
Sebastien Bacher (seb128) wrote :

reassigning to apt if that's an issue with deb software, could you perhaps do a short video showing the issue? could you explain what is being slow exactly, is it the download? did you try using another mirror or check your internet connection?

affects: gnome-shell (Ubuntu) → apt (Ubuntu)
Revision history for this message
Solaris (kamshadman) wrote :

This is an example of installing an app through Gnome-software.
Installation is OK but ..launching app never come get through
(Please see attached clip)...

On Mon, Sep 28, 2020 at 10:35 AM Sebastien Bacher <
<email address hidden>> wrote:

> reassigning to apt if that's an issue with deb software, could you
> perhaps do a short video showing the issue? could you explain what is
> being slow exactly, is it the download? did you try using another mirror
> or check your internet connection?
>
> ** Package changed: gnome-shell (Ubuntu) => apt (Ubuntu)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1897478
>
> Title:
> ubuntu 20.04 is extremely slow to upgrade, install or uninstall any
> software and launch any of it
>
> Status in apt package in Ubuntu:
> Incomplete
>
> Bug description:
> After upgrade from 18.04 to 20.04, any upgrade, installing or
> uninstalling of any softwares take a long time to be done sometimes 2-3
> hours.
> and no one of tools monitors show where is bottleneck.
>
> ProblemType: Bug
> DistroRelease: Ubuntu 20.04
> Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
> ProcVersionSignature: Ubuntu 5.4.0-48.52-lowlatency 5.4.60
> Uname: Linux 5.4.0-48-lowlatency x86_64
> NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
> nvidia_modeset nvidia
> ApportVersion: 2.20.11-0ubuntu27.9
> Architecture: amd64
> CasperMD5CheckResult: skip
> CurrentDesktop: MATE
> Date: Sun Sep 27 16:11:22 2020
> DisplayManager: lightdm
> InstallationDate: Installed on 2018-05-05 (875 days ago)
> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64
> (20180426)
> RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2
> ShellJournal:
> -- Logs begin at Thu 2020-09-24 18:12:38 EDT, end at Sun 2020-09-27
> 16:18:05 EDT. --
> -- No entries --
> SourcePackage: gnome-shell
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1897478/+subscriptions
>

Revision history for this message
Solaris (kamshadman) wrote :

$ apt install openshot: 7 minutes, 35 seconds

On Mon, Sep 28, 2020 at 7:02 PM K. M. Ravandi <email address hidden> wrote:

> This is another example of apt install packages.
> I installed calligrawords (sudo apt install calligrawords).
> You can see how slow the app is going to be installed; and when I run it
> it doesn't come up completely and freezed, so I killed it.
> (Please see attached clip)
>
> On Mon, Sep 28, 2020 at 6:37 PM K. M. Ravandi <email address hidden>
> wrote:
>
>> This is another example of apt install packages.
>> I installed calligrawords (sudo apt install calligrawords).
>> You can see how slow the app is going to be installed; and when i run it
>> it doesn't come up completely and freezed, so I killed it.
>> (Please see attached clip)
>>
>> On Mon, Sep 28, 2020 at 5:58 PM K. M. Ravandi <email address hidden>
>> wrote:
>>
>>> This is an example of installing an app through Gnome-software.
>>> Installation is OK but ..launching app never come get through
>>> (Please see attached clip)...
>>>
>>> On Mon, Sep 28, 2020 at 10:35 AM Sebastien Bacher <
>>> <email address hidden>> wrote:
>>>
>>>> reassigning to apt if that's an issue with deb software, could you
>>>> perhaps do a short video showing the issue? could you explain what is
>>>> being slow exactly, is it the download? did you try using another mirror
>>>> or check your internet connection?
>>>>
>>>> ** Package changed: gnome-shell (Ubuntu) => apt (Ubuntu)
>>>>
>>>> --
>>>> You received this bug notification because you are subscribed to the bug
>>>> report.
>>>> https://bugs.launchpad.net/bugs/1897478
>>>>
>>>> Title:
>>>> ubuntu 20.04 is extremely slow to upgrade, install or uninstall any
>>>> software and launch any of it
>>>>
>>>> Status in apt package in Ubuntu:
>>>> Incomplete
>>>>
>>>> Bug description:
>>>> After upgrade from 18.04 to 20.04, any upgrade, installing or
>>>> uninstalling of any softwares take a long time to be done sometimes 2-3
>>>> hours.
>>>> and no one of tools monitors show where is bottleneck.
>>>>
>>>> ProblemType: Bug
>>>> DistroRelease: Ubuntu 20.04
>>>> Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
>>>> ProcVersionSignature: Ubuntu 5.4.0-48.52-lowlatency 5.4.60
>>>> Uname: Linux 5.4.0-48-lowlatency x86_64
>>>> NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
>>>> nvidia_modeset nvidia
>>>> ApportVersion: 2.20.11-0ubuntu27.9
>>>> Architecture: amd64
>>>> CasperMD5CheckResult: skip
>>>> CurrentDesktop: MATE
>>>> Date: Sun Sep 27 16:11:22 2020
>>>> DisplayManager: lightdm
>>>> InstallationDate: Installed on 2018-05-05 (875 days ago)
>>>> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64
>>>> (20180426)
>>>> RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2
>>>> ShellJournal:
>>>> -- Logs begin at Thu 2020-09-24 18:12:38 EDT, end at Sun 2020-09-27
>>>> 16:18:05 EDT. --
>>>> -- No entries --
>>>> SourcePackage: gnome-shell
>>>> UpgradeStatus: No upgrade log present (probably fresh install)
>>>>
>>>> To manage notifications about this bug go to:
>>>>
>>>> https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1897478/+subscriptions
>>>>
>>>

Revision history for this message
Solaris (kamshadman) wrote :
Download full text (3.4 KiB)

sudo apt upgrade....for small upgrade 4 minutes 57 seconds.

when a kernel upgrade is needed the system process continues per hour....

On Mon, Sep 28, 2020 at 7:54 PM K. M. Ravandi <email address hidden> wrote:

> $ apt install openshot: 7 minutes, 35 seconds
>
> On Mon, Sep 28, 2020 at 7:02 PM K. M. Ravandi <email address hidden>
> wrote:
>
>> This is another example of apt install packages.
>> I installed calligrawords (sudo apt install calligrawords).
>> You can see how slow the app is going to be installed; and when I run it
>> it doesn't come up completely and freezed, so I killed it.
>> (Please see attached clip)
>>
>> On Mon, Sep 28, 2020 at 6:37 PM K. M. Ravandi <email address hidden>
>> wrote:
>>
>>> This is another example of apt install packages.
>>> I installed calligrawords (sudo apt install calligrawords).
>>> You can see how slow the app is going to be installed; and when i run it
>>> it doesn't come up completely and freezed, so I killed it.
>>> (Please see attached clip)
>>>
>>> On Mon, Sep 28, 2020 at 5:58 PM K. M. Ravandi <email address hidden>
>>> wrote:
>>>
>>>> This is an example of installing an app through Gnome-software.
>>>> Installation is OK but ..launching app never come get through
>>>> (Please see attached clip)...
>>>>
>>>> On Mon, Sep 28, 2020 at 10:35 AM Sebastien Bacher <
>>>> <email address hidden>> wrote:
>>>>
>>>>> reassigning to apt if that's an issue with deb software, could you
>>>>> perhaps do a short video showing the issue? could you explain what is
>>>>> being slow exactly, is it the download? did you try using another
>>>>> mirror
>>>>> or check your internet connection?
>>>>>
>>>>> ** Package changed: gnome-shell (Ubuntu) => apt (Ubuntu)
>>>>>
>>>>> --
>>>>> You received this bug notification because you are subscribed to the
>>>>> bug
>>>>> report.
>>>>> https://bugs.launchpad.net/bugs/1897478
>>>>>
>>>>> Title:
>>>>> ubuntu 20.04 is extremely slow to upgrade, install or uninstall any
>>>>> software and launch any of it
>>>>>
>>>>> Status in apt package in Ubuntu:
>>>>> Incomplete
>>>>>
>>>>> Bug description:
>>>>> After upgrade from 18.04 to 20.04, any upgrade, installing or
>>>>> uninstalling of any softwares take a long time to be done sometimes 2-3
>>>>> hours.
>>>>> and no one of tools monitors show where is bottleneck.
>>>>>
>>>>> ProblemType: Bug
>>>>> DistroRelease: Ubuntu 20.04
>>>>> Package: gnome-shell 3.36.4-1ubuntu1~20.04.2
>>>>> ProcVersionSignature: Ubuntu 5.4.0-48.52-lowlatency 5.4.60
>>>>> Uname: Linux 5.4.0-48-lowlatency x86_64
>>>>> NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
>>>>> nvidia_modeset nvidia
>>>>> ApportVersion: 2.20.11-0ubuntu27.9
>>>>> Architecture: amd64
>>>>> CasperMD5CheckResult: skip
>>>>> CurrentDesktop: MATE
>>>>> Date: Sun Sep 27 16:11:22 2020
>>>>> DisplayManager: lightdm
>>>>> InstallationDate: Installed on 2018-05-05 (875 days ago)
>>>>> InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64
>>>>> (20180426)
>>>>> RelatedPackageVersions: mutter-common 3.36.4-0ubuntu0.20.04.2
>>>>> ShellJournal:
>>>>> -- Logs begin at Thu 2020-09-24 18:12:38 EDT, end at Sun 2020-09-27
>>>>>...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

1. Can you benchmark your disk(s) with the 'Disks' app and/or 'hdparm -t' and tell us what their speed is?

2. Please run this command to watch and check nothing is flooding the system log while it is slow:

   journalctl -f

3. Please try uninstalling/disabling all of your extensions:

"['<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'ryanwhang@126.com', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'temperature@xtranophilist', 'force-quit@xtranophilist', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'multi-monitors-add-on@spin83', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'suspend-button@laserb', '<email address hidden>', '<email address hidden>', 'gnome-shell-trash-extension', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', 'TilixDropdown@<email address hidden>', 'nvidiatemp@baco', 'nvidiautil@ethanwharris', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>', '<email address hidden>']"

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please also reboot, reproduce the problem again, and then while it is slow produce a fresh system log:

  journalctl -b0 > journal.txt

and attach the resulting text file here.

Revision history for this message
Solaris (kamshadman) wrote :
Download full text (4.4 KiB)

 journalctl.txt
<https://drive.google.com/file/d/1fTzZkqWzvyXk_HNVv9-W0WStmPmA4Khg/view?usp=drive_web>
I followed your instructions, here the result.
If I missed something please let me know.

On Tue, Sep 29, 2020 at 5:00 AM Daniel van Vugt <email address hidden>
wrote:

> 1. Can you benchmark your disk(s) with the 'Disks' app and/or 'hdparm
> -t' and tell us what their speed is?
>
> 2. Please run this command to watch and check nothing is flooding the
> system log while it is slow:
>
> journalctl -f
>
> 3. Please try uninstalling/disabling all of your extensions:
>
> "['<email address hidden>', 'ubuntu-
> <email address hidden>', 'user-theme@gnome-shell-
> extensions.gcampax.github.com', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> '<email address hidden>', 'advanced-settings-in-usermenu@SHS-
> Schubert.de', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> 'ryanwhang@126.com', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> '<email address hidden>', 'sound-output-device-
> <email address hidden>', 'systemMonitor@gnome-shell-
> extensions.gcampax.github.com', 'temperature@xtranophilist', 'force-
> quit@xtranophilist', 'alternate-tab@gnome-shell-
> extensions.gcampax.github.com', 'auto-move-windows@gnome-shell-
> extensions.gcampax.github.com', '<email address hidden>',
> '<email address hidden>', 'multi-monitors-add-on@spin83', 'native-
> <email address hidden>', 'apps-menu
> @gnome-shell-extensions.gcampax.github.com',
> '<email address hidden>', 'launch-new-instance@gnome-shell-
> extensions.gcampax.github.com', 'places-menu@gnome-shell-
> extensions.gcampax.github.com', 'drive-menu@gnome-shell-
> extensions.gcampax.github.com', 'screenshot-window-sizer@gnome-shell-
> extensions.gcampax.github.com', '<email address hidden>', 'suspend-
> button@laserb', '<email address hidden>',
> '<email address hidden>', 'gnome-shell-trash-extension', 'window-list
> @gnome-shell-extensions.gcampax.github.com', 'windowsNavigator@gnome-
> shell-extensions.gcampax.github.com', 'workspace-indicator@gnome-shell-
> extensions.gcampax.github.com', 'workspaces-to-
> <email address hidden>', 'TilixDropdown@<email address hidden>',
> 'nvidiatemp@baco', 'nvidiautil@ethanwharris', 'show-
> <email address hidden>', '<email address hidden>', '<email address hidden>',
> '<email address hidden>', '<email address hidden>',
> '<email address hidden>']"
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1897478
>
> Title:
> ubuntu 20.04 is extremely slow to upgrade, install or uninstall any
> software and launch any of it
>
> Status in apt package in Ubuntu:
> Incomplete
>
> Bug descrip...

Read more...

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks. It looks like your system log has hundreds of megabytes of mostly microk8s messages like:

  microk8s.daemon-kubelet[7809]: E1003 21:06:32.847225 7809 kubelet.go:2183] node "kam-wrkst" not found

Please try disabling microk8s if you can, and/or run 'top' and 'iotop' to find out which processes are using the most CPU and disk bandwidth.

affects: apt (Ubuntu) → ubuntu
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu because there has been no activity for 60 days.]

Changed in ubuntu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.