Package: apt-build
Version: 0.12.11
Severity: normal

when I used apt-build, I got this error message.

[EMAIL PROTECTED]:/home/masami]$ sudo apt-build install hello
Couldn't stat source package list file: apt-build/main Packages 
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
 - stat (2 No such file or directory)
Couldn't stat source package list file: apt-build/main Packages 
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
 - stat (2 No such file or directory)
You may want to run apt-get update to correct these problems
W: Couldn't stat source package list file: apt-build/main Packages 
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
 - stat (2 No such file or directory)
W: Couldn't stat source package list file: apt-build/main Packages 
(/var/lib/apt/lists/_var_cache_apt-build_repository_dists_apt-build_main_binary-i386_Packages)
 - stat (2 No such file or directory)
-----> Installing build dependencies (for hello) <-----
Reading package lists... Done

[snip]

Ign file: apt-build Release.gpg
Get:1 file: apt-build Release [89B]
Ign file: apt-build/main Packages
Hit ftp://ftp.jp.debian.org unstable Release.gpg
Hit ftp://ftp.jp.debian.org unstable Release
Hit ftp://ftp.jp.debian.org unstable/main Packages
Hit ftp://ftp.jp.debian.org unstable/non-free Packages
Hit ftp://ftp.jp.debian.org unstable/contrib Packages
Hit ftp://ftp.jp.debian.org unstable/main Sources
Hit ftp://ftp.jp.debian.org unstable/non-free Sources
Hit ftp://ftp.jp.debian.org unstable/contrib Sources
Fetched 89B in 0s (114B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  hello
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/48.4kB of archives.
After unpacking 483kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  hello
E: There are problems and -y was used without --force-yes

after I added --force-yes option , apt-build is working.

--- orig/apt-build      2005-09-20 22:15:35.000000000 +0900
+++ new/apt-build       2005-09-20 22:20:34.000000000 +0900
@@ -43,7 +43,7 @@
 my $VERSION = "0.12.11";
 my ($conf, %conf, @builddep, @apt_args);
 
[EMAIL PROTECTED] = qw/--yes/;     # and DEFAULT => 1, down in parse_config()
[EMAIL PROTECTED] = qw/--yes --force-yes/;     # and DEFAULT => 1, down in 
parse_config()
 
 my @actions = qw/install source remove info update upgrade world build_source 
update_source
                clean_sources build_repository clean_build clean_repository moo 
find/;       # possible actions



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages apt-build depends on:
ii  apt                           0.6.41     Advanced front-end for dpkg
ii  apt-utils                     0.6.41     APT utility programs
ii  debconf                       1.4.58     Debian configuration management sy
ii  devscripts                    2.9.7      Scripts to make the life of a Debi
ii  dpkg-dev                      1.13.11    package building tools for Debian
ii  g++                           4:4.0.1-3  The GNU C++ compiler
ii  gcc                           4:4.0.1-3  The GNU C compiler
ii  libappconfig-perl             1.56-2     Perl module for configuration file
ii  libapt-pkg-perl               0.1.17     Perl interface to libapt-pkg
ii  perl                          5.8.7-5    Larry Wall's Practical Extraction 

Versions of packages apt-build recommends:
ii  build-essential               11.1       informational list of build-essent
ii  fakeroot                      1.5.1      Gives a fake root environment

-- debconf information:
  apt-build/arch_amd: k6
  apt-build/arch_alpha: ev4
* apt-build/options:
* apt-build/arch_intel: pentium4
  apt-build/arch_arm: armv2
* apt-build/make_options:
* apt-build/olevel: Medium
* apt-build/build_dir: /var/cache/apt-build/build
* apt-build/repository_dir: /var/cache/apt-build/repository
  apt-build/arch_sparc: sparc
  apt-build/arch_amd64: x86-64
* apt-build/add_to_sourceslist: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to