Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

MX Cleanup

Este forum es para los usuarios de Mepis hispanoparlantes
Message
Author
User avatar
colin_b
Forum Regular
Forum Regular
Posts: 312
Joined: Sun Mar 19, 2017 7:21 pm

Re: MX Cleanup

#31 Post by colin_b » Mon Jul 02, 2018 5:14 pm

I see what you mean. I wasn't sure what the lists were. Just out of curiosity, are the lists automatically deleted when the lists are updated?

User avatar
Adrian
Forum Veteran
Forum Veteran
Posts: 8871
Joined: Wed Jul 12, 2006 1:42 am

Re: MX Cleanup

#32 Post by Adrian » Mon Jul 02, 2018 5:35 pm

I think if you remove a source the corresponding list is deleted after apt-get update, otherwise the lists are updated (not deleted) when you do "apt-get update".

User avatar
colin_b
Forum Regular
Forum Regular
Posts: 312
Joined: Sun Mar 19, 2017 7:21 pm

Re: MX Cleanup

#33 Post by colin_b » Mon Jul 02, 2018 5:50 pm

I've had a look at what Bleachbit showed on my installed OS (MX16), and it showed ~250MB of package lists. I did an update via the update manager and afterwards I had ~330MB of package lists. As a final thought, would it be possible for the update manager to clear the lists, or just old lists, when it does an update to free up a bit of HD space?

User avatar
fehlix
Forum Guide
Forum Guide
Posts: 1439
Joined: Wed Apr 11, 2018 5:09 pm

Re: MX Cleanup

#34 Post by fehlix » Mon Jul 02, 2018 7:17 pm

colin_b wrote:
Mon Jul 02, 2018 5:50 pm
...
As a final thought, would it be possible for the update manager to clear the lists, or just old lists, when it does an update to free up a bit of HD space?
With every apt-update the package-manager will fetch all changed package-lists from the package server and would remove old ones. If you delete all package-lists the apt-package-manager would need to download all package-lists again,
even those which have not changed. So you would not gain much to have temporarily removed the pkg-lists.
But you would increase the download-traffic from the server, your used bandwidth and would force unneeded writing onto your hd/ssd.
Gigabyte Z77M-D3H, Intel Xeon E3-1240 V2 (Quad core), 32GB RAM,
GeForce GTX 770, Samsung SSD 850 EVO 500GB, Seagate Barracuda 4TB

User avatar
dolphin_oracle
Forum Veteran
Forum Veteran
Posts: 9292
Joined: Sun Dec 16, 2007 1:17 pm

Re: MX Cleanup

#35 Post by dolphin_oracle » Mon Jul 02, 2018 7:59 pm

besides, without the lists, synaptic will only show what's installed instead of what's available (without a reload anyway, which brings back the lists). (At least I think that's the case).
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad T530 - MX-17
lenovo s21e & 100s - antiX-17, MX17(live-usb)
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Redacted
Forum Regular
Forum Regular
Posts: 122
Joined: Sat Apr 29, 2017 6:53 am

Re: MX Cleanup

#36 Post by Redacted » Mon Jul 02, 2018 8:03 pm

That's true. It happened to me the first time I ever used Bleachbit, and it took me a while to figure out what was wrong with Synaptic.
MX 17.1

User avatar
colin_b
Forum Regular
Forum Regular
Posts: 312
Joined: Sun Mar 19, 2017 7:21 pm

Re: MX Cleanup

#37 Post by colin_b » Mon Jul 02, 2018 8:15 pm

Thanks to all for the info.

I'll put this down as a bad idea :embarrassed:

User avatar
Richard
Posts: 2028
Joined: Fri Dec 12, 2008 10:31 am

Re: MX Cleanup

#38 Post by Richard » Tue Jul 03, 2018 10:20 pm

@Gerson,

Buena discusión.
Creo que el Cleanup es suficiente para limpiar la mayoría de datos innecesarios,
antes de hacer un Snapshot.

Saludos, Richard.
MX171 on Lenovo T430-2017: i5-3320M, 8 GBRAM, 4.15.0-1-amd64, intel_pstate, 119GB SSD
MX171 on AA1(ZG5) & EeePC-1005ha: Dual Core N270, 1 GBRAM, 4.15.0-1-686-pae, 150GB HDD
DC9, LibO61, Dbox, PM, FF, mPDFed, CherryT, Vbox. __ Linux Counter #208633

antiX-Dave
Forum Regular
Forum Regular
Posts: 377
Joined: Mon Apr 16, 2012 4:51 pm

Re: MX Cleanup

#39 Post by antiX-Dave » Wed Jul 04, 2018 11:12 pm

colin_b wrote:
Mon Jul 02, 2018 5:50 pm
I've had a look at what Bleachbit showed on my installed OS (MX16), and it showed ~250MB of package lists. I did an update via the update manager and afterwards I had ~330MB of package lists. As a final thought, would it be possible for the update manager to clear the lists, or just old lists, when it does an update to free up a bit of HD space?
Is this truely package lists or the downloaded/cached packages that were installed in the upgrade?

User avatar
asqwerth
Forum Veteran
Forum Veteran
Posts: 3255
Joined: Sun May 27, 2007 5:37 am

Re: MX Cleanup

#40 Post by asqwerth » Thu Jul 05, 2018 12:03 am

I was wondering about that. 250MB seems a large size for lists.

Does MX-Cleanup include "apt-get clean" or "apt clean" to remove the cached packages?

Also, does Debian package management include a command (or some tag added to "apt clean") to remove all cached packages EXCEPT for the most recent X (which is a variable that can be specified) number of versions of the same package?

Arch has some commands that can do that. I'm not sure about Fedora and Opensuse, but I know the latter 2 distros have some settings to only keep the last X number of kernels.

It's useful to keep the most recent previous versions of a package, just in case you need to revert back to the previous version due to some bug or problem with the current.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

Post Reply

Return to “Forum en Español”