Ubuntu Software Center - Error - "cannot perform the following tasks"

8,233

Make sure that the list of available software is up-to-date before trying to install GTK Common Themes. In all currently supported versions of Ubuntu, open the terminal and type:

sudo apt update   
sudo snap install gtk-common-themes 
Share:
8,233

Related videos on Youtube

Bharath kumar V
Author by

Bharath kumar V

Experienced Information Security, General IT controls and Cyber Security Auditor in diversified business verticals. An enthusiastic learner of Ubuntu Linux. Have been using Ubuntu from Ubuntu 9.04 Jaunty Jackalope. Reading, Music, films, Yoga and meditation, nature watching & cycling are my interests and hobbies

Updated on September 18, 2022

Comments

  • Bharath kumar V
    Bharath kumar V over 1 year

    From Ubuntu Software Center, I tried to install "GTK Common Themes". During the installation halfway through the process I get the following error message:

    Unable to install "GTK Common Themes"; cannot perform the following tasks:
    

    enter image description here

    • Mark Kirby
      Mark Kirby about 6 years
      Please provide the error in full, you left out the most important bit.
    • karel
      karel about 6 years
      What happens if you run this command in the terminal: sudo apt update && sudo apt install snapd && sudo snap install gtk-common-themes ?
    • Bharath kumar V
      Bharath kumar V about 6 years
      @Markkirby, the error message what I saw/see on the screen is what I have given in my query. I have a screenshot, but I don' t whether I can upload an image here. Because I find there is no such option here.
    • Bharath kumar V
      Bharath kumar V about 6 years
      @karel, I have tried the command in the terminal. The installation went on well. Thanks.
    • Bharath kumar V
      Bharath kumar V about 6 years
      @karel, can you please explain why I could not do it through "Ubuntu Software Centre"? Thanks.
    • karel
      karel about 6 years
      I discussed this topic once with a lead Ubuntu snap developer and he explained to me that snap packages are supposed to install in the Software app with all the correct options pre-selected every time. Sometimes this does not work however. If this isn't a bug then it's possible that you need to update the available software first with the command: sudo apt update because the available software in the Software app was not up-to-date when you tried to install the package.
    • karel
      karel about 6 years
      I haven't seen this happen yet in Ubuntu 18.04. In my Ubuntu 18.04 the software in Ubuntu Software is always up-to-date.