forked from altcloud/mkimage-profiles
99cleanupdb: drop silly apt purge attempt
Why would anyone try to remove apt when it's needed for package dependency tracking for the installation, it only takes a less cursory look at the build.log to figure out it didn't actually happen anyways...
This commit is contained in:
parent
8989fc2771
commit
07d812d7ff
@ -3,9 +3,6 @@
|
|||||||
echo "** install2 packages before rpmdb purge:"
|
echo "** install2 packages before rpmdb purge:"
|
||||||
rpmquery -a --qf='%{NAME} %{VERSION}-%{RELEASE}\n'
|
rpmquery -a --qf='%{NAME} %{VERSION}-%{RELEASE}\n'
|
||||||
|
|
||||||
# not going to need them without rpmdb, it's not even rescue anymore
|
|
||||||
apt-get remove -f -y apt libapt
|
|
||||||
|
|
||||||
# remove rpm, apt databases and cache
|
# remove rpm, apt databases and cache
|
||||||
find /var/lib/rpm /var/lib/apt /var/cache/apt -type f -delete
|
find /var/lib/rpm /var/lib/apt /var/cache/apt -type f -delete
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user