[Ubuntu] creating GRASS packages for UbuntuGIS

Martin Landa landa.martin at gmail.com
Sat Jan 9 05:46:36 PST 2016


Hi,

2016-01-09 14:34 GMT+01:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:
> You did not specify the pbuilder --mirror option with the URL to the
> Ubuntu mirror.
>
> http://manpages.debian.org/cgi-bin/man.cgi?query=pbuilder
>
> Since you're need to enable the ubuntugis-unstable PPA in the chroot,
> your should name it accordingly (e.g. base-wily-ubuntugis.cow) to
> differentiate it from the a plain Ubuntu wily chroot (without PPAs).

thanks, it helped a bit.

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"

works but at end fails on Debian stuff which shouldn't be there.

I: copying local configuration
I: Installing apt-lines
W: no hooks of type G found -- ignoring
I: Refreshing the base.tgz
I: upgrading packages
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: installing dummy policy-rc.d
Get:1 http://cz.archive.ubuntu.com wily InRelease [218 kB]
Get:2 http://cz.archive.ubuntu.com wily/main amd64 Packages [1420 kB]
Ign http://backports.debian.org wheezy-backports InRelease
Ign http://backports.debian.org wheezy-backports Release.gpg
Ign http://backports.debian.org wheezy-backports Release
Err http://backports.debian.org wheezy-backports/main amd64 Packages
  404  Not Found [IP: 2001:610:1908:b000::148:14 80]
Err http://backports.debian.org wheezy-backports/contrib amd64 Packages
  404  Not Found [IP: 2001:610:1908:b000::148:14 80]
Err http://backports.debian.org wheezy-backports/non-free amd64 Packages
  404  Not Found [IP: 2001:610:1908:b000::148:14 80]
Ign http://backports.debian.org wheezy-backports/contrib Translation-en
Ign http://backports.debian.org wheezy-backports/main Translation-en
Ign http://backports.debian.org wheezy-backports/non-free Translation-en

BTW, I thought that `--mirror` doesn't need to be defined since it's
done in pbuilderrc file [1], see MIRRORSITE variable. Ma

[1] http://geo102.fsv.cvut.cz/~landa/tmp/pbuilderrc

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


More information about the Ubuntu mailing list