9

I tried asking many times on few Ubuntu forums how to deal with my non-responsive Update Manager, but all I was getting was the same stuff (run it from the terminal, run some lines, apt-get update blah blah). Nothing was helping. Eventually I went mad Windows style and tried to simply uninstall it and install it again. The problem is - how to install it again? Can't do it through Software Center, can't really build a package (because I'm too stupid to do that). And I seriously want to avoid reinstalling the whole system.

I am running a 12.04 version (Update Manager was unable to update to a newer one)

3
  • 2
    How did you uninstall it? Jun 12, 2013 at 19:36
  • 1
    Also, what happens when you open a terminal (CTRL+ALT+T) and type in sudo apt-get -f install? Jun 12, 2013 at 19:42
  • 1
    how (what commands did you use???) did you uninstall it through the terminal??? Jun 16, 2013 at 14:32

6 Answers 6

5

Terminal/Konsole:

sudo apt-get install update-manager synaptic

or

sudo apt-get install --reinstall update-manager synaptic
2
  • 1
    what does the commands do in detail? Why do you have two commands?
    – Alvar
    Jun 12, 2013 at 19:47
  • sudo means "superuser do", requiring administrative rights and password to change the system. apt-get is how Debian-based Linux downloads and installs software from online repositories. install means what it says, as does reinstall. update-manager and synaptic are packages apt-get is being told to fetch and install.
    – Marc
    Jun 13, 2013 at 1:47
1

I had a problem with update manager so I uninstalled update-manager and installed again by using:

For uninstall

sudo apt-get purge update-manager

For install

sudo apt-get install update-manager synaptic

And just worked

Sorry for my spelling

0

If you're having trouble with a package and you choose to completely re-install it, you should first completely remove it.

 sudo apt-get --purge remove update-manager

will remove the update manager and any configuration files it's created. If there is a configuration error, this will allow you to re-install fron scratch.

Of course, you'll lose all the configuration files, and I'm not sure what this might do. I don't know if those configuration files detail everything installed on your system, and whether you might end up with a butt-load of hurt when your next install can't tell what dependancies are already installed. I could be worried over nothing . . . but I'd wait for a wiser brain than mine to comment.

0

To install/reinstall the Ubuntu Update Manager ("Software Updater")

Tested on Ubuntu 18.04:

sudo apt update
sudo apt install update-manager

You'll now see this "Software Updater" icon when you press the Windows key and then search for "updater":

enter image description here

And this .desktop file will now be created: "/usr/share/applications/update-manager.desktop", and it will contain the following, as shown by cat /usr/share/applications/update-manager.desktop:

[Desktop Entry]
Name=Software Updater
GenericName=Software Updates
Comment=Show and install available updates
Exec=/usr/bin/update-manager
Icon=system-software-update
Terminal=false
Type=Application
Categories=System;Settings;
X-Ubuntu-Gettext-Domain=update-manager
X-Unity-IconBackgroundColor=#4c9e39
0

In Ubuntu 20.04 for me helped the following:

sudo vim /etc/apt/sources.list

In the start of the config add link to the repository with focal-updates:

deb https://mirror.linux-ia64.org/ubuntu/ focal-updates main restricted universe multiverse

If this server is not working try another servers that listed here: Official Archive Mirrors for Ubuntu

sudo apt update

sudo apt install update-manager

Source: Trying to reinstall ubuntu-desktop causes dependency issues (Ubuntu GNOME, 18.04)

0

Maybe this helps (re-installing the packages):

sudo apt-get install --reinstall python3-update-manager python3-apt python3-gi update-manager python3-dbus python3-aptdaemon aptdaemon lsb-release python3-defer python3-aptdaemon.gtk3widgets python3-dbus

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .