[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Debian apt-get clean.

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 1

File: hangman-noose.jpg (16KB, 284x200px) Image search: [Google]
hangman-noose.jpg
16KB, 284x200px
Using Debian 9 (Stretch).

I did:
sudo apt-get autoclean. Fine.

But then, to be autistic, I also did:
sudo apt-get clean.

Did I fuck up? If so, how bad - and what to do?
>>
literally nothing is broken. you cleared your package cache. woohoo.
>>
>>61098036
Yes, but will that cause dependency problems, now or later?

If so, can the package cache be somehow reinstalled, without destroying the installation?
>>
>>61098135
literally all that apt clean does is remove the old .deb files which were downloaded when you went to install something from apt. it doesn't uninstall anything.

where the hell you got ideas that it would break dependency is beyond me. nothing is uninstalled and any packages apt needs will just be redownloaded.
>>
>>61098036
EDIT: that should be " . . . can the files be somehow reinstalled to the package cache . . . "
>>
>>61098253
do you need them in the package cache? if a program needs reinstalling then apt will just download it from a mirror.

if you really want to add them back to the cache I think you could use
apt-get -d install <package>
>>
>>61098202
Well, what if the system needs a dependency that is no longer available in the repositories? And also not in the package cache?
>>
>>61098307

What if you're and idiot?
>>
>>61098307
If you're on debian or any derovetive this won't happen, since the packages don't break like that, the maintainers will always ensure the correct dependencies are in the repositories, otherwise the software won't install, duh.
>>
>>61098329
Now, now . . . don't be mean.

Play nice, kids.
>>
Just a note, to clarify:

FROM THE ARCH WIKI PACMAN PAGE:

Cleaning the package cache

pacman stores its downloaded packages in /var/cache/pacman/pkg/ and does not remove the old or uninstalled versions automatically, therefore it is necessary to deliberately clean up that folder periodically to prevent such folder to grow indefinitely in size.

The built-in option to remove all the cached packages that are not currently installed is:

# pacman -Sc

Warning:

Only do this when certain that previous package versions are not required, for example for a later downgrade. pacman -Sc only leaves the versions of packages which are currently installed available, older versions would have to be retrieved through other means, such as the Archive.
It is possible to empty the cache folder fully with pacman -Scc. In addition to the above, this also prevents from reinstalling a package directly from the cache folder in case of need, thus requiring a new download. It should be avoided unless there is an immediate need for disk space.
>>
>>61098478
Wow, that excerpt from Arch should be a show-starter, not a show stopper.
>>
So i updated from stable to testing using dist-upgrade, and everything was fine, but now whenever I install a program via apt i get this thing saying "The following packages were automatically installed and are no longer needed" yet they are packages that I am actually using, like xfce4 etc.

What gives?
Thread posts: 13
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.