On Tue, 23 Oct 2007, Randall R Schulz wrote:-

>On Tuesday 23 October 2007 03:38, David Bolt wrote:

>> I don't know about a way of identifying which package comes from a
>> particular repository, but this might help narrow things down a bit:
>
>Thanks. I'll check that out. I already managed to find most of the
>leftovers using this command:
>
>% rpm -qa --qf '%{NAME}\t%{DISTRIBUTION}\t%{PACKAGER}\n' \
>   |egrep -v '10.3|gpg-pubkey' \
>   |expand -25,60 \
>   |sort

Certainly easier than my script, and probably a lot quicker as well.
I've saved that for future reference.

>There are so very many RPM query keywords, I only scanned the list
>quickly and picked a few that looked useful. There are probably more
>and better ones for this purpose.

Possibly. I didn't look to see what was available, just going with what
I remembered.

>I also noticed that it seems some of the current packages from 10.3
>Packman repository bear the DISTRIBUTION value 'openSUSE 10.2 (i386)'
>(or i586).

I hadn't actually noticed that but, looking at the packages on my
system, it's true. I have a total of six i386 packages that say the
distribution is 10.2. Since I have the source RPMs, I'll have a look and
see if it's a hard-coded value in the spec file, or some build mistake.

>> [EMAIL PROTECTED]:~> cat ./rpm_list.sh
>
>May I suggest that this is a case for using an attachment? The list
>allows them, you know, and they're much easier to deal with than
>program code as loose text within an email message

I'm not too keen on adding attachments to mailing lists, especially
since it is known for them to be removed. One thing I didn't do was to
wrap the script with <snippet> </snippet> marks.

>(though I commend
>you for not allowing the lines to wrap—most people don't even bother to
>do that).

What I should have done isn't make the long lines so they didn't wrap,
but to split them up to make the script easier to read.


Regards,
        David Bolt

-- 
Team Acorn: http://www.distributed.net/ OGR-P2 @ ~100Mnodes RC5-72 @ ~15Mkeys
                 | SUSE 10.1 32bit  | openSUSE 10.2 32bit | openSUSE 10.3 32bit
SUSE 10.0 64bit  | SUSE 10.1 64bit  | openSUSE 10.2 64bit |
RISC OS 3.11     | RISC OS 3.6      | TOS 4.02            | openSUSE 10.3 PPC
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to