익명 21:05

Kali apt-get upgrade failure [closed]

Kali apt-get upgrade failure [closed]

Good afternoon!

Using the book "Linux Basics for Hackers," I have just uploaded Kali Linux on a virtual machine installed on my PC. As I follow along the book, I have attempted to upgrade packages with the apt-get upgrade command. Every time, I get a ton of output, which ends with the following error message:

E: You don’t have enough free space in /var/cache/apt/archives/

Based on Google searching, I have tried to free up space by clearing the package cache, removing unused packages, clearing system logs, all to no avail. The error message persists!

When I visit /var/cache/apt/archives/ and run a long list, I see two items. A file called “lock” (size = 0 bytes, owner = root) and a directory called “partial” (size = 4096 bytes, owner = _apt.)

Are there any suggestions on how I can get more free space? I am not terribly programmer-savvy, so please bare with me here.

Thank you!

John



Top Answer/Comment:

Comment: Welcome to Ask Ubuntu! We are sorry, Kali Linux is off-topic. You can use forums.kali.org but expect them to be very harsh: Kali is intended for experienced GNU/Linux users and users are expected to fix their own problems and only when that fails to have them ask a question with a well-documented problem. Please refer askubuntu.com/help/on-topic, Ubuntu and official flavors of Ubuntu (ubuntu.com/download/flavours) are on-topic on this site. kali.org/docs/introduction/should-i-use-kali-linux

상단 광고의 [X] 버튼을 누르면 내용이 보입니다