Linux Maintenance

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,120
Reaction score
5,996
Credits
23,583
1. just a tip, tom - for the viewers - a before and after figure makes for a good comparison ;)

2. here's another example from another forum (from which i was banned over 3 years ago, but that is another story for elsewhere :))

i wrote an article on hoovering linux over 4 years ago

https://www.bleepingcomputer.com/forums/t/605768/hoovering-linux-housekeeping-benefits/

one of the members there, pcpunk, had, then, an HP with only an 80 GB hard drive. from following the above command with the archives cache, he found he had 2.7 GB he could get rid of, to save space and improve performance. :)

tip 3 - includes distros that use systemd and with that, journald.

i'll show you an example in my next post.

cheers

wizard
 


OP
J

jjconstr

Silver Member
Silver Supporter
Joined
Feb 8, 2020
Messages
110
Reaction score
45
Credits
611
g'day jj :)

you've been running "the Beaver" for a few months now, hopefully performing updates.

if you get a chance, go to Terminal and type in and enter the following

Code:
du -ah /var/cache/apt/archives

it wiil spool off output, and i am interested in the human-readable figure at the bottom left-hand side when you finish.

cheers all and

Avagudweegend

wizard

Hello Wiz, thanks for the memory jogger! Needed that! The figure lower left is 274m.
 
OP
J

jjconstr

Silver Member
Silver Supporter
Joined
Feb 8, 2020
Messages
110
Reaction score
45
Credits
611
remove unwanted files in your linux machine and many more. please check out the right commands to use to clean up and maintain your linux machine online.
Where are the cleanup tools online? Thanks, great post, good ideas. I feel like I'm being educated.
jjconstr
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,120
Reaction score
5,996
Credits
23,583
jj i have to fly shortly, most of us use in-house tools that already ship with our linuxes and that link of Tom's (@poorguy ) at #21 is useful.

i'll be back tomorrow with more detail

wizard
 
OP
J

jjconstr

Silver Member
Silver Supporter
Joined
Feb 8, 2020
Messages
110
Reaction score
45
Credits
611
@jjconstr ... just a memory jogger, did you have a figure for my post #8?

https://linux.org/threads/linux-maintenance.28579/post-89609

cheers

wiz

@jjconstr ... just a memory jogger, did you have a figure for my post #8?

https://linux.org/threads/linux-maintenance.28579/post-89609

cheers

wiz
Wiz, Reposting the answer to your question; The figure lower left is 274m. Not sure if my original post was recieved. If it was, what does the figure tell you? Thanks!
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
7,120
Reaction score
5,996
Credits
23,583
g'day jj - if you really want to reclaim most of the 274m, then in Terminal

Code:
sudo apt-get clean

and then du -ah again will show the difference.

i'll show more examples today, been busy with physio on my arm and hand last few days.

cheers and

Avagudweegend

wiz
 
OP
J

jjconstr

Silver Member
Silver Supporter
Joined
Feb 8, 2020
Messages
110
Reaction score
45
Credits
611
g'day jj - if you really want to reclaim most of the 274m, then in Terminal

Code:
sudo apt-get clean

and then du -ah again will show the difference.

i'll show more examples today, been busy with physio on my arm and hand last few days.

cheers and

Avagudweegend

wiz

Thanks a lot! So, is the 274m, mebabytes? That's worth cleaning out!
How is your shoulder coming? Did you break bones, or rotater cuff?

Avaguweegend yaseff
 
D

Deleted member 58530

Guest
@wizardfromoz

I believe this is what you wanted and I should have posted originally.

Before.
Code:
[email protected]:~$ du -ah /var/cache/apt/archives
76K    /var/cache/apt/archives/apturl-common_0.5.2+linuxmint8_all.deb
420K    /var/cache/apt/archives/sudo_1.8.21p2-3ubuntu1.2_amd64.deb
12K    /var/cache/apt/archives/libxnvctrl0_390.77-0ubuntu0.18.04.1_amd64.deb
892K    /var/cache/apt/archives/xserver-xephyr-hwe-18.04_2%3a1.20.5+git20191008-0ubuntu1~18.04.1_amd64.deb
32K    /var/cache/apt/archives/libmpcdec6_2%3a0.1~r495-1_amd64.deb
56K    /var/cache/apt/archives/libdvdcss2_1.4.2-dmo1_amd64.deb
600K    /var/cache/apt/archives/openssl_1.1.1-1ubuntu2.1~18.04.5_amd64.deb
8.0K    /var/cache/apt/archives/xserver-xorg-input-all-hwe-18.04_1%3a7.7+19ubuntu8~18.04.3_amd64.deb
12K    /var/cache/apt/archives/gir1.2-xapp-1.0_1.6.10+tricia_amd64.deb
116K    /var/cache/apt/archives/libpcap0.8_1.8.1-6ubuntu1.18.04.1_amd64.deb
548K    /var/cache/apt/archives/libdjvulibre21_3.5.27.1-8ubuntu0.1_amd64.deb
32K    /var/cache/apt/archives/libwayland-server0_1.16.0-1ubuntu1.1~18.04.3_amd64.deb
72K    /var/cache/apt/archives/libvo-aacenc0_0.1.3-1_amd64.deb
8.0K    /var/cache/apt/archives/libwayland-egl1-mesa_19.2.8-0ubuntu0~18.04.3_amd64.deb
1.9M    /var/cache/apt/archives/python-samba_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_amd64.deb
1.2M    /var/cache/apt/archives/libglib2.0-0_2.56.4-0ubuntu0.18.04.6_amd64.deb
2.5M    /var/cache/apt/archives/libqt5gui5_5.9.5+dfsg-0ubuntu2.5_amd64.deb
20K    /var/cache/apt/archives/gcc-8-base_8.4.0-1ubuntu1~18.04_amd64.deb
136K    /var/cache/apt/archives/grub-pc_2.02-2ubuntu8.15_amd64.deb
12K    /var/cache/apt/archives/thunderbird-gnome-support_1%3a68.7.0+build1-0ubuntu0.18.04.1_amd64.deb
2.9M    /var/cache/apt/archives/gdb_8.1-0ubuntu3.2_amd64.deb
148K    /var/cache/apt/archives/mint-upgrade-info_1.1.5_all.deb
4.0K    /var/cache/apt/archives/ubuntu-minimal_1.417.4_amd64.deb
36K    /var/cache/apt/archives/libnss-myhostname_237-3ubuntu10.39_amd64.deb
8.0K    /var/cache/apt/archives/mint-meta-core_2019.12.28_all.deb
352K    /var/cache/apt/archives/libasan4_7.5.0-3ubuntu1~18.04_amd64.deb
16K    /var/cache/apt/archives/libnautilus-extension1a_1%3a3.26.4-0~ubuntu18.04.5_amd64.deb
944K    /var/cache/apt/archives/libdns1100_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
324K    /var/cache/apt/archives/ppp_2.4.7-2+2ubuntu1.2_amd64.deb
620K    /var/cache/apt/archives/libqt5network5_5.9.5+dfsg-0ubuntu2.5_amd64.deb
28K    /var/cache/apt/archives/libitm1_8.4.0-1ubuntu1~18.04_amd64.deb
36M    /var/cache/apt/archives/openjdk-11-jre-headless_11.0.7+10-2ubuntu2~18.04_amd64.deb
8.0K    /var/cache/apt/archives/build-essential_12.4ubuntu1_amd64.deb
8.0K    /var/cache/apt/archives/mint-meta-xfce_2019.12.28_all.deb
72K    /var/cache/apt/archives/vim-common_2%3a8.0.1453-1ubuntu1.3_all.deb
844K    /var/cache/apt/archives/xwayland-hwe-18.04_2%3a1.20.5+git20191008-0ubuntu1~18.04.1_amd64.deb
552K    /var/cache/apt/archives/libopenexr22_2.2.0-11.1ubuntu1.1_amd64.deb
12K    /var/cache/apt/archives/unshield_1.4.2-1_amd64.deb
68K    /var/cache/apt/archives/pulseaudio-module-bluetooth_1%3a11.1-1ubuntu7.5_amd64.deb
4.0K    /var/cache/apt/archives/g++_4%3a7.4.0-1ubuntu2.3_amd64.deb
48K    /var/cache/apt/archives/libxapp1_1.6.10+tricia_amd64.deb
48K    /var/cache/apt/archives/libfwupd2_1.2.10-1ubuntu2~ubuntu18.04.3_amd64.deb
116K    /var/cache/apt/archives/libnm-util2_1.10.6-2ubuntu1.4_amd64.deb
284K    /var/cache/apt/archives/libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb
2.0M    /var/cache/apt/archives/libqt5core5a_5.9.5+dfsg-0ubuntu2.5_amd64.deb
4.0K    /var/cache/apt/archives/libjson-glib-1.0-common_1.4.2-3ubuntu0.18.04.1_all.deb
508K    /var/cache/apt/archives/samba-common-bin_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_amd64.deb
7.7M    /var/cache/apt/archives/libicu60_60.2-3ubuntu3.1_amd64.deb
15M    /var/cache/apt/archives/libllvm9_1%3a9-2~ubuntu18.04.2_amd64.deb
376K    /var/cache/apt/archives/xfburn_0.5.5-1_amd64.deb
148K    /var/cache/apt/archives/python3-apt_1.6.5ubuntu0.2_amd64.deb
24K    /var/cache/apt/archives/gir1.2-javascriptcoregtk-4.0_2.28.1-0ubuntu0.18.04.1_amd64.deb
116K    /var/cache/apt/archives/qt5-gtk-platformtheme_5.9.5+dfsg-0ubuntu2.5_amd64.deb
76K    /var/cache/apt/archives/libgomp1_8.4.0-1ubuntu1~18.04_amd64.deb
1.6M    /var/cache/apt/archives/python3.6-minimal_3.6.9-1~18.04ubuntu1_amd64.deb
28K    /var/cache/apt/archives/libbind9-160_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
820K    /var/cache/apt/archives/firefox-locale-en_75.0+linuxmint2+tricia_amd64.deb
16K    /var/cache/apt/archives/python3-aptdaemon.gtk3widgets_1.1.1+bzr982-0ubuntu19.2_all.deb
60K    /var/cache/apt/archives/imagemagick-6-common_8%3a6.9.7.4+dfsg-16ubuntu6.8_all.deb
8.0K    /var/cache/apt/archives/dh-strip-nondeterminism_0.040-1.1~build1_all.deb
12K    /var/cache/apt/archives/initramfs-tools-bin_0.130ubuntu3.9_amd64.deb
4.9M    /var/cache/apt/archives/libgs9-common_9.26~dfsg+0-0ubuntu0.18.04.12_all.deb
2.4M    /var/cache/apt/archives/fwupd_1.2.10-1ubuntu2~ubuntu18.04.3_amd64.deb
28K    /var/cache/apt/archives/libjte1_1.20-2ubuntu2_amd64.deb
42M    /var/cache/apt/archives/thunderbird_1%3a68.7.0+build1-0ubuntu0.18.04.1_amd64.deb
160K    /var/cache/apt/archives/libltdl-dev_2.4.6-2_amd64.deb
36K    /var/cache/apt/archives/libwbclient0_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_amd64.deb
72K    /var/cache/apt/archives/libilmbase12_2.2.0-11ubuntu2_amd64.deb
232K    /var/cache/apt/archives/gstreamer1.0-plugins-ugly_1.14.5-0ubuntu1~18.04.1_amd64.deb
76K    /var/cache/apt/archives/python3-aptdaemon_1.1.1+bzr982-0ubuntu19.2_all.deb
28M    /var/cache/apt/archives/freepats_20060219-1_all.deb
108K    /var/cache/apt/archives/mount_2.31.1-0.4ubuntu3.6_amd64.deb
60K    /var/cache/apt/archives/libmpeg2-4_0.5.1-8_amd64.deb
356K    /var/cache/apt/archives/tcpdump_4.9.3-0ubuntu0.18.04.1_amd64.deb
2.2M    /var/cache/apt/archives/libqt5widgets5_5.9.5+dfsg-0ubuntu2.5_amd64.deb
68K    /var/cache/apt/archives/libglib2.0-bin_2.56.4-0ubuntu0.18.04.6_amd64.deb
28K    /var/cache/apt/archives/libgbm1_19.2.8-0ubuntu0~18.04.3_amd64.deb
520K    /var/cache/apt/archives/grub2-common_2.02-2ubuntu8.15_amd64.deb
60K    /var/cache/apt/archives/libsrtp2-1_2.1.0-1_amd64.deb
132K    /var/cache/apt/archives/liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb
884K    /var/cache/apt/archives/debhelper_11.1.6ubuntu2_all.deb
148K    /var/cache/apt/archives/libmodplug1_1%3a0.8.9.0-1_amd64.deb
112K    /var/cache/apt/archives/libxreaderview3_2.4.4+tricia_amd64.deb
324K    /var/cache/apt/archives/python3-pil_5.1.0-1ubuntu0.2_amd64.deb
du: cannot read directory '/var/cache/apt/archives/partial': Permission denied
4.0K    /var/cache/apt/archives/partial
24K    /var/cache/apt/archives/libunshield0_1.4.2-1_amd64.deb
68K    /var/cache/apt/archives/libvo-amrwbenc0_0.1.3-1_amd64.deb
1.2M    /var/cache/apt/archives/xviewer_2.4.3+tricia_amd64.deb
328K    /var/cache/apt/archives/libpython2.7-minimal_2.7.17-1~18.04ubuntu1_amd64.deb
20K    /var/cache/apt/archives/libdrm-amdgpu1_2.4.99-1ubuntu1~18.04.2_amd64.deb
16K    /var/cache/apt/archives/libsratom-0-0_0.6.0~dfsg0-1_amd64.deb
24K    /var/cache/apt/archives/libdrm-radeon1_2.4.99-1ubuntu1~18.04.2_amd64.deb
316K    /var/cache/apt/archives/autoconf_2.69-11_all.deb
40K    /var/cache/apt/archives/libkate1_0.4.1-7build1_amd64.deb
60K    /var/cache/apt/archives/libgupnp-1.0-4_1.0.2-2_amd64.deb
16K    /var/cache/apt/archives/libavcodec-extra_7%3a3.4.6-0ubuntu0.18.04.1_all.deb
8.0K    /var/cache/apt/archives/xserver-xorg-video-ati-hwe-18.04_1%3a19.0.1-1ubuntu1~18.04.1_amd64.deb
32K    /var/cache/apt/archives/libappindicator3-1_12.10.1+18.04.20180322.1-1mint2_amd64.deb
276K    /var/cache/apt/archives/gdbserver_8.1-0ubuntu3.2_amd64.deb
292K    /var/cache/apt/archives/libnm0_1.10.6-2ubuntu1.4_amd64.deb
664K    /var/cache/apt/archives/libexiv2-14_0.25-3.1ubuntu0.18.04.5_amd64.deb
52K    /var/cache/apt/archives/libdjvulibre-text_3.5.27.1-8ubuntu0.1_all.deb
48K    /var/cache/apt/archives/libidn2-0_2.0.4-1.1ubuntu0.2_amd64.deb
20K    /var/cache/apt/archives/python3-gdbm_3.6.9-1~18.04_amd64.deb
80K    /var/cache/apt/archives/htop_2.1.0-3_amd64.deb
60K    /var/cache/apt/archives/libdrm-intel1_2.4.99-1ubuntu1~18.04.2_amd64.deb
120K    /var/cache/apt/archives/mintsources_1.9.5_all.deb
60K    /var/cache/apt/archives/libsgutils2-2_1.42-2ubuntu1.18.04.2_amd64.deb
36K    /var/cache/apt/archives/uuid-runtime_2.31.1-0.4ubuntu3.6_amd64.deb
36M    /var/cache/apt/archives/linux-modules-extra-5.3.0-46-generic_5.3.0-46.38~18.04.1_amd64.deb
512K    /var/cache/apt/archives/xreader-common_2.4.4+tricia_all.deb
56K    /var/cache/apt/archives/libwildmidi2_0.4.2-1_amd64.deb
24K    /var/cache/apt/archives/libwayland-client0_1.16.0-1ubuntu1.1~18.04.3_amd64.deb
12K    /var/cache/apt/archives/libarchive-cpio-perl_0.10-1_all.deb
51M    /var/cache/apt/archives/firefox_75.0+linuxmint2+tricia_amd64.deb
8.2M    /var/cache/apt/archives/cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb
8.0K    /var/cache/apt/archives/libwayland-egl1_1.16.0-1ubuntu1.1~18.04.3_amd64.deb
180K    /var/cache/apt/archives/libmagic-mgc_1%3a5.32-2ubuntu0.3_amd64.deb
4.0K    /var/cache/apt/archives/binutils_2.30-21ubuntu1~18.04.3_amd64.deb
56K    /var/cache/apt/archives/mintdrivers_1.4.5_all.deb
12M    /var/cache/apt/archives/libwebkit2gtk-4.0-37_2.28.1-0ubuntu0.18.04.1_amd64.deb
5.1M    /var/cache/apt/archives/libjavascriptcoregtk-4.0-18_2.28.1-0ubuntu0.18.04.1_amd64.deb
192K    /var/cache/apt/archives/libtool_2.4.6-2_all.deb
188K    /var/cache/apt/archives/libisofs6_1.4.8-1_amd64.deb
9.3M    /var/cache/apt/archives/g++-7_7.5.0-3ubuntu1~18.04_amd64.deb
108K    /var/cache/apt/archives/libjpeg-turbo8_1.5.2-0ubuntu5.18.04.3_amd64.deb
48K    /var/cache/apt/archives/libxmlb1_0.1.8-1~ubuntu18.04.1_amd64.deb
1.5M    /var/cache/apt/archives/pix-data_2.4.6+tricia_all.deb
1.3M    /var/cache/apt/archives/xserver-xorg-core-hwe-18.04_2%3a1.20.5+git20191008-0ubuntu1~18.04.1_amd64.deb
384K    /var/cache/apt/archives/e2fsprogs_1.44.1-1ubuntu1.3_amd64.deb
272K    /var/cache/apt/archives/slick-greeter_1.3.2+tricia_amd64.deb
208K    /var/cache/apt/archives/libxreaderdocument3_2.4.4+tricia_amd64.deb
32K    /var/cache/apt/archives/xserver-xorg-legacy-hwe-18.04_2%3a1.20.5+git20191008-0ubuntu1~18.04.1_amd64.deb
13M    /var/cache/apt/archives/libllvm8_1%3a8-3~ubuntu18.04.2_amd64.deb
12K    /var/cache/apt/archives/thunderbird-locale-en-us_1%3a68.7.0+build1-0ubuntu0.18.04.1_all.deb
84K    /var/cache/apt/archives/lightdm-settings_1.3.3_all.deb
124K    /var/cache/apt/archives/libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb
1.6M    /var/cache/apt/archives/libmagickcore-6.q16-3_8%3a6.9.7.4+dfsg-16ubuntu6.8_amd64.deb
144K    /var/cache/apt/archives/adobe-flash-properties-gtk_1%3a20200414.1-0ubuntu0.18.04.1_amd64.deb
40K    /var/cache/apt/archives/libasound2-data_1.1.3-5ubuntu0.5_all.deb
2.2M    /var/cache/apt/archives/mesa-va-drivers_19.2.8-0ubuntu0~18.04.3_amd64.deb
148K    /var/cache/apt/archives/xserver-xorg-video-radeon-hwe-18.04_1%3a19.0.1-1ubuntu1~18.04.1_amd64.deb
1.7M    /var/cache/apt/archives/grub-common_2.02-2ubuntu8.15_amd64.deb
12K    /var/cache/apt/archives/libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb
12K    /var/cache/apt/archives/libhal1-flash_0.3.3-2_amd64.deb
20K    /var/cache/apt/archives/python-apt-common_1.6.5ubuntu0.2_all.deb
0    /var/cache/apt/archives/lock
72M    /var/cache/apt/archives/linux-firmware_1.173.17_all.deb
12K    /var/cache/apt/archives/libwayland-cursor0_1.16.0-1ubuntu1.1~18.04.3_amd64.deb
40K    /var/cache/apt/archives/xapps-common_1.6.10+tricia_all.deb
4.0K    /var/cache/apt/archives/network-manager-config-connectivity-ubuntu_1.10.6-2ubuntu1.4_all.deb
884K    /var/cache/apt/archives/util-linux_2.31.1-0.4ubuntu3.6_amd64.deb
28K    /var/cache/apt/archives/fwupd-signed_1.10~ubuntu18.04.3+1.2.10-1ubuntu2~ubuntu18.04.3_amd64.deb
72K    /var/cache/apt/archives/libc-dev-bin_2.27-3ubuntu1_amd64.deb
780K    /var/cache/apt/archives/libvpx5_1.7.0-3ubuntu0.18.04.1_amd64.deb
136K    /var/cache/apt/archives/python3-psutil_5.4.2-1ubuntu0.1_amd64.deb
348K    /var/cache/apt/archives/smbclient_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_amd64.deb
16K    /var/cache/apt/archives/libdvd-pkg_1.4.2-1-1_all.deb
20K    /var/cache/apt/archives/python3-reportlab-accel_3.4.0-3ubuntu0.1_amd64.deb
772K    /var/cache/apt/archives/pulseaudio_1%3a11.1-1ubuntu7.5_amd64.deb
108K    /var/cache/apt/archives/fdisk_2.31.1-0.4ubuntu3.6_amd64.deb
524K    /var/cache/apt/archives/libpython3.6-minimal_3.6.9-1~18.04ubuntu1_amd64.deb
16K    /var/cache/apt/archives/dh-autoreconf_17_all.deb
60K    /var/cache/apt/archives/bsdutils_1%3a2.31.1-0.4ubuntu3.6_amd64.deb
12K    /var/cache/apt/archives/initramfs-tools_0.130ubuntu3.9_all.deb
488K    /var/cache/apt/archives/thunderbird-locale-en_1%3a68.7.0+build1-0ubuntu0.18.04.1_amd64.deb
44K    /var/cache/apt/archives/ghostscript-x_9.26~dfsg+0-0ubuntu0.18.04.12_amd64.deb
20K    /var/cache/apt/archives/libuuid1_2.31.1-0.4ubuntu3.6_amd64.deb
8.0K    /var/cache/apt/archives/finalrd_3~ubuntu18.04.0_all.deb
68K    /var/cache/apt/archives/gir1.2-ibus-1.0_1.5.17-3ubuntu5.3_amd64.deb
108K    /var/cache/apt/archives/libpam-systemd_237-3ubuntu10.39_amd64.deb
160K    /var/cache/apt/archives/aptdaemon-data_1.1.1+bzr982-0ubuntu19.2_all.deb
44K    /var/cache/apt/archives/systemd-coredump_237-3ubuntu10.39_amd64.deb
392K    /var/cache/apt/archives/libstdc++6_8.4.0-1ubuntu1~18.04_amd64.deb
316K    /var/cache/apt/archives/libgstreamer-plugins-bad1.0-0_1.14.5-0ubuntu1~18.04.1_amd64.deb
56K    /var/cache/apt/archives/mintwelcome_2.4.2_all.deb
124K    /var/cache/apt/archives/gstreamer1.0-libav_1.14.5-0ubuntu1~18.04.1_amd64.deb
2.8M    /var/cache/apt/archives/systemd_237-3ubuntu10.39_amd64.deb
92K    /var/cache/apt/archives/libvulkan1_1.1.70+dfsg1-1ubuntu0.18.04.1_amd64.deb
16K    /var/cache/apt/archives/apturl_0.5.2+linuxmint8_all.deb
120K    /var/cache/apt/archives/libgd3_2.2.5-4ubuntu0.4_amd64.deb
1.2M    /var/cache/apt/archives/linux-headers-5.3.0-46-generic_5.3.0-46.38~18.04.1_amd64.deb
648K    /var/cache/apt/archives/libxml2_2.9.4+dfsg1-6.1ubuntu1.3_amd64.deb
8.0K    /var/cache/apt/archives/gir1.2-json-1.0_1.4.2-3ubuntu0.18.04.1_amd64.deb
28K    /var/cache/apt/archives/libglapi-mesa_19.2.8-0ubuntu0~18.04.3_amd64.deb
48K    /var/cache/apt/archives/initramfs-tools-core_0.130ubuntu3.9_all.deb
224K    /var/cache/apt/archives/libflatpak0_1.0.9-0ubuntu0.1_amd64.deb
352K    /var/cache/apt/archives/libasound2_1.1.3-5ubuntu0.5_amd64.deb
36K    /var/cache/apt/archives/openjdk-11-jre_11.0.7+10-2ubuntu2~18.04_amd64.deb
8.0K    /var/cache/apt/archives/libgl1-mesa-glx_19.2.8-0ubuntu0~18.04.3_amd64.deb
440K    /var/cache/apt/archives/xviewer-dbg_2.4.3+tricia_amd64.deb
1000K    /var/cache/apt/archives/linux-libc-dev_4.15.0-96.97_amd64.deb
156K    /var/cache/apt/archives/libext2fs2_1.44.1-1ubuntu1.3_amd64.deb
880K    /var/cache/apt/archives/grub-pc-bin_2.02-2ubuntu8.15_amd64.deb
84K    /var/cache/apt/archives/libsmartcols1_2.31.1-0.4ubuntu3.6_amd64.deb
244K    /var/cache/apt/archives/grub2-theme-mint_1.2.2_all.deb
60K    /var/cache/apt/archives/libjson-glib-1.0-0_1.4.2-3ubuntu0.18.04.1_amd64.deb
28K    /var/cache/apt/archives/rfkill_2.31.1-0.4ubuntu3.6_amd64.deb
12K    /var/cache/apt/archives/libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb
12K    /var/cache/apt/archives/gir1.2-flatpak-1.0_1.0.9-0ubuntu0.1_amd64.deb
4.0K    /var/cache/apt/archives/linux-generic-hwe-18.04_5.3.0.46.102_amd64.deb
28K    /var/cache/apt/archives/libmms0_0.6.4-2_amd64.deb
128K    /var/cache/apt/archives/libdevmapper1.02.1_2%3a1.02.145-4.1ubuntu3.18.04.2_amd64.deb
4.0K    /var/cache/apt/archives/bluetooth_5.48-0ubuntu3.4_all.deb
11M    /var/cache/apt/archives/linux-headers-5.3.0-46_5.3.0-46.38~18.04.1_all.deb
44K    /var/cache/apt/archives/libbsd0_0.8.7-1ubuntu0.1_amd64.deb
56K    /var/cache/apt/archives/libsmbclient_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_amd64.deb
76K    /var/cache/apt/archives/libexif12_0.6.21-4ubuntu0.1_amd64.deb
24K    /var/cache/apt/archives/cabextract_1.6-1.1_amd64.deb
16K    /var/cache/apt/archives/gir1.2-appindicator3-0.1_12.10.1+18.04.20180322.1-1mint2_amd64.deb
732K    /var/cache/apt/archives/libdns-export1100_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
92K    /var/cache/apt/archives/libopencore-amrnb0_0.1.3-2.1_amd64.deb
8.0K    /var/cache/apt/archives/libegl1-mesa_19.2.8-0ubuntu0~18.04.3_amd64.deb
72K    /var/cache/apt/archives/gir1.2-webkit2-4.0_2.28.1-0ubuntu0.18.04.1_amd64.deb
52K    /var/cache/apt/archives/libsasl2-2_2.1.27~101-g0780600+dfsg-3ubuntu2.1_amd64.deb
1.4M    /var/cache/apt/archives/libpython3.6_3.6.9-1~18.04ubuntu1_amd64.deb
16K    /var/cache/apt/archives/xfce4-xapp-status-plugin_0.1.4+tricia_amd64.deb
12K    /var/cache/apt/archives/libdevmapper-event1.02.1_2%3a1.02.145-4.1ubuntu3.18.04.2_amd64.deb
84K    /var/cache/apt/archives/python3-apport_2.20.9-0ubuntu7.14_all.deb
500K    /var/cache/apt/archives/automake_1%3a1.15.1-3ubuntu2_all.deb
24K    /var/cache/apt/archives/file_1%3a5.32-2ubuntu0.3_amd64.deb
144K    /var/cache/apt/archives/libburn4_1.4.8-1_amd64.deb
48K    /var/cache/apt/archives/libofa0_0.9.3-15_amd64.deb
124K    /var/cache/apt/archives/libnice10_0.1.14-1_amd64.deb
464K    /var/cache/apt/archives/python3-reportlab_3.4.0-3ubuntu0.1_all.deb
740K    /var/cache/apt/archives/xreader-dbg_2.4.4+tricia_amd64.deb
284K    /var/cache/apt/archives/libarchive13_3.2.2-3.1ubuntu0.6_amd64.deb
8.0K    /var/cache/apt/archives/libglib2.0-data_2.56.4-0ubuntu0.18.04.6_all.deb
64K    /var/cache/apt/archives/pulseaudio-utils_1%3a11.1-1ubuntu7.5_amd64.deb
40K    /var/cache/apt/archives/libcc1-0_8.4.0-1ubuntu1~18.04_amd64.deb
52K    /var/cache/apt/archives/xxd_2%3a8.0.1453-1ubuntu1.3_amd64.deb
4.0K    /var/cache/apt/archives/linux-headers-generic-hwe-18.04_5.3.0.46.102_amd64.deb
12K    /var/cache/apt/archives/libcom-err2_1.44.1-1ubuntu1.3_amd64.deb
32K    /var/cache/apt/archives/amd64-microcode_3.20191021.1+really3.20181128.1~ubuntu0.18.04.1_amd64.deb
288K    /var/cache/apt/archives/libmagickwand-6.q16-3_8%3a6.9.7.4+dfsg-16ubuntu6.8_amd64.deb
16K    /var/cache/apt/archives/xsensors_0.70-3build1_amd64.deb
96K    /var/cache/apt/archives/libegl-mesa0_19.2.8-0ubuntu0~18.04.3_amd64.deb
136K    /var/cache/apt/archives/python-psutil_5.4.2-1ubuntu0.1_amd64.deb
20K    /var/cache/apt/archives/libisccc160_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
4.0K    /var/cache/apt/archives/fwupdate-signed_12-7~ubuntu18.04.3_amd64.deb
4.2M    /var/cache/apt/archives/xul-ext-lightning_1%3a68.7.0+build1-0ubuntu0.18.04.1_amd64.deb
632K    /var/cache/apt/archives/libgnutls30_3.5.18-1ubuntu1.3_amd64.deb
228K    /var/cache/apt/archives/po-debconf_1.0.20_all.deb
32K    /var/cache/apt/archives/dmeventd_2%3a1.02.145-4.1ubuntu3.18.04.2_amd64.deb
232K    /var/cache/apt/archives/libde265-0_1.0.2-2build1_amd64.deb
12K    /var/cache/apt/archives/python3-problem-report_2.20.9-0ubuntu7.14_all.deb
4.4M    /var/cache/apt/archives/libavcodec-extra57_7%3a3.4.6-0ubuntu0.18.04.1_amd64.deb
32K    /var/cache/apt/archives/libdrm2_2.4.99-1ubuntu1~18.04.2_amd64.deb
164K    /var/cache/apt/archives/libfdisk1_2.31.1-0.4ubuntu3.6_amd64.deb
64K    /var/cache/apt/archives/bluez-cups_5.48-0ubuntu3.4_amd64.deb
40K    /var/cache/apt/archives/psensor-common_1.1.5-1ubuntu3_all.deb
1.4M    /var/cache/apt/archives/libxatracker2_19.2.8-0ubuntu0~18.04.3_amd64.deb
544K    /var/cache/apt/archives/mintupdate_5.5.9_all.deb
44K    /var/cache/apt/archives/libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb
3.3M    /var/cache/apt/archives/pix-dbg_2.4.6+tricia_amd64.deb
136K    /var/cache/apt/archives/libglx-mesa0_19.2.8-0ubuntu0~18.04.3_amd64.deb
2.5M    /var/cache/apt/archives/libc6-dev_2.27-3ubuntu1_amd64.deb
16K    /var/cache/apt/archives/libsasl2-modules-db_2.1.27~101-g0780600+dfsg-3ubuntu2.1_amd64.deb
32K    /var/cache/apt/archives/libpulsedsp_1%3a11.1-1ubuntu7.5_amd64.deb
916K    /var/cache/apt/archives/mint-translations_2020.01.06_all.deb
164K    /var/cache/apt/archives/bluez-obexd_5.48-0ubuntu3.4_amd64.deb
1.2M    /var/cache/apt/archives/blueberry_1.3.4_all.deb
144K    /var/cache/apt/archives/dnsutils_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
128K    /var/cache/apt/archives/unrar_1%3a5.5.8-1_amd64.deb
200K    /var/cache/apt/archives/python3.6_3.6.9-1~18.04ubuntu1_amd64.deb
20K    /var/cache/apt/archives/libsord-0-0_0.16.0~dfsg0-1_amd64.deb
408K    /var/cache/apt/archives/libgcrypt20_1.8.1-4ubuntu1.2_amd64.deb
100K    /var/cache/apt/archives/libdca0_0.0.5-10_amd64.deb
328K    /var/cache/apt/archives/rsync_3.1.2-2.1ubuntu1.1_amd64.deb
28K    /var/cache/apt/archives/libmjpegutils-2.1-0_1%3a2.1.0+debian-5_amd64.deb
160K    /var/cache/apt/archives/libisc-export169_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
48K    /var/cache/apt/archives/casper_1.394.3_amd64.deb
480K    /var/cache/apt/archives/libbinutils_2.30-21ubuntu1~18.04.3_amd64.deb
1.3M    /var/cache/apt/archives/python2.7-minimal_2.7.17-1~18.04ubuntu1_amd64.deb
928K    /var/cache/apt/archives/bluez_5.48-0ubuntu3.4_amd64.deb
24K    /var/cache/apt/archives/libgssdp-1.0-3_1.0.2-2_amd64.deb
260K    /var/cache/apt/archives/libpulse0_1%3a11.1-1ubuntu7.5_amd64.deb
72K    /var/cache/apt/archives/samba-common_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_all.deb
56K    /var/cache/apt/archives/libudev1_237-3ubuntu10.39_amd64.deb
36K    /var/cache/apt/archives/liba52-0.7.4_0.7.4-19_amd64.deb
40K    /var/cache/apt/archives/liblilv-0-0_0.24.2~dfsg0-1_amd64.deb
68K    /var/cache/apt/archives/dkms_2.3-3ubuntu9.7_all.deb
1.1M    /var/cache/apt/archives/libnss3_2%3a3.35-2ubuntu2.7_amd64.deb
9.4M    /var/cache/apt/archives/adobe-flashplugin_1%3a20200414.1-0ubuntu0.18.04.1_amd64.deb
204K    /var/cache/apt/archives/libsystemd0_237-3ubuntu10.39_amd64.deb
56K    /var/cache/apt/archives/bind9-host_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
48K    /var/cache/apt/archives/iucode-tool_2.3.1-1_amd64.deb
244K    /var/cache/apt/archives/python2.7_2.7.17-1~18.04ubuntu1_amd64.deb
52K    /var/cache/apt/archives/dmidecode_3.1-1ubuntu0.1_amd64.deb
8.0K    /var/cache/apt/archives/xserver-xorg-video-all-hwe-18.04_1%3a7.7+19ubuntu8~18.04.3_amd64.deb
8.0K    /var/cache/apt/archives/libdrm-common_2.4.99-1ubuntu1~18.04.2_all.deb
1.1M    /var/cache/apt/archives/libpython2.7_2.7.17-1~18.04ubuntu1_amd64.deb
168K    /var/cache/apt/archives/libssh-gcrypt-4_0.8.0~20170825.94fa1e38-1ubuntu0.6_amd64.deb
1.1M    /var/cache/apt/archives/chromium-codecs-ffmpeg-extra_80.0.3987.163-0ubuntu0.18.04.1_amd64.deb
176K    /var/cache/apt/archives/xreader_2.4.4+tricia_amd64.deb
304K    /var/cache/apt/archives/gstreamer1.0-vaapi_1.14.5-0ubuntu1~ubuntu18.04.1_amd64.deb
716K    /var/cache/apt/archives/pix_2.4.6+tricia_amd64.deb
20K    /var/cache/apt/archives/libdrm-nouveau2_2.4.99-1ubuntu1~18.04.2_amd64.deb
76K    /var/cache/apt/archives/dmsetup_2%3a1.02.145-4.1ubuntu3.18.04.2_amd64.deb
736K    /var/cache/apt/archives/flatpak_1.0.9-0ubuntu0.1_amd64.deb
14M    /var/cache/apt/archives/linux-modules-5.3.0-46-generic_5.3.0-46.38~18.04.1_amd64.deb
12K    /var/cache/apt/archives/libsys-hostname-long-perl_1.5-1_all.deb
64K    /var/cache/apt/archives/libbluetooth3_5.48-0ubuntu3.4_amd64.deb
468K    /var/cache/apt/archives/vim-tiny_2%3a8.0.1453-1ubuntu1.3_amd64.deb
16K    /var/cache/apt/archives/systemd-sysv_237-3ubuntu10.39_amd64.deb
380K    /var/cache/apt/archives/gnome-calculator_1%3a3.28.2-1~ubuntu18.04.3_amd64.deb
24K    /var/cache/apt/archives/libmail-sendmail-perl_0.80-1_all.deb
52K    /var/cache/apt/archives/ghostscript_9.26~dfsg+0-0ubuntu0.18.04.12_amd64.deb
1.9M    /var/cache/apt/archives/libpython2.7-stdlib_2.7.17-1~18.04ubuntu1_amd64.deb
2.3M    /var/cache/apt/archives/intel-microcode_3.20191115.1ubuntu0.18.04.2_amd64.deb
16K    /var/cache/apt/archives/aptdaemon_1.1.1+bzr982-0ubuntu19.2_all.deb
40K    /var/cache/apt/archives/libserd-0-0_0.28.0~dfsg0-1_amd64.deb
64K    /var/cache/apt/archives/libsidplay1v5_1.36.59-11_amd64.deb
16K    /var/cache/apt/archives/xserver-xorg-hwe-18.04_1%3a7.7+19ubuntu8~18.04.3_amd64.deb
132K    /var/cache/apt/archives/libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb
1.3M    /var/cache/apt/archives/libssl1.1_1.1.1-1ubuntu2.1~18.04.5_amd64.deb
48K    /var/cache/apt/archives/libsasl2-modules_2.1.27~101-g0780600+dfsg-3ubuntu2.1_amd64.deb
16K    /var/cache/apt/archives/libfile-stripnondeterminism-perl_0.040-1.1~build1_all.deb
192K    /var/cache/apt/archives/libqt5dbus5_5.9.5+dfsg-0ubuntu2.5_amd64.deb
1.1M    /var/cache/apt/archives/udev_237-3ubuntu10.39_amd64.deb
36K    /var/cache/apt/archives/liblwres160_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
9.0M    /var/cache/apt/archives/gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb
152K    /var/cache/apt/archives/libfaad2_2.8.8-1_amd64.deb
80K    /var/cache/apt/archives/libnm-glib4_1.10.6-2ubuntu1.4_amd64.deb
84K    /var/cache/apt/archives/libsnapd-glib1_1.49-0ubuntu0.18.04.1_amd64.deb
136K    /var/cache/apt/archives/libmount1_2.31.1-0.4ubuntu3.6_amd64.deb
488K    /var/cache/apt/archives/libsqlite3-0_3.22.0-1ubuntu0.3_amd64.deb
16K    /var/cache/apt/archives/libgupnp-igd-1.0-4_0.2.5-1_amd64.deb
8.0K    /var/cache/apt/archives/mint-meta-codecs_2019.12.28_all.deb
40K    /var/cache/apt/archives/autotools-dev_20180224.1_all.deb
48K    /var/cache/apt/archives/libisccfg160_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
40K    /var/cache/apt/archives/libsoundtouch1_1.9.2-3_amd64.deb
44K    /var/cache/apt/archives/libmplex2-2.1-0_1%3a2.1.0+debian-5_amd64.deb
44K    /var/cache/apt/archives/ubuntu-drivers-common_1%3a0.5.2.5_amd64.deb
68K    /var/cache/apt/archives/xserver-xorg-video-amdgpu-hwe-18.04_19.0.1-1ubuntu1~18.04.1_amd64.deb
132K    /var/cache/apt/archives/libibus-1.0-5_1.5.17-3ubuntu5.3_amd64.deb
20K    /var/cache/apt/archives/libirs160_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
1.6M    /var/cache/apt/archives/gstreamer1.0-plugins-bad_1.14.5-0ubuntu1~18.04.1_amd64.deb
424K    /var/cache/apt/archives/liblvm2app2.2_2.02.176-4.1ubuntu3.18.04.2_amd64.deb
912K    /var/cache/apt/archives/lvm2_2.02.176-4.1ubuntu3.18.04.2_amd64.deb
316K    /var/cache/apt/archives/file-roller_3.28.0-1ubuntu1.2_amd64.deb
1.7M    /var/cache/apt/archives/libpython3.6-stdlib_3.6.9-1~18.04ubuntu1_amd64.deb
20K    /var/cache/apt/archives/linux-base_4.5ubuntu1.1_all.deb
136K    /var/cache/apt/archives/libfluidsynth1_1.1.9-1_amd64.deb
8.0K    /var/cache/apt/archives/distro-info-data_0.37ubuntu0.7_all.deb
456K    /var/cache/apt/archives/gparted_0.30.0-3ubuntu2_amd64.deb
1.5M    /var/cache/apt/archives/libstdc++-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb
2.2M    /var/cache/apt/archives/libgs9_9.26~dfsg+0-0ubuntu0.18.04.12_amd64.deb
40K    /var/cache/apt/archives/libgcc1_1%3a8.4.0-1ubuntu1~18.04_amd64.deb
8.4M    /var/cache/apt/archives/linux-image-5.3.0-46-generic_5.3.0-46.38~18.04.1_amd64.deb
416K    /var/cache/apt/archives/autopoint_0.19.8.1-6ubuntu0.3_all.deb
232K    /var/cache/apt/archives/libisc169_1%3a9.11.3+dfsg-1ubuntu1.11_amd64.deb
20K    /var/cache/apt/archives/gcc-7-base_7.5.0-3ubuntu1~18.04_amd64.deb
104K    /var/cache/apt/archives/libnss-systemd_237-3ubuntu10.39_amd64.deb
60K    /var/cache/apt/archives/psensor_1.1.5-1ubuntu3_amd64.deb
44K    /var/cache/apt/archives/gir1.2-networkmanager-1.0_1.10.6-2ubuntu1.4_amd64.deb
68K    /var/cache/apt/archives/libmagic1_1%3a5.32-2ubuntu0.3_amd64.deb
8.0K    /var/cache/apt/archives/libwildmidi-config_0.4.2-1_all.deb
68K    /var/cache/apt/archives/nautilus-data_1%3a3.26.4-0~ubuntu18.04.5_all.deb
8.5M    /var/cache/apt/archives/libgl1-mesa-dri_19.2.8-0ubuntu0~18.04.3_amd64.deb
28K    /var/cache/apt/archives/xserver-common_2%3a1.19.6-1ubuntu4.4_all.deb
1.5M    /var/cache/apt/archives/network-manager_1.10.6-2ubuntu1.4_amd64.deb
192K    /var/cache/apt/archives/binutils-common_2.30-21ubuntu1~18.04.3_amd64.deb
4.0K    /var/cache/apt/archives/linux-image-generic-hwe-18.04_5.3.0.46.102_amd64.deb
268K    /var/cache/apt/archives/libspandsp2_0.0.6+dfsg-0.1_amd64.deb
12K    /var/cache/apt/archives/libss2_1.44.1-1ubuntu1.3_amd64.deb
48K    /var/cache/apt/archives/libopencore-amrwb0_0.1.3-2.1_amd64.deb
576K    /var/cache/apt/archives/liblvm2cmd2.02_2.02.176-4.1ubuntu3.18.04.2_amd64.deb
124K    /var/cache/apt/archives/libblkid1_2.31.1-0.4ubuntu3.6_amd64.deb
24K    /var/cache/apt/archives/libpulse-mainloop-glib0_1%3a11.1-1ubuntu7.5_amd64.deb
4.0K    /var/cache/apt/archives/e2fslibs_1.44.1-1ubuntu1.3_amd64.deb
88K    /var/cache/apt/archives/cpio_2.12+dfsg-6ubuntu0.18.04.1_amd64.deb
1.8M    /var/cache/apt/archives/binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.3_amd64.deb
8.0K    /var/cache/apt/archives/libgles2-mesa_19.2.8-0ubuntu0~18.04.3_amd64.deb
160K    /var/cache/apt/archives/mintreport_1.1.6_all.deb
4.0K    /var/cache/apt/archives/fwupdate_12-7~ubuntu18.04.3_amd64.deb
5.1M    /var/cache/apt/archives/samba-libs_2%3a4.7.6+dfsg~ubuntu-0ubuntu2.15_amd64.deb
76K    /var/cache/apt/archives/libzbar0_0.10+doc-10.1build2_amd64.deb
40K    /var/cache/apt/archives/libmspack0_0.6-3ubuntu0.3_amd64.deb
68K    /var/cache/apt/archives/libmpeg2encpp-2.1-0_1%3a2.1.0+debian-5_amd64.deb
2.3M    /var/cache/apt/archives/libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb
521M    /var/cache/apt/archives
[email protected]:~$

Ran these commands.
Code:
sudo apt clean
sudo apt autoclean
sudo apt autoremove


After.
Code:
[email protected]:~$  du -ah /var/cache/apt/archives
du: cannot read directory '/var/cache/apt/archives/partial': Permission denied
4.0K    /var/cache/apt/archives/partial
0    /var/cache/apt/archives/lock
36K    /var/cache/apt/archives
[email protected]:~$
 
Last edited by a moderator:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top