[Bug 1346388] [NEW] bad error message when forgetting --click

Martin Pitt martin.pitt at ubuntu.com
Mon Jul 21 16:03:25 UTC 2014


Public bug reported:

$ adt-run /tmp/ap-setup-update/ com.ubuntu.notes --- ssh -s /usr/share/autopkgtest/ssh-setup/adb
[...]
adt-run [18:00:19]: @@@@@@@@@@@@@@@@@@@@ apt-source com.ubuntu.notes
[...]
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Reading package lists...
Building dependency tree...
Reading state information...
E: You must put some 'source' URIs in your sources.list
sh: 1: cd: can't cd to [a-z0-9]*/.
sed: can't read debian/changelog: No such file or directory
grep: debian/tests/control: No such file or directory
blame: com.ubuntu.notes
badpkg: got 3 lines of results from extract where 5 expected
adt-run [18:00:22]: ERROR: erroneous package: got 3 lines of results from extract where 5 expected

This should get a better error message. In this case the user meant
--click. adt-run cannot know that, but it could at least say directly
that "com.ubuntu.notes" does not exist as an apt source package.

** Affects: autopkgtest (Ubuntu)
     Importance: Low
         Status: Triaged

** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1346388

Title:
  bad error message when forgetting --click

Status in “autopkgtest” package in Ubuntu:
  Triaged

Bug description:
  $ adt-run /tmp/ap-setup-update/ com.ubuntu.notes --- ssh -s /usr/share/autopkgtest/ssh-setup/adb
  [...]
  adt-run [18:00:19]: @@@@@@@@@@@@@@@@@@@@ apt-source com.ubuntu.notes
  [...]
  Starting pkgProblemResolver with broken count: 0
  Starting 2 pkgProblemResolver with broken count: 0
  Done
  Reading package lists...
  Building dependency tree...
  Reading state information...
  E: You must put some 'source' URIs in your sources.list
  sh: 1: cd: can't cd to [a-z0-9]*/.
  sed: can't read debian/changelog: No such file or directory
  grep: debian/tests/control: No such file or directory
  blame: com.ubuntu.notes
  badpkg: got 3 lines of results from extract where 5 expected
  adt-run [18:00:22]: ERROR: erroneous package: got 3 lines of results from extract where 5 expected

  This should get a better error message. In this case the user meant
  --click. adt-run cannot know that, but it could at least say directly
  that "com.ubuntu.notes" does not exist as an apt source package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1346388/+subscriptions



More information about the foundations-bugs mailing list