Bug#319989: piuparts: malformed sources.list

2005-08-25 Thread Lars Wirzenius
tag 319989 pending
thanks

ti, 2005-07-26 kello 14:54 +1000, Kai Hendry kirjoitti:
 This is the one that is generated for piuparts in the tempdir:

Yeah. The program does something else than what the manual page sas it
does. The manual page says it uses only the first mirror in
sources.list, whereas the code actually tries to use all of them. Since
it is only written to deal with the typical (dare I say canonical?)
Debian mirror, things fail.

I've patched my development sources to obey the manual page. I hope this
will make things automatically work for most people, and the rest need
to use --mirror.



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



Bug#319989: piuparts: malformed sources.list

2005-07-27 Thread Nigel Jones
The sources.list is wrong, i'm sure apt would complain if you used it
normally like that, I suggest you add main to the end of line 3

(Sorry maintainer if you feel I'm steping on your shoes, just noticed
that bug when looking around)

-- 
N Jones
Blogging @ http://nigelj.blogspot.com
Proud Debian  FOSS User
Debian Maintainer of: html2ps  ipkungfu



Bug#319989: piuparts: malformed sources.list

2005-07-25 Thread Kai Hendry
Package: piuparts
Version: 0.7-1
Severity: normal


This is my sources.list :

deb http://ftp.au.debian.org/pub/linux/debian/ unstable main contrib non-free
deb-src http://ftp.au.debian.org/pub/linux/debian/ unstable main contrib 
non-free

deb ftp://ftp.nerim.net/debian-marillat/ sid main
deb-src ftp://ftp.nerim.net/debian-marillat/ sid main

deb http://hendry.iki.fi/debian/ unstable/
deb-src http://hendry.iki.fi/debian/ unstable/



This is the one that is generated for piuparts in the tempdir:

frodo$ cat etc/apt/sources.list
deb http://ftp.au.debian.org/pub/linux/debian/ sarge main contrib non-free
deb ftp://ftp.nerim.net/debian-marillat/ sarge main
deb http://hendry.iki.fi/debian/ sarge

Since it's a private repo, it need the trailing slash. 
More info: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317384




frodo$ sudo piuparts -v -d sarge maradns_1.0.30-1_i386.deb
0min0.0s ---
0min0.0s piuparts version 0.7 starting up.
0min0.0s Command line arguments: /usr/sbin/piuparts -v -d sarge 
maradns_1.0.30-1_i386.deb
0min0.0s DEBUG: Starting command: dpkg --info maradns_1.0.30-1_i386.deb
0min0.1s DEBUG: Command ok: 'dpkg --info maradns_1.0.30-1_i386.deb'
0min0.1s DEBUG: Created temporary directory ./tmpzFW0X0
0min0.1s DEBUG: Setting up minimal chroot for sarge at ./tmpzFW0X0.
0min0.1s DEBUG: Starting command: debootstrap sarge './tmpzFW0X0' 
'http://ftp.au.debian.org/pub/linux/debian/'
7min40.4s DEBUG: Command ok: debootstrap sarge './tmpzFW0X0' 
'http://ftp.au.debian.org/pub/linux/debian/'
7min40.4s DEBUG: Starting command: chroot ./tmpzFW0X0 apt-get update
7min40.5s ERROR: Command failed (status=25600): 'chroot ./tmpzFW0X0 apt-get 
update'
  E: Malformed line 3 in source list /etc/apt/sources.list (dist parse)


I don't care for my private repo while testing a package, so the first line of
the generated sources.list would have been fine.

Best wishes Lars, you're doing some really great Debian work.

-- 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=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)

Versions of packages piuparts depends on:
ii  apt   0.6.38 Advanced front-end for dpkg
ii  debootstrap   0.3.1.4Bootstrap a basic Debian system
ii  python2.3.5-3An interactive high-level object-o

piuparts recommends no packages.

-- no debconf information


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