All,
I have a smallish issue. I'm unable to build packages for Hardy (both binary and source):
Code:
$ pkg-build-deb hardy
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/hardy-i386-base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: Mounting /home/wesleys/sbox/ubuntu/update-manager/hardy
I: Mounting /var/cache/pbuilder/ccache
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
Reading package lists...
Building dependency tree...
Reading state information...
passwd is already the newest version.
The following extra packages will be installed:
debootstrap libssl0.9.8 wget
Suggested packages:
pbuilder-uml
Recommended packages:
cowdancer devscripts fakeroot sudo
The following NEW packages will be installed:
debootstrap libssl0.9.8 pbuilder wget
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 3342kB of archives.
After this operation, 9802kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libssl0.9.8 wget debootstrap pbuilder
E: There are problems and -y was used without --force-yes
I: Copying back the cached apt archive contents
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting /home/wesleys/sbox/ubuntu/update-manager/hardy filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build/24628 and its subdirectories
# pkg-build-deb is just a shell function I made:
pkg-build-deb () {
_pkg-build "$1"
}
_pkg-build () {
local dist="$1"
shift
[ -z "$dist" ] && echo "No distro given" && return 1
if [ ! -e /var/cache/pbuilder/"$dist" ]
then
echo "No pbuilder environment for $dist" >&2
return 1
fi
if [ ! -d "./debian" ]
then
echo "Unable to find the debian directory in this directory" >&2
return 1
fi
DIST="$dist" pdebuild --use-pdebuild-internal --configfile $HOME/.pbuilderrc "$@" -- --debootstrapopts --keyring=/etc/apt/trusted.gpg
return $?
}
Everything from jaunty upwards (perhaps intrepid as well, but didn't test it) works just fine.
Bookmarks