General :: Rpm Doesn't Work When Used With URL That's Redirected?
Jun 4, 2011
If I do the following, if the URL is a redirect, it doesn't work
rpm -ivh http://path/to/rpm
I have to use wget http://path/to/rpm which resolves the redirect and downloads the file, then run rpm on that file.
More for my knowledge of bash than anything else, would there be a way to redirect the file downloaded from wget into the rpm (something like redirection or pipes or something), so that they could be combined into one command and you wouldn't explicitly save the file first.
I have one more question, and that is whether there is a command in linux, such as wget, that would let me pass it a URL and output the redirected-to URL if the argument.
e.g. ('wget --someflag http://orig/url' would output 'http://url-after-redirects-followed')
I am not really a Linux or unix user, so apologies if the question seems too easy to be asked on the forum, but I tried using the search engines and failed. Code: cat < foo 2> bar Why doesn't this get redirected to stderror on error conditions?
This works as expected, but I don't see neither the input nor the app output. The application is an interactive prompt written in C. When I interact manually with it, I see the prompt itself and responses to my input, but when I execute the aforementioned script I see nothing. I would like it to print the input and the output as if a real user was typing. Do you know how to achieve that?
ctrl+alt+[f1 -f3] switch doesn't work, but back to ctrl+alt+f7 works normal. When i switch from ctrl+alt+f7 to ctrl+alt+f1 I see that on the dash flashes on the screen.
I've installed Linux suse 11.3 on my laptop, but the monitor doesn't work. my laptop is a VAIO one and it's graphic card is NVIDIA GEFORCE 310m, so what should i do?
yesterday I was trying to install Puppy Lucid 5.2 on a old PC (PII 533mhz 265mb RAM). First of all I have launched the live cd, then set up language, time zone and keyboard... at this point pc stopped working and stay blocked on the desktop screen with no possibility to move pointer or use keyboard. Is it possible that hardware is too old to work with Puppy Lucid 5.2? May I have to try with a lighter OS (which one?)?
i was workin on my rmi programs today in my f12,and then i executed all the files related to the program,it did get executed! but when i type the command start rmi registry that is to start the registry system,it fails to does so:
heres the o/p: start: Unknown job: rmiregistry
the programs luks perfect and even got executed,sorry if the question is silly to be asked over her! i am completely new to fedora!
This happens at random and the problem persists even when using an alternative browser (Firefox & Chrome), being redirected to the same website. Sometimes it's [URL] going to [URL] going to AOL Lifestream.
I just installed Fedora 12 and after downloading and running the Java Sound Demo I get exceptions. If I run just a vanilla Java program that plays a .wav file it runs silently with no sound and no exceptions.
Every other app seems to play sound. I also took some advice from this thread in the Ubuntu forums which almost seemed to work. (Installing aoss got rid of the initial exceptions in the sound demo but I still hear nothing when I play.) I'm getting frustrated by the individual hoops I have to go through to eek sound out of my speakers when running Java apps on Linux platforms!
I tried using a command likecp `ls ~/temp/*.xyz | head -1` ./But that does not work. If I echo the value of command inside back ticks and put it manually in cp command it works.
I have this old kUbuntu box here, which used to be 8.04. For some reason after a bunch of upgrades and other unrelated changes sound doesn't work any more.
Sound works on this machine when rebooting to Windows, so it's not hardware problem. It used to work on Linux on this machine before, so it's not weird hardware. (lspci says 00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)) This problem persists across resets. alsamixer etc. claims sound is not muted, and volume is high. it's the same no matter which program I try to play some sounds (or which -ao for mplayer, default seems to be pulse) nothing obvious shows up in system settings
Do I really need to reinstall the system to fix that, or is there something simple I'm missing?
I've got a Compaq MX 11800 keyboard that has a ball (used as a mouse). The ball works fine in Ubuntu and Windows, but does not work in Debian or Fedora.
I don't know where to start troubleshooting this issue. Any help is appreciated.
you have an onboard soundcard that you have or may not have disabled in the BIOS, and you intend to use headphones with a USB sound card with headphone and microphone jacks (or no mic jack, it doesn't matter), but you notice that the headphones are detected. Alsamixer provides an interface to control the volume, etc etc, but still the headphones do not work..In my case, the module snd_hda_intel was being loaded for my onboard soundcard that I had disabled in the BIOS before booting the computer for the first time, and even though I tried to "activate" the USB headset in alsamixer, I still couldn't get the headset to work.
Solution as a trial: Open a terminal, and look to the code section for what you need to type.A big missing key to my puzzle is how to simply restart and/or reload a module so that it isn't necessary to unplug and plug back in the USB device. Can't I just re-discover the USB devices? (or other such hardware, such as a PCI card, or otherwise inaccessible component?)
I'm getting some trouble with Wake on Lan. The main question is: when I shutdown a PC through Windows, the WOL works well, but it doesn't happen when I shutdwon the same PC through Linux. It happens in all of my PCs here in the company.
I run a HTTP/HTTPS proxy server but one of our clients is having trouble accessing [URL]Can anyone see if the login button is using some kind of weird connection feature? I thought it might be using flash or something rerouting the connection through something other than port 80 (or 8080 for the proxy) but not sure if that is the issue.I just used a fake login and password but instead of giving me the incorrect password error the page just hangs.
First of all let me introduce myself. My name is Rasheed and i am from UAE, after not having any reply from a week in Fedora's official forum i came across the linuxquestions through google and hoping to help others and resolve my issues as well with the help of experts here. So here is my problem what i am currently having. I am going through a serious issue right now. My laptop crashes when SUSPEND/HIBERNATE or unplugging the laptop's charger.
i am trying to install "uBuntu" on a systeam "XP" standard installation but nothing happen, only if i start whit reboot my system. but i what to do so when my system is ruining. Its possible?
I tried installing lucid puppy(lupu) in my pen drive using Universal-USB-Installer-1.8.4.0 but when i booted up using my flash drive the boot screen displayrd a message:
SYSLINUX 3.86 2010-04-01 CBIOS Copyright (C) 1994-2010 H. Peter et al No DEFAULT or UI configuration directiove found! boot:_
I also get similar message message when i try to boot from DSL BUt a few weeks ago when i tried lupu without formatting my flash drive(it had some stuff in it) lupu ran it said 5 seconds to boot an image come but nothing more it hanged up showing a black screen and a blinking under score symbol
In some sites I find a link named "Magnet Link". If I click it, the browser says:
Quote:
Firefox doesn't know how to open this address because the protocol (magnet) isn't associated with any program.These sites are p2p (peer to peer) download ones. Perhaps Magnet Link has some advantage over normal torrents and it's a pity I can't profit by it.
How hard can it be to delete a program in debian. search the web to check that i am doing the right thing to from the start to uinstall and still the program hangs thereOkey this is what i have done.
I've run into a problem that the combination ALT+F2 doesn't launch Run Application I have Linux Mint 10, the key combination is assigned all right in 'Keyboard shortcuts' and in gconf-editor.
i wanted to ask you for help in setting up a cronjob, that restarts a game server.By now I made a script that kills the screen of the server and then restarts it.
I want to install some software using sudo apt-get command,but it dosen't work.(my network works well) how to handle it? below is the output of terminal:
@ubuntu:~/Downloads$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 Reading package lists... Done Building dependency tree