[TAG] Re: Fedora questions
Pete Savage
debug at silentkeystroke.co.uk
Fri Nov 18 00:01:17 MSK 2005
Mike Orr wrote:
> On 11/17/05, Mike Orr <sluggoster at gmail.com> wrote:
>
>>Is there an rpm incantation to tell which package a file belongs to?
>
>
> "yum provides gdmgreeter"
>
man yum here, yields,
* provides | whatprovides feature1 [feature2] [...]
man rpm yields,
select-options
[PACKAGE_NAME] [-a,--all] [-f,--file FILE]
[-g,--group GROUP] {-p,--package PACKAGE_FILE]
[--fileid MD5] [--hdrid SHA1] [--pkgid MD5] [--tid TID]
[--querybynumber HDRNUM] [--triggeredby PACKAGE_NAME]
[--whatprovides CAPABILITY] [--whatrequires CAPABILITY]
> I assume there's an rpm query option for this but I don't see it on the manpage.
>
>
>>I originally installed Fedora at 1600x1200 resolution but switched to
>>1280x1024, both in /etc/X11/xorg.conf and in "KDE Control Center :
>>Peripherals : Display". My session resolution is fine but the login
>>manager (gdmgreeting) and KDE startup screen both are 1600x1200 with a
>>1280x1024 viewport so the main dialog is not centered and you have to
>>scroll down to get to the Restart and Shutdown buttons. That's the
>>impetus for my first question; I need to know which package to
>>reinstall.
>
>
> I tried reinstalling gdm just now but it didn't help. By the way, I
> also tried kdm earlier this week (/etc/sysconfig/desktop
> DISPLAYMANAGER="kde") and it has the same problem. I looked around
> for a config file or state file containing "1600" but couldn't find
> it.
>
> In order to reinstall gdm I had to do "yum remove gdm" and "yum
> install gdm". The 'install', 'update', and 'upgrade' options alone
> would not reinstall a package that's the same version, and there's no
> 'reinstall' option. I wasn't thrilled about that because there
> could've been a network outage or server outage after the package was
> removed, and it may be an essential package next time.
>
Can you post up or include your xorg.conf?
> One other thing that's been bugging me. Yum insists on resync'ing its
> cache with the repositories on every command. I'd like it to resync
> only when I tell it to. Any way to do this? http_caching in
> /etc/yum.conf doesn't. [1]
>
> [1] Doesn't do this, that is. (Thomas probably understood that right
> away, but I wouldn't.)
You can use the -C option
yum -C install elinks
>
> --
> Mike Orr <sluggoster at gmail.com>
>
> +-+--------------------------------------------------------------------+-+
> You've asked a question of The Answer Gang, so you've been sent the reply
> directly as a courtesy. The TAG list has also been copied. Please send
> all replies to tag at lists.linuxgazette.net, so that we can help our other
> readers by publishing the exchange in our monthly Web magazine:
> Linux Gazette (http://linuxgazette.net/)
> +-+--------------------------------------------------------------------+-+
> _______________________________________________
> TAG mailing list
> TAG at lists.linuxgazette.net
> http://lists.linuxgazette.net/mailman/listinfo/tag
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.linuxgazette.net/mailman/private/tag/attachments/20051117/4769154e/attachment-0001.pgp
More information about the TAG
mailing list