[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt-get enhancement



Quite often, apt-get upgrade (and dist-upgrade) tells us there's
insufficient disk space in /var.

When this happens, I use the following 2 lines until the upgrade is complete:

apt-get install `apt-get upgrade -s | grep "^Inst " | cut -d" " -f2 | head -40`
apt-get clean

Sometimes, I have to intersperse these with the odd apt-get install -f
or even use dpkg in the raw (to install a package or use --pending
--configure). Sometimes, things do get desperate and I have to resort
to removing packages that are causing problems before apt-get allows me
to continue.

Please can apt-get be enhanced to do the right thing in this case and
essentially go through the necessary hoops itself rather than require
manual intervention?

-- 
Rgds, Andrew Chittenden


*********************************************************************
This e-mail and any attachment is confidential. It may only be read, copied and used by the intended recipient(s). If you are not the intended recipient(s), you may not copy, use, distribute, forward, store or disclose this e-mail or any attachment. If you are not the intended recipient(s) or have otherwise received this e-mail in error, you should destroy it and any attachment and notify the sender by reply e-mail or send a message to sysadmin@bluearc.com
*********************************************************************



Reply to: