Ensure to update APT repositories
This commit is contained in:
parent
850aa4c472
commit
e659a0eb1e
|
@ -42,16 +42,19 @@ tar xzf /tmp/latecommand.tar.gz -C /tmp/
|
|||
|
||||
# APT {{{
|
||||
|
||||
# ensure to install aptitude
|
||||
## Update repositories
|
||||
apt update
|
||||
|
||||
## ensure to install aptitude
|
||||
apt install -y aptitude
|
||||
|
||||
# ensure to remove useless x11 packages
|
||||
## ensure to remove useless x11 packages
|
||||
aptitude remove -y x11-common libgl1-mesa-glx xauth libx11-6 libxcomposite1 libxdamage1 libxext6 libxfixes3 libxft2 libxi6 libxinerama1 libxkbfile1 libxmuu1 libxpm4 libxrandr2 libxrender1 libxv1 libxxf86dga1 libxxf86vm1 libx11-data
|
||||
|
||||
# clean useless rc files
|
||||
## clean useless rc files
|
||||
aptitude -y purge '~c'
|
||||
|
||||
# clean downloaded and list of packages
|
||||
## clean downloaded and list of packages
|
||||
aptitude clean
|
||||
rm -f /var/cache/apt/*.bin
|
||||
|
||||
|
|
Loading…
Reference in New Issue