Blog

03/06/2019

The Following Packages Were Automatically Installed And Are No Longer Required Warning



I have the following message whenever I use the apt-get command under Debian or Ubuntu Linux:

The following packages were automatically installed and are no longer required:
libaccess-bridge-java libjs-mochikit python-cheetah libjs-excanvas
libaccess-bridge-java-jni sabnzbdplus-theme-smpl tzdata-java
ca-certificates-java
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

How do I fix this issue? Is it safe to remove all unwanted packages?

Yes, it is safe to remove all unwanted packages to improve the system performance and to avoid security released issues. These packages are no longer needed by the Debian or Ubuntu Linux. Open a terminal and login as a root user using sudo or su command. Type the following command to remove all such packages suggested by the apt-get command :

$ sudo apt-get autoremove

OR

# apt-get autoremove
Sample outputs:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  ca-certificates-java libaccess-bridge-java libaccess-bridge-java-jni
  libjs-excanvas libjs-mochikit python-cheetah sabnzbdplus-theme-smpl
  tzdata-java
0 upgraded, 0 newly installed, 8 to remove and 4 not upgraded.
After this operation, 6,369 kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 334576 files and directories currently installed.)
Removing ca-certificates-java ...
Removing libaccess-bridge-java-jni ...
Removing libaccess-bridge-java ...
Removing sabnzbdplus-theme-smpl ...
Removing libjs-excanvas ...
Removing libjs-mochikit ...
Removing python-cheetah ...
Removing tzdata-java ...
Processing triggers for python-support ...
Processing triggers for man-db ...

Posted by: SXI ADMIN

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

20/08/2019

Start your Bitcoin Exchange with our Software

Start your Bitcoin Exchange with our Software Setup your white label bitcoin exchange right away. Or create your own cryptocurrency using...
14/08/2019

How to KVM, QEMU start or stop virtual machine from command line (CLI)

KVM or Kernel Based Virtual Machine is a popular virtualization technology. It allows you to run virtual guest machines over a host machine. To start...
14/08/2019

How to Docker backup Saving and restoring your volumes

Running a Docker volume backup First, we spin up a temporary container, and we mount the backup folder and the target Docker volume to this container....