Results 1 to 4 of 4
Question is anyone else experiencing this. When I remove an a package or kernel from Ubuntu the files seam to keep the files on the server. Is this normal for ...
- 02-14-2011 #1Just Joined!
- Join Date
- Dec 2010
- Location
- Key-stone state
- Posts
- 54
Old Packages
Question is anyone else experiencing this. When I remove an a package or kernel from Ubuntu the files seam to keep the files on the server. Is this normal for Ubuntu?
- 02-15-2011 #2Just Joined!
- Join Date
- Jun 2010
- Posts
- 36
Are you talking about the deb packages in the apt cache? If so - yes it's normal.
You can use the apt clean or autoclean command to remove packages.
man apt-get
clean clears out the local repository of retrieved package files
autoclean clears out the local repository of retrieved package files. The difference is that it only removes package files that can no longer be downloaded, and are largely useless.orCode:sudo apt-get autoclean
Code:sudo apt-get clean
- 02-16-2011 #3Just Joined!
- Join Date
- Dec 2010
- Location
- Key-stone state
- Posts
- 54
I ran the commands, and I was able to see some old packages removed. As far as old kernel images I was not able to find any other kernels on the server after running the command.
Either those commands removed them, or Ubuntu removed it and I hadn't noticed.
Thanks for the help.
- 02-16-2011 #4Just Joined!
- Join Date
- Jun 2010
- Posts
- 36
As far as I know and have seen packages will stay there until removed.
Removing the kernel is a different thing - same as removing any package.
If you installed x and the package was not available locally - it'll be fetched, if you then remove x the package will now still be available locally so if you then reinstalled x it would not need to fetch the package.


Reply With Quote