-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Is there any possibility to get the list of uris yum, up2date or apt-rpm knows to download after doing an update.
I want to know how we can retrieve the uri's information for the packages which any of the above mentioned utilities are going to upgrade.
TIA,
rrs - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com Gnupg Key ID: 04F130BC "Stealing logic from one person is plagiarism, stealing from many is research".
On Sun, 2005-03-27 at 22:05 +0530, Ritesh Raj Sarraf wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Is there any possibility to get the list of uris yum, up2date or apt-rpm knows to download after doing an update.
I want to know how we can retrieve the uri's information for the packages which any of the above mentioned utilities are going to upgrade.
TIA,
rrs
You can find a sample of the yum.conf file at www.fedorafaq.org. See http://www.fedorafaq.org/#apt for one look at it.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff Vian wrote:
On Sun, 2005-03-27 at 22:05 +0530, Ritesh Raj Sarraf wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Is there any possibility to get the list of uris yum, up2date or apt-rpm knows to download after doing an update.
I want to know how we can retrieve the uri's information for the packages which any of the above mentioned utilities are going to upgrade.
TIA,
rrs
You can find a sample of the yum.conf file at www.fedorafaq.org. See http://www.fedorafaq.org/#apt for one look at it.
That doesn't help. What I'm looking for is someway to get the information, in urls, of the packages these utilities (any yum or up2date or apt-rpm) try to download for an upgrade after doing an "update".
rrs - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com Gnupg Key ID: 04F130BC "Stealing logic from one person is plagiarism, stealing from many is research".
Hi
I have just bought a Sony Vaio FS115B which has a 1280x800 screen resolution. Can anyone give me any advice on how I might find support for this resolution under Fedora?
Jon
run gtf 1280 800 60 it will generate Modeline for you, put in in Monitor section. You may use generic LCD 1280 * 800 to adjust other settings. Google for more info.
On Mon, 28 Mar 2005 21:16:17 +0100, Jon Hill jon@foneport.com wrote:
Hi
I have just bought a Sony Vaio FS115B which has a 1280x800 screen resolution. Can anyone give me any advice on how I might find support for this resolution under Fedora?
Jon
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Jon Hill wrote:
Hi
I have just bought a Sony Vaio FS115B which has a 1280x800 screen resolution. Can anyone give me any advice on how I might find support for this resolution under Fedora?
Jon
make sure your /etc/X11/xorg.conf file has the correct settings for the MONITOR and DISPLAY sections:
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x800" HorizSync 31.5 - 90.0 VertRefresh 60.0 - 60.0 Option "dpms" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" "1280x960" "1024x768" "800x600" "640x480" EndSubSection EndSection
then set your screen resolution to 1280x800 via Kmenu-->system settings-->display.
My resolution is set to 800x600 but this is ignored because i've set my display to a 1280x800 lcd screen on the hardware tab.
hmm, neither method worked for me unfortunatley. I still don't get the option for 1280x800 when I run system-config-display.
Jon
On Tuesday 29 March 2005 00:06, Kevin Kempter wrote:
Jon Hill wrote:
Hi
I have just bought a Sony Vaio FS115B which has a 1280x800 screen resolution. Can anyone give me any advice on how I might find support for this resolution under Fedora?
Jon
make sure your /etc/X11/xorg.conf file has the correct settings for the MONITOR and DISPLAY sections:
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x800" HorizSync 31.5 - 90.0 VertRefresh 60.0 - 60.0 Option "dpms" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" "1280x960" "1024x768" "800x600" "640x480" EndSubSection EndSection
then set your screen resolution to 1280x800 via Kmenu-->system settings-->display.
My resolution is set to 800x600 but this is ignored because i've set my display to a 1280x800 lcd screen on the hardware tab.
G S wrote:
hmm, neither method worked for me unfortunatley. I still don't get the option for 1280x800 when I run system-config-display.
can u post you xorg.conf? at least monitor, screen, and device (with your video adapter) sections.
My laptop never works with the system-config-display tool (1440x900), and I have a feeling it's because the laptop monitor is sending incorrect info to the X server. You may have to set a custom modeline (and possibly instruct X not to listen to the monitor's info).
For the modeline, in a terminal type:
gtf 1280 800 60
This should result in something like:
Modeline "1280x800_60.00" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
Paste the output of this command (as a single line) into your /etc/X11/xorg.conf file under the "Monitor" section. You should also rename the modeline from "1280x800_60.00" to "1280x800".
Next, you'll need to add "1280x800" to each of the subsections under the "Screen" section.
If this alone doesn't work, you may also want to try adding this line to the Monitor section:
Option "IgnoreEDID" "1"
I hope this helps.
Aloha
can u post you xorg.conf? at least monitor, screen, and device (with your video adapter) sections.
I tried your suggestions Chris, still no joy. Here is my current xorg.conf. (I have also tried this conf with the added Option "IgnoreEDID" "1"). Thanks for your time on this everyone.
-----------
# Xorg configuration created by system-config-display
Section "ServerLayout" Identifier "single head configuration" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:7100" EndSection
Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "glx" Load "record" Load "freetype" Load "type1" Load "dri" EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" # Or if you just want both to be control, use: # Option "XkbOptions" "ctrl:nocaps" # Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection
Section "Monitor"
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x800" HorizSync 31.5 - 90.0 VertRefresh 60.0 - 60.0 ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync Option "dpms" EndSection
Section "Device" Identifier "Videocard0" Driver "vesa" VendorName "Videocard vendor" BoardName "VESA driver (generic)" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x800" 800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection
Section "DRI" Group 0 Mode 0666 EndSection
The elder gods, manifesting through Jon Hill, recently decreed:
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x800" 800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection
This looks very similar to the setup I have for my own laptop, which also has a widescreen resolution (1680 x 1050). The 1680 x 1050 resolution option still does not show up in my KDisplay dialogue, but I'm resigned to that; I can adjust it in GNOME.
What I noticed was this line:
Modes "1280x800" 800x600" "640x480"
Is this a transcription error, or is there really a missing " before the 800x600? That might be causing you some issues.
The elder gods, manifesting through Jon Hill, recently decreed:
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x800" 800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection
This looks very similar to the setup I have for my own laptop, which also has a widescreen resolution (1680 x 1050). The 1680 x 1050 resolution option still does not show up in my KDisplay dialogue, but I'm resigned to that; I can adjust it in GNOME.
What I noticed was this line:
Modes "1280x800" 800x600" "640x480"
Is this a transcription error, or is there really a missing " before the 800x600? That might be causing you some issues.
Modes "1280x800" 800x600" "640x480"
Is this a transcription error, or is there really a missing " before the 800x600? That might be causing you some issues.
I did have this error briefly, I corrected it but didn't send the update conf file in my email. So, this isn't the cause unfortunately.
Jon
On Wednesday 30 March 2005 13:41, Jon Hill wrote:
Modes "1280x800" 800x600" "640x480"
Is this a transcription error, or is there really a missing " before the 800x600? That might be causing you some issues.
I did have this error briefly, I corrected it but didn't send the update conf file in my email. So, this isn't the cause unfortunately.
Jon
Jon;
Try this. I've attached my xorg.conf file. I'm running a sony S260 with a 1280x800 wide screen. Take the display & monitor sections out and put them in your file. Then restart X (Ctl-Alt-Backspace)
Next go to the K-Menu--->System Settings--->Display
Go to the hardware tab and select the configure button for the Monitor Type. There should be an entry for "LCD Panel 1280x800" Select this entry and click on th OK button.
the settings on the main screen can be anything (mine is 800x600). restart X again and you should be good to go...
/Kevin
On Wednesday 30 March 2005 13:41, Jon Hill wrote:
Modes "1280x800" 800x600" "640x480"
Is this a transcription error, or is there really a missing " before the 800x600? That might be causing you some issues.
I did have this error briefly, I corrected it but didn't send the update conf file in my email. So, this isn't the cause unfortunately.
Jon
Jon;
I just ran through the setup for G.P. and found that the display settings program will remove the "1280x800" setting. So try editing th /etc/X11/xorg.conf file and for the 2 lines that start with "Modes" add "1280x800" as the first option. This reset all my settings to a proper wide screen setup. (after an X restart of course).
Section "Device" Identifier "Videocard0" Driver "vesa" VendorName "Videocard vendor" BoardName "VESA driver (generic)" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x800" 800x600" "640x480" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" EndSubSection EndSection
It seems you have bad adapter configured (VESA) instead of real thing... so your defaul driver may not know about the mode you are using. Do you have Intel integrated graphics? If so try the following:
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x800" HorizSync 31.5 - 90.0 VertRefresh 60.0 - 60.0 ModeLine "1280x800_60.00" 83.5 1280 1344 1480 1680 800 801 804 828 -hsync +vsync Option "DPMS" EndSection
Section "Device" Identifier "Videocard0" Driver "i810" VendorName "Videocard vendor" BoardName "Intel 855" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" "1024x768" "800x600" "640x480" EndSubSection EndSection
Or change driver to appropriate value for your card. If still no luck check the errors in /var/log/Xorg.0.log
Cheers, GS
It seems you have bad adapter configured (VESA) instead of real thing... so your defaul driver may not know about the mode you are using. Do you have Intel integrated graphics? If so try the following:
Yes, this does seem like it would be a problem. My graphics chipset is Mobile Intel 915GM/GMS,910GML. Maybe this is not yet supported under Fedora?
Any thoughts?
Jon
On Thu, 2005-31-03 at 20:54 +0100, Jon Hill wrote:
It seems you have bad adapter configured (VESA) instead of real thing... so your defaul driver may not know about the mode you are using. Do you have Intel integrated graphics? If so try the following:
Yes, this does seem like it would be a problem. My graphics chipset is Mobile Intel 915GM/GMS,910GML. Maybe this is not yet supported under Fedora?
Any thoughts?
Jon
While I am by no means as good at linux configuration as some on this list, I do have a laptop, Compaq R3000, running a 1280 x 800 display. I too had to add the modeline but I also added a section called "modes" to specify the 16:10 format. I noticed it was omitted from your xorg.conf so I thought it might be worth a try for you. My laptop has an Nvidia chipset so you can ignore anything related to it as it won't apply to your setup.
Section "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the # file minus the extension (like ".txt" or ".db"). There is normally # no need to change the default. # Multiple FontPath entries are allowed (they are concatenated together) # By default, Red Hat 6.0 and later now use a font server independent of # the X server to render fonts. RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules/extensions/nvidia" ModulePath "/usr/X11R6/lib/modules" FontPath "unix/:7100" EndSection
Section "Module" Load "dbe" Load "extmod" Load "fbdevhw" Load "record" Load "freetype" Load "type1" Load "glx" EndSection
Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "yes" EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) # Option "Xleds" "1 2 3" # To disable the XKEYBOARD extension, uncomment XkbDisable. # Option "XkbDisable" # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: # Option "XkbModel" "pc102" # If you have a US Microsoft Natural keyboard, you can use: # Option "XkbModel" "microsoft" # # Then to change the language, change the Layout setting. # For example, a german layout can be obtained with: # Option "XkbLayout" "de" # or: # Option "XkbLayout" "de" # Option "XkbVariant" "nodeadkeys" # # If you'd like to switch the positions of your capslock and # control keys, use: # Option "XkbOptions" "ctrl:swapcaps" # Or if you just want both to be control, use: # Option "XkbOptions" "ctrl:nocaps" # Identifier "Keyboard0" Driver "kbd" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection
Section "Modes" Identifier "16:10" ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828 EndSection
Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "LCD Panel 1280x800" UseModes "16:10" HorizSync 30.0 - 90.0 VertRefresh 50.0 - 75.0 Option "UseEdidFreqs" "1" Option "FlatPanelProperties" "Scaling = native" Option "dpms" Option "NoLogo" "1" EndSection
Section "Device" Identifier "Videocard0" Driver "nvidia" VendorName "Videocard vendor" BoardName "NVIDIA GeForce 4 (generic)" Option "NvAgp" "3" Option "UseEdidFreqs" "1" Option "FlatPanelProperties" "Scaling = native" EndSection
Section "Screen" Identifier "Screen0" Device "Videocard0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 16 Modes "1280x800" "1024x768" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "1280x800" "1024x768" EndSubSection EndSection
Section "DRI" Group 0 Mode 0666 EndSection
David
Yes, this does seem like it would be a problem. My graphics chipset is Mobile Intel 915GM/GMS,910GML. Maybe this is not yet supported under Fedora?
Any thoughts?
i810 driver support 915G as well - check man i810
so it won't hurt if u try it - there is always way back - see my earlier posting for details. u r almost there :)
i810 driver support 915G as well - check man i810
I think I will get somewhere with this soon. I do believe it is a device driver problem.
lspci gives me the following output 00:02.0 VGA compatible controller: Intel Corp. Mobile Graphics Controller (rev 03) 00:02.1 Display controller: Intel Corp. Mobile Graphics Controller (rev 03)
my xorg log suggests the problem is that there is no 'screen' set for the device 00:02.1 and I get the errors : Fatal server error: no screens found
I have the following in my xorg.con Section "Device" Identifier "Videocard0" Driver "i810" VendorName "Videocard vendor" BoardName "Intel 855" EndSection
Do I perhaps need something for Videocard1 ?
thanks again
Jon
On Tue, 2005-03-29 at 00:27 +0530, Ritesh Raj Sarraf wrote:
Jeff Vian wrote:
On Sun, 2005-03-27 at 22:05 +0530, Ritesh Raj Sarraf wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
Is there any possibility to get the list of uris yum, up2date or apt-rpm knows to download after doing an update.
I want to know how we can retrieve the uri's information for the packages which any of the above mentioned utilities are going to upgrade.
TIA,
rrs
You can find a sample of the yum.conf file at www.fedorafaq.org. See http://www.fedorafaq.org/#apt for one look at it.
That doesn't help. What I'm looking for is someway to get the information, in urls, of the packages these utilities (any yum or up2date or apt-rpm) try to download for an upgrade after doing an "update".
You might get better answers if you say what the problem is that you're actually trying to fix.
Yum will look in the places specified in your yum.conf file for updated versions of packages you already have, so the URLs can be constructed by looking at the repository locations you have specified for any updated versions of the packages you are using, and appending the package file name to the repository URL.
Paul.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Paul Howarth wrote:
You might get better answers if you say what the problem is that you're actually trying to fix.
Yum will look in the places specified in your yum.conf file for updated versions of packages you already have, so the URLs can be constructed by looking at the repository locations you have specified for any updated versions of the packages you are using, and appending the package file name to the repository URL.
Okay! Here is what my problem is. I'm doing a small piece of program for "Offline Package Management" in my way of learning programming. It's named pypt-offline hosted at SourceForge. The program helps people who have machines on a dial-up connection but still would like to enjoy the features that yum, apt-rpm, up2date provide i.e. automatically upgrade all required packages from the net. I've already implemented it for dpkg in Debian. I want to incorporate rpm support too in it.
The person with a dial-up connection only updates his package database. Say after the updation he comes to know that he needs to download 300mb of software packages to upgrade to the latest security fixes. It would be a pain for people (specially in Asian countries like India and Nepal) to download the whole of 300mb on a dial-up connection.
This is where pypt-offline helps. You just fetch the url list from your machine after updation. You now have the urls of the packages that need to be upgraded. Take the url list to another computer, possibly to your office computer having a high speed connection, use it with pypt-offline to download all the packages, take back home and just simply upgrade.
Since pypt-offline is coded in Python, you enjoy the benefit of running it on any OS on your other high speed machine (Windows, Linux, MacOSX). pypt-offline also supports looking into a directory of already downloaded packages to see if any packages it needs to download are already available or not. It also supports apt-proxy like directory tree structure. It can walk through directories to check for the concerned package.
Please let me know if there is anyway to fetch the list of urls from yum or apt-rpm or up2date. For apt, we do it very simply using: apt-get -qq --print-uris upgrade > uris
TIA,
rrs - -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com Gnupg Key ID: 04F130BC "Stealing logic from one person is plagiarism, stealing from many is research".
On Tue, 29 Mar 2005 22:23:52 +0530, Ritesh Raj Sarraf riteshsarraf@users.sourceforge.net wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Paul Howarth wrote:
You might get better answers if you say what the problem is that you're actually trying to fix.
Yum will look in the places specified in your yum.conf file for updated versions of packages you already have, so the URLs can be constructed by looking at the repository locations you have specified for any updated versions of the packages you are using, and appending the package file name to the repository URL.
Okay! Here is what my problem is. I'm doing a small piece of program for "Offline Package Management" in my way of learning programming. It's named pypt-offline hosted at SourceForge. The program helps people who have machines on a dial-up connection but still would like to enjoy the features that yum, apt-rpm, up2date provide i.e. automatically upgrade all required packages from the net. I've already implemented it for dpkg in Debian. I want to incorporate rpm support too in it.
The person with a dial-up connection only updates his package database. Say after the updation he comes to know that he needs to download 300mb of software packages to upgrade to the latest security fixes. It would be a pain for people (specially in Asian countries like India and Nepal) to download the whole of 300mb on a dial-up connection.
This is where pypt-offline helps. You just fetch the url list from your machine after updation. You now have the urls of the packages that need to be upgraded. Take the url list to another computer, possibly to your office computer having a high speed connection, use it with pypt-offline to download all the packages, take back home and just simply upgrade.
Since pypt-offline is coded in Python, you enjoy the benefit of running it on any OS on your other high speed machine (Windows, Linux, MacOSX). pypt-offline also supports looking into a directory of already downloaded packages to see if any packages it needs to download are already available or not. It also supports apt-proxy like directory tree structure. It can walk through directories to check for the concerned package.
Please let me know if there is anyway to fetch the list of urls from yum or apt-rpm or up2date. For apt, we do it very simply using: apt-get -qq --print-uris upgrade > uris
TIA,
rrs
Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com
Have you tried scanning /etc/yum.conf and each of the .repo files in /etc/yum.repos.d to find out which repo is enabled? Once you have the name of the enabled repo and its url, it shouldn't be that difficult to redirect and filter a "yum --enablerepo=<name> check-update>" to get the necessary data.