package from one repository won't update

Asked by Frank W on 2017-08-04

Hi all,

I have a source ( working fine in apt, but for some reason will not install updates through unattended updates despite there being an update available. Any help greatly appreciated.


root@media:~# unattended-upgrade -d -v --apt-debug
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Ubuntu,a=zesty', 'o=Ubuntu,a=zesty-security', 'o=Ubuntu,a=zesty-updates', 'o=Ubuntu,a=zesty-backports', 'o=LP-PPA-ondrej-php,a=zesty', 'o=LP-PPA-webupd8team-java,a=zesty', 'o=LP-PPA-nginx-stable,a=zesty', 'o=obs://,a=xUbuntu_17.04']
Checking: emby-server-beta ([<Origin component:'' archive:'' origin:'obs://' label:'home:emby' site:'' isTrusted:True>])
pkgs that look like they should be upgraded:
Fetched 0 B in 0s (0 B/s) result: 0
blacklist: []
whitelist: []
No packages found that can be upgraded unattended and no pending auto-removals
root@media:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.0 MB of archives.
After this operation, 5,120 B of additional disk space will be used.
Do you want to continue? [Y/n] n

Question information

English Edit question
Ubuntu unattended-upgrades Edit question
No assignee Edit question
Last query:
Last reply:

Have you tried contacting the source maintainer?

Frank W (frankyw) said : #2

I have also done that.

However, I'm confused as to why this repo works fine with apt from the command line, but not using unattended updates.

From my limited python knowledge, this particular package seems to fail for some reason within calculate_upgradable_pkgs. pkg.is_upgradable is true, hence the debug line output (line 984 of unattended-upgrade), but after that nothing.

def calculate_upgradable_pkgs(cache, options, allowed_origins,
                              blacklisted_pkgs, whitelisted_pkgs):
    pkgs_to_upgrade = []
    pkgs_kept_back = []

    # now do the actual upgrade
    for pkg in cache:
        if options.debug and pkg.is_upgradable:
            logging.debug("Checking: %s (%s)" % (
      , getattr(pkg.candidate, "origins", [])))
        if (pkg.is_upgradable and
              not is_pkgname_in_blacklist(, blacklisted_pkgs) and
              is_pkgname_in_whitelist(, whitelisted_pkgs) and
              is_allowed_origin(pkg.candidate, allowed_origins)):
    return pkgs_to_upgrade, pkgs_kept_back

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.