Re: pbuilder trouble -- bingo!
For some reason, I only saw this mail now. Thanks much for the mouthful: On Sun, Dec 28, 2008 at 7:38 AM, Osamu Aoki wrote: > Hi, > > On Sat, Dec 27, 2008 at 07:26:38PM +0200, Tshepang Lekhonkhobe wrote: > ... >> >> Running (c)debootstrap alone gives no problems so I don't know where >> >> to start diagnosing my problem. >> > >> > You are creating very special setting. I do not even know if you have >> > /home/wena/live/ directory or your mirror site at http://localhost/sid >> > works or not... I do not know permision of all these either. >> >> /home/wena/live exists and that mirror pretty well and was created >> using reprepro. > > When you have problem, do not assume thigs are in good shape. Are you > sure to be "mirror pretty well"? reprepro being very new and > experimental per its manpage. I do not know it is good choice. > (Program should be fine but it may not document required options for > novice users.) > >> I'm on Sid. > > OK > >> > My first suggestion is to put system back to default. >> >> I stripped pbuilderrc to: >> MIRRORSITE=http://localhost/sid >> DEBOOTSTRAP=debootstrap >> >> [note that cdebootstrap won't work since I don't have Release.gpg and >> I don't know how to parse --allow-authenticated to it through >> pbuilder] >> >> ...and am still getting the error above > > Bingo! ... you have broken mirror for current sid repo. Having > Release.gpg is needed for current secure APT to function. reprepro can > support signiture per its package description. > > http://wiki.debian.org/SecureApt > > http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html#toplevelreleasefeandauthenticity > >> What's interesting is that both "debootstrap" and "cdebootstrap >> --allow-unauthenticated" work pretty well. > > Of course, you are disabling secure apt feature which uses Release.gpg. > > If you are thinking about reducing bandwidth usage by the local mirror, > I think http proxy is better approach. Mirroring tends to waste more BW > by downloading unused contents. > > > http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html#proxyserverforapt > > | Since mirroring whole subsection of Debian archive wastes disk space and > | network bandwidth, deployment of a local proxy server for APT is > | desirable consideration when you administer many systems on LAN. APT can > | be configure to use web (http) proxy server such as squid (see Section > | 7.5, "Other network application servers") as described in apt.conf(5) > | and in /usr/share/doc/apt/examples/configure-index.gz. The http_proxy > | environment variable can be used to override proxy server setting in the > | /etc/apt/apt.conf file. > > You may wish to learn basics of APT > http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html > > Osamu > > -- my place on the web: floss-and-misc.blogspot.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: pbuilder trouble -- bingo!
Hi, On Sat, Dec 27, 2008 at 07:26:38PM +0200, Tshepang Lekhonkhobe wrote: ... > >> Running (c)debootstrap alone gives no problems so I don't know where > >> to start diagnosing my problem. > > > > You are creating very special setting. I do not even know if you have > > /home/wena/live/ directory or your mirror site at http://localhost/sid > > works or not... I do not know permision of all these either. > > /home/wena/live exists and that mirror pretty well and was created > using reprepro. When you have problem, do not assume thigs are in good shape. Are you sure to be "mirror pretty well"? reprepro being very new and experimental per its manpage. I do not know it is good choice. (Program should be fine but it may not document required options for novice users.) > I'm on Sid. OK > > My first suggestion is to put system back to default. > > I stripped pbuilderrc to: > MIRRORSITE=http://localhost/sid > DEBOOTSTRAP=debootstrap > > [note that cdebootstrap won't work since I don't have Release.gpg and > I don't know how to parse --allow-authenticated to it through > pbuilder] > > ...and am still getting the error above Bingo! ... you have broken mirror for current sid repo. Having Release.gpg is needed for current secure APT to function. reprepro can support signiture per its package description. http://wiki.debian.org/SecureApt http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html#toplevelreleasefeandauthenticity > What's interesting is that both "debootstrap" and "cdebootstrap > --allow-unauthenticated" work pretty well. Of course, you are disabling secure apt feature which uses Release.gpg. If you are thinking about reducing bandwidth usage by the local mirror, I think http proxy is better approach. Mirroring tends to waste more BW by downloading unused contents. http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html#proxyserverforapt | Since mirroring whole subsection of Debian archive wastes disk space and | network bandwidth, deployment of a local proxy server for APT is | desirable consideration when you administer many systems on LAN. APT can | be configure to use web (http) proxy server such as squid (see Section | 7.5, “Other network application servers”) as described in apt.conf(5) | and in /usr/share/doc/apt/examples/configure-index.gz. The http_proxy | environment variable can be used to override proxy server setting in the | /etc/apt/apt.conf file. You may wish to learn basics of APT http://people.debian.org/~osamu/pub/getwiki/html/ch03.en.html Osamu -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: pbuilder trouble
On Sat, Dec 27, 2008 at 2:28 PM, Osamu Aoki wrote: > Hi, > > On Wed, Dec 17, 2008 at 10:34:42AM +0200, Tshepang Lekhonkhobe wrote: >> Hi, >> >> I'm having trouble getting "pbuilder create" run with the following error: > ... >> My /etc/pbuilerrc looks thus: >> >> >> MIRRORSITE=http://localhost/sid >> DEBOOTSTRAP=debootstrap >> BUILDPLACE=/home/wena/live/pbuilder/build/ >> BASETGZ=/home/wena/live/pbuilder/base.tgz >> BUILDRESULT=/home/wena/live/pbuilder/result/ >> APTCACHE=/home/wena/live/pbuilder/aptcache >> >> >> Running (c)debootstrap alone gives no problems so I don't know where >> to start diagnosing my problem. > > You are creating very special setting. I do not even know if you have > /home/wena/live/ directory or your mirror site at http://localhost/sid > works or not... I do not know permision of all these either. /home/wena/live exists and that mirror pretty well and was created using reprepro. > Also you did not say what distribution sid/lenny/etch/... using... I'm on Sid. > My first suggestion is to put system back to default. I stripped pbuilderrc to: MIRRORSITE=http://localhost/sid DEBOOTSTRAP=debootstrap [note that cdebootstrap won't work since I don't have Release.gpg and I don't know how to parse --allow-authenticated to it through pbuilder] ...and am still getting the error above What's interesting is that both "debootstrap" and "cdebootstrap --allow-unauthenticated" work pretty well. -- my place on the web: floss-and-misc.blogspot.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: pbuilder trouble
Hi, On Wed, Dec 17, 2008 at 10:34:42AM +0200, Tshepang Lekhonkhobe wrote: > Hi, > > I'm having trouble getting "pbuilder create" run with the following error: ... > My /etc/pbuilerrc looks thus: > > > MIRRORSITE=http://localhost/sid > DEBOOTSTRAP=debootstrap > BUILDPLACE=/home/wena/live/pbuilder/build/ > BASETGZ=/home/wena/live/pbuilder/base.tgz > BUILDRESULT=/home/wena/live/pbuilder/result/ > APTCACHE=/home/wena/live/pbuilder/aptcache > > > Running (c)debootstrap alone gives no problems so I don't know where > to start diagnosing my problem. You are creating very special setting. I do not even know if you have /home/wena/live/ directory or your mirror site at http://localhost/sid works or not... I do not know permision of all these either. Also you did not say what distribution sid/lenny/etch/... using... My first suggestion is to put system back to default. Osamu FYI: my ~/.pbuilderrc (essential parts for sid/lenny) MIRRORSITE=http://ftp.jp.debian.org/debian AUTO_DEBSIGN=yes BUILDRESULT=/var/cache/pbuilder/result/ DISTRIBUTION=sid DEBBUILDOPTS="-i -I" -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: pbuilder trouble
Tshepang Lekhonkhobe wrote: > anyone who can help with this? > > On Wed, Dec 17, 2008 at 10:34 AM, Tshepang Lekhonkhobe > wrote: >> Hi, >> >> I'm having trouble getting "pbuilder create" run with the following error: [snip] I would suggest asking in debian-mentors@ instead. Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com Ukrainian C++ developer, Debian Maintainer, APT contributor signature.asc Description: OpenPGP digital signature
Re: pbuilder trouble
anyone who can help with this? On Wed, Dec 17, 2008 at 10:34 AM, Tshepang Lekhonkhobe wrote: > Hi, > > I'm having trouble getting "pbuilder create" run with the following error: > > > [...] > I: Configuring initscripts... > I: Configuring sysvinit... > I: Unpacking the base system... > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > pbuilder: debootstrap failed > -> Aborting with an error > -> cleaning the build env >-> removing directory /home/wena/live/pbuilder/build//25743 and > its subdirectories > > > My /etc/pbuilerrc looks thus: > > > MIRRORSITE=http://localhost/sid > DEBOOTSTRAP=debootstrap > BUILDPLACE=/home/wena/live/pbuilder/build/ > BASETGZ=/home/wena/live/pbuilder/base.tgz > BUILDRESULT=/home/wena/live/pbuilder/result/ > APTCACHE=/home/wena/live/pbuilder/aptcache > > > Running (c)debootstrap alone gives no problems so I don't know where > to start diagnosing my problem. > > -- > my place on the web: > floss-and-misc.blogspot.com > -- my place on the web: floss-and-misc.blogspot.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: pbuilder trouble
On Wed, Dec 17, 2008 at 11:01 AM, Tzafrir Cohen wrote: > On Wed, Dec 17, 2008 at 10:34:42AM +0200, Tshepang Lekhonkhobe wrote: >> Hi, >> >> I'm having trouble getting "pbuilder create" run with the following error: >> >> >> [...] > > Are you sure you haven't snipped out any error message? pbuilder does get frustratingly quiet; it's --debug option doesn't spit anything that helps me >> I: Configuring initscripts... >> I: Configuring sysvinit... >> I: Unpacking the base system... >> W: Failure while installing base packages. This will be re-attempted >> up to five times. >> W: Failure while installing base packages. This will be re-attempted >> up to five times. >> W: Failure while installing base packages. This will be re-attempted >> up to five times. >> W: Failure while installing base packages. This will be re-attempted >> up to five times. >> W: Failure while installing base packages. This will be re-attempted >> up to five times. >> pbuilder: debootstrap failed >> -> Aborting with an error >> -> cleaning the build env >> -> removing directory /home/wena/live/pbuilder/build//25743 and >> its subdirectories >> >> >> My /etc/pbuilerrc looks thus: >> >> >> MIRRORSITE=http://localhost/sid >> DEBOOTSTRAP=debootstrap >> BUILDPLACE=/home/wena/live/pbuilder/build/ >> BASETGZ=/home/wena/live/pbuilder/base.tgz >> BUILDRESULT=/home/wena/live/pbuilder/result/ >> APTCACHE=/home/wena/live/pbuilder/aptcache >> > > -- > Tzafrir Cohen | tzaf...@jabber.org | VIM is > http://tzafrir.org.il || a Mutt's > tzaf...@cohens.org.il || best > ICQ# 16849754 || friend > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > > -- my place on the web: floss-and-misc.blogspot.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: pbuilder trouble
On Wed, Dec 17, 2008 at 10:34:42AM +0200, Tshepang Lekhonkhobe wrote: > Hi, > > I'm having trouble getting "pbuilder create" run with the following error: > > > [...] Are you sure you haven't snipped out any error message? > I: Configuring initscripts... > I: Configuring sysvinit... > I: Unpacking the base system... > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > W: Failure while installing base packages. This will be re-attempted > up to five times. > pbuilder: debootstrap failed > -> Aborting with an error > -> cleaning the build env > -> removing directory /home/wena/live/pbuilder/build//25743 and > its subdirectories > > > My /etc/pbuilerrc looks thus: > > > MIRRORSITE=http://localhost/sid > DEBOOTSTRAP=debootstrap > BUILDPLACE=/home/wena/live/pbuilder/build/ > BASETGZ=/home/wena/live/pbuilder/base.tgz > BUILDRESULT=/home/wena/live/pbuilder/result/ > APTCACHE=/home/wena/live/pbuilder/aptcache > -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
pbuilder trouble
Hi, I'm having trouble getting "pbuilder create" run with the following error: [...] I: Configuring initscripts... I: Configuring sysvinit... I: Unpacking the base system... W: Failure while installing base packages. This will be re-attempted up to five times. W: Failure while installing base packages. This will be re-attempted up to five times. W: Failure while installing base packages. This will be re-attempted up to five times. W: Failure while installing base packages. This will be re-attempted up to five times. W: Failure while installing base packages. This will be re-attempted up to five times. pbuilder: debootstrap failed -> Aborting with an error -> cleaning the build env -> removing directory /home/wena/live/pbuilder/build//25743 and its subdirectories My /etc/pbuilerrc looks thus: MIRRORSITE=http://localhost/sid DEBOOTSTRAP=debootstrap BUILDPLACE=/home/wena/live/pbuilder/build/ BASETGZ=/home/wena/live/pbuilder/base.tgz BUILDRESULT=/home/wena/live/pbuilder/result/ APTCACHE=/home/wena/live/pbuilder/aptcache Running (c)debootstrap alone gives no problems so I don't know where to start diagnosing my problem. -- my place on the web: floss-and-misc.blogspot.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org