Find the answer to your Linux question:
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 ...
  1. #1
    Just 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?

  2. #2
    Just 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.
    Code:
    sudo apt-get autoclean
    or
    Code:
    sudo apt-get clean

  3. #3
    Just 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.

  4. #4
    Just 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...