not auto-updating the package lists

Bug #540219 reported by Brian J. Murrell
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: apt

After upgrading to Lucid, the apt cron.daily script is no longer updating my package lists daily.

apt:
  Installed: 0.7.25.3ubuntu1
  Candidate: 0.7.25.3ubuntu3
  Version table:
     0.7.25.3ubuntu3 0
        500 http://apt.interlinx.bc.ca lucid/main Packages
 *** 0.7.25.3ubuntu1 0
        100 /var/lib/dpkg/status

Without really understanding everything the cron script is doing, using a Karmic machine as reference it appears that this is the problem:

lucid # apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval \
> APT::Periodic::Download-Upgradeable-Packages

That returns no output at all. On my working Karmic machine:

karmic # apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval \
> APT::Periodic::Download-Upgradeable-Packages
UpdateInterval='1'
DownloadUpgradeableInterval='0'

Revision history for this message
Torsten Spindler (tspindler) wrote :

Here the output of the command on my Lucid machine:
$ apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages
UpdateInterval='1'
DownloadUpgradeableInterval='1'

Probably the problem is somewhere else.

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote : Re: [Bug 540219] Re: not auto-updating the package lists

On Fri, 2010-03-19 at 14:11 +0000, Torsten Spindler wrote:
> Here the output of the command on my Lucid machine:
> $ apt-config shell UpdateInterval APT::Periodic::Update-Package-Lists DownloadUpgradeableInterval APT::Periodic::Download-Upgradeable-Packages
> UpdateInterval='1'
> DownloadUpgradeableInterval='1'
>
> Probably the problem is somewhere else.

Which problem exactly? That on my Lucid (upgraded from Hardy -- is
yours a Hardy upgrade or fresh install?) machine, the same command
returns no result is most definitely the issue. The question is
therefore, why does my machine have no output for that command and is
this a Hardy->Lucid regression?

Revision history for this message
Adam Collard (adam-collard) wrote :

Can you please confirm what's in /etc/apt/apt.conf.d/10periodic?

Changed in apt (Ubuntu):
status: New → Incomplete
Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

On Thu, 2010-09-09 at 19:11 +0000, Adam Collard wrote:
> Can you please confirm what's in /etc/apt/apt.conf.d/10periodic?

File does not exist because update-notifier-common was not installed.

I just installed it, so let's see what happens.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apt (Ubuntu) because there has been no activity for 60 days.]

Changed in apt (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

The fix in comment #4 seems to have resolve this issue. I would suggest changing the resolution of this bug from Expired to resolved/fixed, etc.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.