[Bug 1693941] [NEW] passing an absolute path for sources_list to cache.update does not work
Bryan Seitz
1693941 at bugs.launchpad.net
Fri May 26 22:56:01 UTC 2017
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
Foundations Bugs, 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
More information about the foundations-bugs
mailing list