improve backportpackage error message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I'm running Ubuntu xenial and wanted to backport a package from zesty (my first backport). I tried:
$ backportpackage -u ppa:leopold-
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
config)
File "/usr/bin/
source_release = info().devel()
File "/usr/lib/
raise DistroDataOutda
distro_
First, /usr/share/
Then, I tried to update everything I could think of, but as far as I could tell everything was already up to date.
I then dug into /usr/lib/
Indeed, backportpackage -h says
-s SOURCE, --source=SOURCE
Simply specifying '-s zesty' solved it for me, but I spent quite a while trying to figure out what the problem was.
If my reasoning is correct, then one should not raise a DistroDataOutda
Status changed to 'Confirmed' because the bug affects multiple users.