Public bug reported:

Using python-apt 1.1.0~beta1build1.

Calling cache like such:

cache = apt.Cache(memonly=True, rootdir='/home/seitz/tmp/apt_root')
cache.update(sources_list='/home/seitz/tmp/apt_root/etc/apt/sources-zesty.list')

Would produce an empty cache :(  If I copy the contents of sources-
zesty.list to sources.list in that same directory and pass that path as
an argument, it functions properly.  I am looping over several Ubuntu
releases as including them all in one sources.list caused conflicts.

Please advise.

** Affects: python-apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1693941

Title:
  passing an absolute path for sources_list to cache.update does not
  work

Status in python-apt package in Ubuntu:
  New

Bug description:
  Using python-apt 1.1.0~beta1build1.

  Calling cache like such:

  cache = apt.Cache(memonly=True, rootdir='/home/seitz/tmp/apt_root')
  
cache.update(sources_list='/home/seitz/tmp/apt_root/etc/apt/sources-zesty.list')

  Would produce an empty cache :(  If I copy the contents of sources-
  zesty.list to sources.list in that same directory and pass that path
  as an argument, it functions properly.  I am looping over several
  Ubuntu releases as including them all in one sources.list caused
  conflicts.

  Please advise.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1693941/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to