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.

Something like... rpm -ivh << wget http://path/to/rpm

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')

View 2 Replies


ADVERTISEMENT

General :: Does Not Get Redirected To STD Error

Nov 29, 2010

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?

View 9 Replies View Related

General :: How To Echo Redirected Stdin

Sep 26, 2010

I execute an application from a script file and redirect stdin to it from here-doc like this:

my_cli << HERE_DOC
enable
configure
10
exit
exit
HERE_DOC

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?

View 3 Replies View Related

General :: Wget A File With Correct Name When Redirected?

Jun 23, 2011

I was unable to find an answer to something that (I think) should be simple:

If you go here: [URL]

like so:

wget [URL]

you'll probably end up with a file called "download_script.php?src_id=9750"

But I want it to be called "molokai.vim", which is what would happen if I used a browser to download this file.

Question: what options do I need to specify for wget for the desired effect?

I'd also be ok with a curl command.

View 2 Replies View Related

General :: Mail() Function Doesn't Work With HOTMAIL But Its Work With Others?

Apr 27, 2011

i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,

View 1 Replies View Related

General :: Sound Doesn't Work / Get That?

Jan 27, 2010

I got a sound issue with my debian system
here is some outputs
lsmod

Quote...

View 3 Replies View Related

General :: Ctrl+alt+[f1 -f3] Doesn't Work?

Jan 13, 2011

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.

View 2 Replies View Related

General :: Monitor Doesn't Work / Get That?

Feb 27, 2011

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?

View 1 Replies View Related

General :: Live CD Doesn't Work On Old PII?

Jan 31, 2011

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?)?

View 11 Replies View Related

General :: Rmi In Fedora Doesn't Seem To Work

Oct 3, 2010

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!

View 2 Replies View Related

Ubuntu :: Websites Get Redirected At Random With Both Browsers

Jan 23, 2011

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.

View 4 Replies View Related

General :: Java Sound Doesn't Work?

May 26, 2010

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!

View 2 Replies View Related

General :: Argument To Cp In Backticks Doesn't Work?

Nov 9, 2010

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.

View 2 Replies View Related

General :: Bootable USB Doesn't Work On Every Machines

Dec 17, 2010

I used unetbootin to make a bootable USB key (a BT4 persistant live cd)

But it wors only on a few machines. (only 1 out of 6 i tried) Most of the time boot sequence get stuck on a blinking prompt cursor.

Ex:

Attempting Boot From Floppy Drive (A:)
Attempting Boot From USB Device
_ <-- stuck...

Then boot on HDD

Is it do to the usb key or machines that do not load mbr the same way?

Edit: the stick is formated with MBR have 2 partitions. The first is FAT32 and active, second is ext3

PCs i have tested can boot on USB (at leat you can select a USB device for Boot)

View 2 Replies View Related

General :: Sound On Ubuntu Doesn't Work

Mar 7, 2011

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?

View 1 Replies View Related

General :: My Ball Doesn't Work On My Keyboard

Apr 18, 2010

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.

Here's a picture of the thing: [url]

View 1 Replies View Related

General :: USB Audio Detected But Doesn't Work

May 3, 2011

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?)

View 4 Replies View Related

General :: Wake On Lan Doesn't Work After Shutdown

Nov 2, 2010

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.

View 8 Replies View Related

General :: 1 Website Doesn't Work With Proxy

Jan 3, 2010

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.

View 6 Replies View Related

General :: -cd Command Of Urxvt Doesn't Work

Aug 13, 2010

-cd command of urxvt doesn't work

View 1 Replies View Related

General :: Why Doesn't Hibernate Work In Ubuntu 10.10

Dec 3, 2010

Why doesn't Hibernate work in Ubuntu 10.10?

I have tried to research the problem and suspect that the hibernation function is not a default function of the system. But how do I install it.

View 4 Replies View Related

General :: Hibernate / Suspend Doesn't Work

Aug 4, 2011

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.

View 14 Replies View Related

General :: Installing Ubuntu Doesn't Work?

Mar 22, 2011

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?

View 4 Replies View Related

General :: Lucid Puppy And DSL Doesn't Work

Apr 17, 2011

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

View 2 Replies View Related

General :: Magnet Link: What Is It And Why Doesn't It Work

Jan 30, 2011

Kernel: 2.6.21.5, O.S.: GNU/Linux (Slackware 12.0).
Firefox 2.0.0.4

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.

View 2 Replies View Related

General :: NIC 3Com900 PCI Doesn't Work On Ubuntu 10.02 LTS

Sep 24, 2010

I just installed Ubuntu 10.02LTS in my computer and it doesn't recognize my ethernet PCI card. Which is and how can I install the right driver?

The card is: 3Com EtherLink XL PCI 3C900-TPO

View 1 Replies View Related

General :: Removing A Program Doesn't Work?

Nov 16, 2010

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.

Code:
apt-get remove bacula
Code:

[code]...

View 14 Replies View Related

General :: Run Application - Shortcut Doesn't Work

Mar 19, 2011

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.

View 4 Replies View Related

General :: Screen Doesn't Work In Cronjob-SH

Sep 12, 2010

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.

View 2 Replies View Related

General :: Sudo Command Doesn't Work

Oct 17, 2010

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

[Code].....

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved