OpenVZ Forum


Home » General » Support » Ubuntu 12.04 template problem - apticron reports e2fsprogs and libss2 as upgradable
Re: Ubuntu 12.04 template problem - apticron reports e2fsprogs and libss2 as upgradable [message #49037 is a reply to message #47405] Fri, 01 March 2013 09:01 Go to previous message
gorgio is currently offline  gorgio
Messages: 1
Registered: March 2013
Junior Member
First you need to hold that packages by:
apt-mark hold e2fsprogs && apt-mark hold libss2


Then you ned to modificate /usr/sbin/apticron, find
PKGNAMES=`/usr/bin/apt-get -q -y --allow-unauthenticated -s dist-upgrade | \
          /bin/grep ^Inst | /usr/bin/cut -d\  -f2 | /usr/bin/sort`


and

if [ -n "$PKGNAMES" ] ; then

        # do the upgrade downloads
        /usr/bin/apt-get -qq -d --allow-unauthenticated --force-yes dist-upgrade > /dev/null

  (


and remove --ignore-hold from that.

I know its not best solution, but worked for me.
 
Read Message
Read Message
Previous Topic: vzctl enter got signal 9
Next Topic: kernel crash
Goto Forum:
  


Current Time: Tue Oct 01 14:20:15 GMT 2024

Total time taken to generate the page: 0.04028 seconds