Why removing Amazon also remove other packages?

8,422

Solution 1

The Amazon web app is part of the package unity-webapps-common which is needed by all other web apps. So this behaviour is intentioned.

But you can still disable the Amazon integration using dconf-editor or Unsettings as described in How do I remove a website from Ubuntu's web applications?

Solution 2

The Amazon webapp is—incorrectly, IMHO—baked in unity-webapps-common, as Florian correctly says. If you want to remove it without uninstalling the package, do:

sudo rm -rf /usr/share/applications/ubuntu-amazon-default.desktop 
Share:
8,422

Related videos on Youtube

Lucio
Author by

Lucio

Web Developer building cool stuff on Spotify! Do you like recursion? Enjoy it! Full Profile

Updated on September 18, 2022

Comments

  • Lucio
    Lucio almost 2 years

    If I want to uninstall the Amazon WebApp that comes by default in the newest versions of Ubuntu, it ask me to remove other software as well. As you can see in the next picture, it is forcing me to uninstall unity-webapps-livemail and unity-webapps-youtube.

    other_apps

    Is this a bug in Ubuntu or is this intentioned? This behavior will disappear in future releases of Ubuntu?

    • Panther
      Panther over 11 years
      I do not know if you would call it a bug or a feature. Part of why Ubuntu is considered easy is that there tend to be longer lists of dependencies compared to othe rdistros. IMO you are best off filing a bug report or feature request.
    • Lucio
      Lucio over 11 years
      @bodhi.zazen I'm in that dilemma. Don't know if it's a bug or a feature..
    • fitojb
      fitojb over 11 years
      This is a bug.
    • Lucio
      Lucio over 11 years
      @Fitoschido Or an undesirable feature. Because a bug is not intentioned, and I think that this one is. I hope that in the next release this will be modified.
  • Lucio
    Lucio over 11 years
    Now I understand. I deleted all the entries in the preauthorized-domains array with the next command (please, add it to your question) gsettings set com.canonical.unity.webapps preauthorized-domains []
  • Lucio
    Lucio over 11 years
    I'm agree with you. Your command has successfully removed the Amazon icon. Thanks for your support in the bug.
  • xd1936
    xd1936 about 9 years
    While you're at it, you may want to also do sudo rm -rf ~/.local/share/ubuntu-amazon-default/