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)

kiri
  • 28,246
  • 16
  • 81
  • 118
biezdar
  • 91
  • 1
  • 1
  • 3

6 Answers6

5

Terminal/Konsole:

sudo apt-get install update-manager synaptic

or

sudo apt-get install --reinstall update-manager synaptic
kiri
  • 28,246
  • 16
  • 81
  • 118
dschinn1001
  • 3,829
  • 1
    what does the commands do in detail? Why do you have two commands? – Alvar Jun 12 '13 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 '13 at 01: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

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
TommyPeanuts
  • 1,079
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.

Marc
  • 9,980