Results 1 to 2 of 2

Thread: How to share upgraded packages between host and guest.

  1. #1
    Join Date
    Jan 2005
    Location
    South Africa
    Beans
    2,098
    Distro
    Ubuntu 12.04 Precise Pangolin

    How to share upgraded packages between host and guest.

    I'm running Ubuntu 12.04 desktop as a host OS and I'm running 12.04 desktop as a guest OS in virtualbox.

    Installed packages on the two are partially the same. Is there a way to share the upgrades of the packages that both have in common? I usually have the host up-to-date and don't like to waste bandwidth (if not necessary) by downloading the same upgrades again for the guest.

    I think I found the upgrades in /var/cache/apt (please confirm).

    Which other steps are required? Please note that I'm quite new to virtualbox (don't even know how to share a directory or partition on the host from the guest, if at all possible); a little lazy here, I admit. Use of command line is no problem.
    If you don't make backups of your important data, your data is obviously not important to you.

  2. #2
    Join Date
    Jun 2007
    Location
    K-o-T,
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: How to share upgraded packages between host and guest.

    I think I found the upgrades in /var/cache/apt (please confirm).
    /var/cache/apt/archives hold the downloaded .deb files.

    You could create a shared folder on the host and move the files into the folder and the guest OS should then be able to see the files.

    You can then copy the files to the Guest in the /var/cache/apt/archives location.You could also do the same for the .list files or just run
    Code:
    sudo apt-get update
    on the guest to update the list files.

    When you run the upgrade,it won't need to download the .deb files again.

    Good Luck.
    Hypertension = Take with a pinch of salt
    | Psychocats | Ubuntu Documentation | Howto [Solved] | BBcode list | Brother Website |

Bookmarks

Posting Permissions

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