Unattended-upgrades doesn't upgrade packages in repositories local to the filesystem.

Bug #56832 reported by Michael R. Head
4
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

I've got a local mirror of dapper's main and restricted repositories for use by a number of machines here, using debmirror. I was able to use file:/// deb lines in apt's source.list file and it worked with all the other tools for package management, but I noticed that unattented-upgrades failed:

2006-08-17 07:35:19,129 INFO Initial blacklisted packages:
2006-08-17 07:35:19,129 INFO Starting unattended upgrades script
2006-08-17 07:35:19,129 INFO Allowed origins are: ["['Ubuntu', 'dapper-security']"]
2006-08-17 07:35:20,394 INFO Packages that are upgraded: libkrb53 libmagick9
2006-08-17 07:35:20,395 INFO Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg_2006-08-17_07:35:20.394948.log'
2006-08-17 07:35:20,611 ERROR Installing the upgrades failed!
2006-08-17 07:35:20,611 ERROR error message: 'E:Internal Error, Pathname to install is not absolute 'libkrb53_1.4.3-5ubuntu0.1_amd64.deb''
2006-08-17 07:35:20,611 INFO All upgrades installed

Here's my sources.list lines for main and security:
deb file:///ubuntu-mirror/ dapper main restricted
deb-src file:///ubuntu-mirror/ dapper main restricted
deb file:///ubuntu-mirror/ dapper-updates main restricted
deb-src file:///ubuntu-mirror/ dapper-updates main restricted
deb file:///ubuntu-mirror/ dapper-security main restricted
deb-src file:///ubuntu-mirror/ dapper-security main restricted

As a workaround, I am now accessing the files via http to localhost.

Tags: dapper
Changed in unattended-upgrades:
importance: Untriaged → Low
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

I understand that the normal apt-get install works on this configuration just fine?

Changed in unattended-upgrades:
assignee: nobody → mvo
importance: Low → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Michael R. Head (burner) wrote :

Correct. I thought the security patches would be applied automatically, but when I found they weren't, I did the regular apt-get upgrade, which worked.

Revision history for this message
Michael R. Head (burner) wrote :

Confirming because I provided the "needed info"

Changed in unattended-upgrades:
status: Needs Info → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This is fixed for hardy now

Changed in unattended-upgrades:
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 0.30ubuntu1

---------------
unattended-upgrades (0.30ubuntu1) hardy; urgency=low

  [ John Edwards ]
  * fix missing spaces in the log file (LP: #136452)
  * add better comments and examples to data/50unattended-upgrades

  [ Michael Vogt ]
  * README improved based on Johns suggestions (thanks!)
  * fix grammer and dated reference to dapper (LP: #140038),
    thanks to Christer Edwards for the suggestions
  * add "mailx" to suggests (LP: #137994)
  * show propper log output if mail is not available (LP: #137994)
  * show packages that are held back from the upgrade because of
    conffile prompt in the log as a warning (LP: #133551)
  * create logdir if it does not exist (LP: #87338)
  * fix error when installing from file:// uris (LP: #56832)

 -- Michael Vogt <email address hidden> Mon, 10 Mar 2008 11:57:17 +0100

Changed in unattended-upgrades:
status: Fix Committed → Fix Released
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.