xapt config and mirrors various related breakages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emdebian-crush (Ubuntu) |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emdebian-crush
Version: 2.2.4ubuntu3
This is in a maverick chroot I'm using for cross building to ARM (on an x86-64 lucid host, the chroot setup using debootstrap)
There are a set of issues, discussing with wookey he suggested a single bug.
1) Line 37 of xapt checks to see if the configfile (/etc/xapt/
2) I'm no perl expert, but I couldn't get $mirror to be set correctly with the $config{'mirror'} on line 40 using $mirror = $config->{'mirror'} seems to be the perl magic
3) It's entirely non-obvious that all of the mirror options and config are completely ignored unless you use --suite; I'd expected it to do the 'right' thinkg if I just told it that the mirror was ports.ubuntu.com. Without --suite it just copies the host's non-cross sources.list
4) Even with xapt -a armel --suite maverick and an appropriate mirror set it still doesn't find the packages; it's suspected this is doesn't contain the [arch=armel] tag.
Dave
Changed in emdebian-crush (Ubuntu): | |
status: | New → Confirmed |
Thanx for this report.
That is indeed all wrong :-)
1) -x should be -e (exists, not executable)
2) is broken - variable name was wrong, config auto not working. I haven't managed to fix this bit yet
3) should be predicated on --mirror not --suite (if you set a mirror then use that instead of host config, otherwise use host config)
4) yes the [arch=armel] thing is needed with newer apt.
I need to get to the bottom of the config parse issue in order to upload a fixed version