![]() ![]() Theoretically one could also uninstall it with dpkg itself. I must admit that putting apt (and dpkg as well) under /usr/local/bin would be a good idea.Ī more interesting question is - what happens if you uninstall dpkg? Sure enough, dpkg is listed as a package by apt, but I'm not going to try uninstalling it now (haven't got a virtual machine set up at the moment). If it was in /usr/local/bin then it probably wouldn't be possible to uninstall it with apt because the files in /usr/local/bin are supposed to be ignored by the package manager. I swear I saw the apt binaries under /usr/local/bin on an Ubuntu-based system not long ago, but they're not there on my current Ubuntu MATE 15.04 system (they're in /usr/bin with most of the other binaries). Ubuntu Software Center will no longer work and you would need to use "dpkg" to re-install a package manager (and manually also need to install all the dependencies). It does finish but there is no way back using "apt-get". the list of packages looks horrific for a space saving of less then 6000kb :D Īnd will be warned you are about to do something very destructive. Processing triggers for libc-bin (2.19-10ubuntu2). Processing triggers for dbus (1.8.8-1ubuntu2). Processing triggers for mime-support (3.55ubuntu1). Rebuilding /usr/share/applications/bamf-2.index. Processing triggers for bamfdaemon (0.5.1+0925-0ubuntu1). Processing triggers for desktop-file-utils (0.22-1ubuntu2). Processing triggers for gnome-menus (3.10.1-0ubuntu2). Processing triggers for shared-mime-info (1.2-0ubuntu3). Processing triggers for hicolor-icon-theme (0.13-1). Processing triggers for gconf2 (3.2.6-2ubuntu1). Processing triggers for man-db (2.7.0.2-2). Removing software-center (13.10-0ubuntu4.1). Removing python3-software-properties (0.94). Removing software-properties-common (0.94). ĭpkg: warning: while removing software-properties-gtk, directory '/usr/lib/python3/dist-packages/softwareproperties/gtk' not empty so not removed ĭpkg: warning: while removing apturl, directory '/usr/lib/python3/dist-packages/AptUrl/gtk/backend' not empty so not removed Removing nautilus-share (0.7.3-1ubuntu5). 179817 files and directories currently installed.) To continue type in the phrase 'Yes, do as I say!' You are about to do something potentially harmful. Ubuntu-desktop ubuntu-extras-keyring ubuntu-minimal unattended-upgradesĠ upgraded, 0 newly installed, 12 to remove and 0 not upgraded.Īfter this operation, 9,031 kB disk space will be freed. Software-center software-properties-common software-properties-gtk This should NOT be done unless you know exactly what you are doing!Ġ upgraded, 0 newly installed, 9 to remove and 0 not upgraded. WARNING: The following essential packages will be removed. ![]() Software-properties-common software-properties-gtk ubuntu-desktop The following packages were automatically installed and are no longer required:Īpt apt-utils apturl nautilus-share python3-software-properties ![]() This yields the following output: Reading package lists. You can try this yourself, issuing the command apt-get -s remove apt (no sudo needed). APT lets you simulate your commands using the option -s. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |