Daniel Burrows wrote:
On Thu, Jan 26, 2006 at 04:33:12PM +1300, Mark Robinson <[EMAIL PROTECTED]> was
heard to say:
this is still borken
piwakawaka:~# aptitude -qq update
Expected a number after -q=, got q
piwakawaka:~#
Ew.
I guess that would be ewe in kiwi parlance.
The -q=n syntax is anomalous, every other option uses -x <value>. I suggest
that -q= be deprecated and that -qqq or -q n be encouraged instead.
I think that would be great, and it's how things originally worked;
unfortunately, this led to user complaints (see earlier in this bug log).
And, predictably, it appears that adding a weird special case had unforseen
side effects (who woulda thunk it!)
You really expected me to actually read all that stuff ?
I've figured out how to make aptitude -qq update work but without the =2 stuff.
> {"quiet", 0, NULL, 'q'},
while((curopt=getopt_long(argc, argv, "DVZvhS:uiF:w:sO:fdyPt:qRro:", opts,
NULL))!=-1)
> case 'q':
> ++quiet;
> seen_quiet = true;
> break;
The problems I have reported elsehwere with weird stuff going on with cached
package list files is preventing me grabbing the apt sources to see how it's
done there.
I think the next step in being able to parse the -q=2 syntax is to handle
optopt somehow, but I completely unfamiliar with all that stuff.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=349974 is an example where bad
syntax is not picked up (-q10). Could be merged, when this is sorted properly,
that will be too.
A side note: Attempting to compile aptitude throws up a linker error about
not being able to find cppunit. I assume this should be added as a
build-depends ?
That should only happen when you run "make check" or do a package
build, and libcppunit-dev is a build-depends already AFAIK. Which version
are you trying to build and how?
I'm playing with aptitude 0.4.1-1 grabbed from unstable.
I read INSTALL and did ./configure, make and make install.
There are a couple of other libraries that are required which ./configure threw
up and which I installed but the requirement for libcppunit doesn't show up
until ld is invoked.
Merely minor drama.
cheerio
Mark
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]