[Ubuntu] creating GRASS packages for UbuntuGIS

Martin Landa landa.martin at gmail.com
Sat Jan 9 06:10:57 PST 2016


Hi,

2016-01-09 15:05 GMT+01:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:
> Your .pbuilderrc seems buggy. It treats wily as a Debian distribution.

seems like that, just cannot find it. Relevant parts:

# List of Ubuntu suites. Update these when needed.
UBUNTU_SUITES=("wily" "vivid" "utopic" "trusty" "saucy" "raring"
"quantal" "precise" "oneiric" "natty" "lucid" "hardy")

if $(echo ${DEBIAN_SUITES[@]} | grep -q $DIST); then
    # Debian configuration
    MIRRORSITE="http://$DEBIAN_MIRROR/debian/"
    COMPONENTS="main contrib non-free"
    if $(echo "$STABLE_CODENAME stable" | grep -q $DIST); then
        EXTRAPACKAGES="$EXTRAPACKAGES debian-backports-keyring"
        OTHERMIRROR="$OTHERMIRROR | deb
http://backports.debian.org/debian $STABLE_BACKPORTS_SUITE
$COMPONENTS"
    fi
elif $(echo ${UBUNTU_SUITES[@]} | grep -q $DIST); then
    # Ubuntu configuration
    MIRRORSITE="http://$UBUNTU_MIRROR/ubuntu/"
    # add PPA 'ubuntugis'
    OTHERMIRROR="$OTHERMIRROR | deb
http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu $DIST
main"
    COMPONENTS="main restricted universe multiverse"
else
    echo "Unknown distribution: $DIST"
    exit 1
fi

The command:

export DIST=wily ; sudo cowbuilder --create --distribution=$DIST
--basepath=/var/cache/pbuilder/base-$DIST-ubuntugis.cow --mirror
http://cz.archive.ubuntu.com/ubuntu/ --debootstrapopts
"--keyring=/usr/share/keyrings/ubuntu-archive-keyring.gpg"

I don't see anything wrong. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the Ubuntu mailing list