[Bug 697248] [NEW] [pbuilder-dist] Crash with sudo

Artur Rona ari-tczew at ubuntu.com
Tue Jan 4 15:00:29 UTC 2011


Public bug reported:

Binary package hint: ubuntu-dev-tools

All pbuilder-dist commands crash if you haven't added sudo at start. Example:
$ pbuilder-dist natty update
Traceback (most recent call last):
  File "/usr/bin/pbuilder-dist", line 410, in <module>
    main()
  File "/usr/bin/pbuilder-dist", line 404, in main
    exit(subprocess.call(app.get_command(args)))
  File "/usr/bin/pbuilder-dist", line 203, in get_command
    except os.OSError:
AttributeError: 'module' object has no attribute 'OSError'


OK, so I'm adding a sudo and what I see? Warning, but command run and finish successful.
$ sudo pbuilder-dist natty update
[sudo] password for ari: 
Warning: pbuilder-dist running under sudo. This is probably not what you want. pbuilder-dist will use sudo itself, when necessary.
W: /root/.pbuilderrc does not exist


$ apt-cache policy ubuntu-dev-tools
ubuntu-dev-tools:
  Zainstalowana: 0.108
  Kandydująca:   0.108
  Tabela wersji:
 *** 0.108 0
        500 http://pl.archive.ubuntu.com/ubuntu/ natty/universe i386 Packages
        100 /var/lib/dpkg/status

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in ubuntu.
https://bugs.launchpad.net/bugs/697248

Title:
  [pbuilder-dist] Crash with sudo




More information about the universe-bugs mailing list