Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is /var/cache/apt/archives of Cubic shared with the host OS? #43

Closed
sudo-joe opened this issue Apr 6, 2022 · 1 comment
Closed

Is /var/cache/apt/archives of Cubic shared with the host OS? #43

sudo-joe opened this issue Apr 6, 2022 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@sudo-joe
Copy link

sudo-joe commented Apr 6, 2022

Hello

would like to backup(tar) my cubic folder. It should become as small as possible :) In the cubic filesystem I was unable to find /var/cache/apt/archives..

  • does 'apt-get dist-upgrade' cache the *.deb's as well in /var/cache/apt/archives of the host?
  • is it advisable to delete the cached files before backing up the cubic project folder?

Thank's a lot!

Joe

@sudo-joe sudo-joe added the question Further information is requested label Apr 6, 2022
@PJ-Singh-001 PJ-Singh-001 self-assigned this Apr 13, 2022
@PJ-Singh-001
Copy link
Owner

Cubic does not use the /var/cache/apt folder from your host machine. The Terminal environment is completely isolated from your host machine, except for the network configuration (which is used as read-only from your host machine). Therefore, the cached apt files are unique to your Cubic project.

Please be very cautious about deleting /var/lib/apt due to bug #30.

Instead of deleting files under /var/cache/apt or /var/lib/apt, always do the following just before clicking the Next button on the Terminal page. This will safely clear out your cache.

apt -f install
apt --yes autoremove
apt --yes autoclean
apt --yes clean

@PJ-Singh-001 PJ-Singh-001 changed the title is /var/cache/apt/archives of cubic shared with the host-os Is /var/cache/apt/archives of Cubic shared with the host OS? Apr 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants