4

This question already has an answer here:

When I try to install something via a .deb file or just from software center it will say installing for a second or so then go back to the button saying install. When I try to update the software I have installed it just shows the installing sign but doesn't update, I left it running over night but still nothing updated

Picture of me trying to update:

marked as duplicate by David Foerster, Zanna, Kevin Bowen, 2707974, Peachy Mar 1 '17 at 8:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • You should have 16.04.2 by now. That means you haven't installed any updates lately. Please do it before anything else: sudo apt update && sudo apt full-upgrade. The try again, it should work now. Alternatively install GDebi (by command line) and/or simply install in command line with dpkg. – user589808 Feb 26 '17 at 18:18
  • Doesn't Work it comes up with this message. pastebin.com/ZqJXkVc4 (too long to paste directly) – Oli-A Feb 26 '17 at 18:52
  • 1
    You have dependency problems that are preventing the installation of other software including all the updates you need. And the problem is with the wine-devel package that somehow you tried to install, most likely by following some outdated guide/tutorial. It's all mentioned in the error messages you apparently didn't bother reading. The problem with the Ubuntu Software is just a (quite obvious) symptom. – user589808 Feb 26 '17 at 19:02
  • Thank you for the help, and sorry for my incompetence, I'm fairly new to Ubuntu so I don't know about trouble shooting in terminal but managed to solve the problem and update my system and now the store works. Next time I'll make sure I update my systems. (BTW I did read it I just didn't understand it) – Oli-A Feb 26 '17 at 21:23
  • Ubuntu Software Center is also heavy and sometimes buggy. I think that you'd better use the command line for updating and installing, it is faster and more reliable. it is a good habit to take, in my opinion. – kcdtv Feb 26 '17 at 22:04
10

First, fix your dependencies. To do this, open a terminal and enter this command:

sudo apt-get install -f

After that, update your software:

sudo apt-get update && sudo apt-get dist-upgrade

Don't use the application Ubuntu Software. The scientific term for it is "complete and utter garbage with tons of bugs which doesn't work 90% of the time and shouldn't be used by anyone for any purpose whatsoever". If you want to use a graphical interface, use Ubuntu Software Center. You can install it with this command:

sudo apt-get install software-center

It's a bit slower but it works and gets the job done.

If you want to install a Debian package, you can either open it with Ubuntu Software Center or you can install it on the command line (assuming the package is in your downloads folder):

sudo apt-get install ~/Downloads/thepackage.deb

Note that you probably can install the Debian package directly from the repos without first downloading it. If your Debian package is called Awesome-Application_1.37_amd64.deb, try this command:

sudo apt-get install awesome-application

It either finds something with that name or tells you that it can't find it. In the latter case, execute the command mentioned two above to install the package you downloaded.

  • A simple sudo apt install -f suffices for me. – Yan King Yin Sep 9 '17 at 14:45
-1

In Ubuntu 16 I highly recommend installing GDebi package installer from the Ubuntu Software Center. Then open any downloaded .deb files with that. It will automatically install dependencies.

  • That won't fix the current dependency issues though. -1 – David Foerster Feb 27 '17 at 9:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.