You must put some 'source' URIs in your sources.list

Bug #80453 reported by Alex Muntada
4
Affects Status Importance Assigned to Milestone
Bug Helper
Fix Released
Low
Guillaume ARCHAMBAUD

Bug Description

When /etc/apt/sources.list does not list the deb-src entries, bughelper gives an error like this:

$ ./bughelper vino
Traceback (most recent call last):
  File "./bughelper", line 58, in ?
    main()
  File "./bughelper", line 34, in main
    if not utils.package_exists(cl.sourcepackage):
  File "/home/alexm/ubuntu/bughelper/bughelper.main/bugHelper/utils.py", line 25, in package_exists
    sources = apt_pkg.GetPkgSrcRecords()
SystemError: E:You must put some 'source' URIs in your sources.list

This error should be catched and reported nicely.

Tags: bitesize
Changed in bughelper:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Changed in bughelper:
importance: Medium → Low
Revision history for this message
KarlGoetz (kgoetz) wrote : Re: [Bug 80453] Re: You must put some 'source' URIs in your sources.list

On Fri, 2007-01-19 at 08:29 +0000, Daniel Holbach wrote:
> ** Changed in: bughelper (upstream)
> Importance: Medium => Low
> Target: None => 0.1
>
> --
> You must put some 'source' URIs in your sources.list
> https://launchpad.net/bugs/80453
>

surely forcing people to have deb-src lines is a bad thing (commented or
not)? i dont have them on my non-dev systems.

Revision history for this message
Dean Sas (dsas) wrote :

I don't know what the problem is with having them on production systems, could you let us know?

In addition isn't bug triage a "dev" thing to do?

Revision history for this message
Guillaume ARCHAMBAUD (drarchy) wrote :

Hello,

this patch catch the error.

Revision history for this message
Dean Sas (dsas) wrote :

Sweet, thank you very much for working on this patch Guillaume, I've committed it to the main repository in revision 38.

Karl: If requiring uncommented sources lines to use bughelper is a problem could you open another bug for that please?

Changed in bughelper:
status: Confirmed → Fix Released
Changed in bughelper:
assignee: nobody → drarchy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.