Package: sbuild
Version: 0.65.2-1
Severity: normal

Hi. Look:


    dima@shorty:/etc/schroot/chroot.d$ schroot -l
    chroot:sid-amd64-sbuild
    chroot:trusty-amd64-sbuild
    chroot:wheezy-amd64-sbuild
    source:sid-amd64-sbuild
    source:trusty-amd64-sbuild
    source:wheezy-amd64-sbuild

    dima@shorty:/etc/schroot/chroot.d$ ls
    sid-amd64-sbuild-VVRXav  trusty-amd64-sbuild-dXNuL1  
wheezy-amd64-sbuild-Y42av1

    dima@shorty:/etc/schroot/chroot.d$ sudo sbuild-createchroot 
--make-sbuild-tarball=/var/lib/sbuild/trusty-amd64.tar.gz wheezy /tmp/xxx 
http://mirror.hmc.edu/debian 
    I: SUITE: wheezy
    I: TARGET: /tmp/xxx
    <snip. lots of output as a "wheezy" chroot is made>

    dima@shorty:/etc/schroot/chroot.d$ schroot -l
    E: /etc/schroot/chroot.d/wheezy-amd64-sbuild-Y42av1: line 1 
[wheezy-amd64-sbuild]: A chroot or alias รข already exists with this name
    I: Duplicate names are not allowed

    dima@shorty:/etc/schroot/chroot.d$ ls
    sid-amd64-sbuild-VVRXav  trusty-amd64-sbuild-dXNuL1  
wheezy-amd64-sbuild-HHoTCT  wheezy-amd64-sbuild-Y42av1
duplicates:                                              ^^^^^^                 
     ^^^^^^


So I had a "wheezy" sbuild chroot. Then I made another one with the same
name (and sbuild-createchroot let me). Then schroot gets confused.
sbuild-createchroot should probably check for this.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to