OpenVZ Forum


Home » General » Support » Ubuntu 12.04 template problem - apticron reports e2fsprogs and libss2 as upgradable
Ubuntu 12.04 template problem - apticron reports e2fsprogs and libss2 as upgradable [message #47405] Fri, 10 August 2012 12:53 Go to next message
kerosin is currently offline  kerosin
Messages: 1
Registered: August 2012
Junior Member
Hello,


since I've started using 12.04 template for creating my new VMs I'm having this problem:

apticron reports everyday that packages e2fsprogs and libss2 are currently pending an upgrade:

apticron report [Thu, 09 Aug 2012 19:11:08 +0200]
========================================================================

apticron has detected that some packages need upgrading on:

        yyyyy.xxx
        [ 127.0.0.2 172.x.x.x 172.x.x.x ]

The following packages are currently pending an upgrade:

        [b]e2fsprogs 1.42-1ubuntu2
        libss2 1.42-1ubuntu2[/b]

========================================================================

Package Details:

Reading changelogs...
apt-listchanges: didn't find any valid .deb archives



But those packages are not installed ...

Then I relized that apticron reports data which are passed from 'apt-get dist-upgrade' command, so I've run (output is in czech so I'll translated some parts):

 # apt-get -s dist-upgrade

[Čtu seznamy balíků... Hotovo
Vytvářím strom závislostí       
Čtu stavové informace... Hotovo
Propočítávám aktualizaci... Hotovo
Following NEW packages will be installed:
  e2fsprogs libss2
0 aktualizováno, 2 newly installed, 0 k odstranění a 0 neaktualizováno.
Inst libss2 (1.42-1ubuntu2 Ubuntu:12.04/precise [i386])
Conf libss2 (1.42-1ubuntu2 Ubuntu:12.04/precise [i386])
Inst e2fsprogs (1.42-1ubuntu2 Ubuntu:12.04/precise [i386])
Conf e2fsprogs (1.42-1ubuntu2 Ubuntu:12.04/precise [i386])



I guess installing those packages according to nature of OpenVZ is not wise.

Have anyone experienced this before? Do you have idea how to fix this (apt-get --ignore-hold dist-upgrade?) ?

Thank you for any reply.

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.
Previous Topic: vzctl enter got signal 9
Next Topic: kernel crash
Goto Forum:
  


Current Time: Fri Aug 23 14:26:13 GMT 2024

Total time taken to generate the page: 0.05683 seconds