ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Ubuntu: How do "apt-get clean" and "apt-get clean all" differ?

ubuntu

command line

apt

question

solution

package management

apt-get

software

packages

installation

answers

shell

Автор: Роэль Ван де Паар (Техническая помощь Роэля)

Загружено: 2019-06-16

Просмотров: 61

Описание: 👉 https://amzn.to/4aLHbLD 👈 You’re literally one click away from a better setup — grab it now! 🚀👑

As an Amazon Associate I earn from qualifying purchases. Ubuntu: How do "apt-get clean" and "apt-get clean all" differ?


Question: What, if anything, is the difference between this command:
sudo apt-get clean
And this command:
sudo apt-get clean all
On my Lubuntu 12.04 system, simulating these commands reveals their behavior to
be exactly the same:
ek@Apok:~$ apt-get -s clean
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
Del /var/cache/apt/pkgcache.bin /var/cache/apt/srcpkgcache.bin
ek@Apok:~$ apt-get -s clean all
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
Del /var/cache/apt/pkgcache.bin /var/cache/apt/srcpkgcache.bin
ek@Apok:~$
Is there ever any difference in apt-get's behavior with clean and clean all? If
so, what is the difference, under what circumstances is it relevant, and how
should I choose between the two? If there is no difference, then why does clean
all exist?
If they're the same, then clean all would still make sense if clean could
ordinarily take a package name as an argument. But this is not the case--
attempting to pass a package name to clean doesn't alter clean's behavior at
all, the whole cache still gets deleted:
ek@Apok:~$ apt-get -s clean nano
NOTE: This is only a simulation!
apt-get needs root privileges for real execution.
Keep also in mind that locking is deactivated,
so don't depend on the relevance to the real current situation!
Del /var/cache/apt/archives/* /var/cache/apt/archives/partial/*
Del /var/cache/apt/pkgcache.bin /var/cache/apt/srcpkgcache.bin
This does make me wonder, though, if perhaps clean all doesn't really exist
(and that what's happening is that all is ignored, just as nano was in the
above example).
Is clean all just an urban legend?

Solutions Sample (Please watch the whole video to see all solutions, in order of how many people found them helpful):

With thanks & praise to God! With thanks to all the many who have made this project possible! | Content (except music & images) licensed under cc by-sa 3.0 | Music & music license: https://www.bensound.com/royalty-free... | Images & images license: https://stocksnap.io/license and others | With thanks to user Seth (https://askubuntu.com/users/44179), user Florian Diesch (https://askubuntu.com/users/2369), user Eliah Kagan (https://askubuntu.com/users/22949), and the Stack Exchange Network (http://stackoverflow.com/questions/14.... Trademarks are property of their respective owners. Disclaimer: All information is provided "AS IS" without warranty of any kind. You are responsible for your own actions. Please contact me if anything should be amiss at Roel D.OT VandePaar A.T gmail.com.

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Ubuntu: How do "apt-get clean" and "apt-get clean all" differ?

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]