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

by on April 24, 2013 · 3 comments· LAST UPDATED April 24, 2013

in , ,

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
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Tutorial details
DifficultyEasy (rss)
Root privilegesYes
Estimated completion timeN/A
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


# 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
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 ...
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 3 comments… read them below or add one }

1 Heber Dijks April 24, 2013 at 8:32 pm
2 mancdaz April 25, 2013 at 7:28 am

Its worth explaining what this message means.

Its basically saying that these were packages that were installed automatically as a dependency of some other package that you installed. Now that you’ve removed that package (at some point in the past), these packages are no longer needed on the system.


3 observer September 30, 2014 at 7:15 pm

But Debian gets it wrong sometimes. How tell tell the package manager: “stop outputting that incorrect message and don’t remove that package unless explicitly asked to do so”?


Leave a Comment

Tagged as: , ,

Previous Faq:

Next Faq: