Software :: RPM Malfunction On Ubuntu (APT-GET Command)
May 9, 2010
Today I experienced an weird functioning of rpm on ubuntu. In general, to install any software on ubuntu we use "apt-get" command,but, the problem with it is that it will install the latest version of that software present in the repository. For installing the older versions of the particular software, "apt-get" is not useful. Today I wanted to install the java 1.4 version on my box. I downloaded the rpm.bin file from the oracle Sun site. let us assume that the name of the downloaded file is java1.4.rpm.bin. To convert the file into an rpm format I gave the following command ./java1.4.rpm.bin. This command showed a list of terms and conditions and after accepting, it generated the rpm file java1.4.rpm.
Then I gave the command rpm -ivh java1.4.rpm. After executing this command, I expected java to be installed but it gave me an error like "rpm: please use alien to install rpm packages on Debian, if you are really sure use --force-debian switch. See README.Debian for more details." When I do the following steps same-to-same on redhat and when I gave the command ./java1.4.rpm.bin, java got installed automatically and environmental variable was created. I do not know why ubuntu is not supporting the rpm packages. If we want to use "apt-get" then we have to see the alternative way of installing the older versions of any software.
View 2 Replies
ADVERTISEMENT
Nov 25, 2010
After I finished the upgrade, everything is running super slow (I'm actually writing this on my Vista). One thing that I did different during the installation process was keeping my grub's menu.lst file intact so it's the same as it was before (still showing 9.04 on the title). Should I completely reformat my ubuntu partition and install 9.10 from scratch??? (I have a feeling I do)
View 1 Replies
View Related
Mar 25, 2011
I am running Ubuntu on an Acer 5742 laptop and running XP on Oracle Virtual box and plugged in externally (keyboard, mouse etc...) I have lost ability on both the laptop numeric keyboard (only the numeric keys) and the external keyboard when plugged in. This happened while I was working in Virtual box and running Windows XP.
When the laptop is on its own the numeric keyboard doesn't work (only numeric keys) either. I have toyed with the number lock and I have un-installed and re-installed both"keyboard input methods" and "input method switcher" within Ubuntu software centre to with no change. Not that I bought the damn computer for the numeric keyboard but it should work.
View 2 Replies
View Related
Aug 14, 2009
Sometimes when I hotplug a SATA device to/from say /dev/sdb, it malfunctions/times out, and cannot be detected. Then when I plug in another SATA device, it gets detected as /dev/sdc even though /dev/sdb is no longer there. How can I reclaim /dev/sdb in this case?
View 5 Replies
View Related
Jan 1, 2011
i have an acer aspire one with a 250 gb hdd the hdd is currently partitioned into two parts part 1 - 85 or so gb, has windows installed part 2 - the rest which is currently unallocated. i am trying to install ubuntu so that each has its own section and will dual boot once in the ubuntu installation window, how do i set up the partition to achieve this? i am trying to install ubuntu 10.10 netbook
View 4 Replies
View Related
Dec 21, 2009
I was looking to get glx to work with direct rendering. So i installed the nvidia drivers from the openSuSe Sight. I installed because /var/log/Xorg.O.log Said that the Nvidia card was not loaded. Long story short looks like the card is loaded but X windows... I guess GLX is not running and neither is Opengl. I still have output to the monitor. here is
[Code].....
View 9 Replies
View Related
Oct 6, 2010
I've compiled HandBrake 0.9.4 from source as well as installed it with success(--enable-Gtk). However, many buttons (among them the 'Start' and the 'Pause' ones) do not seem to work at all-they are colored grey and I cannot click on them.Probably,it's a gui malfunction.
View 8 Replies
View Related
Oct 31, 2009
I installed Kubuntu 9.04 recently which I thought was jaunty, but my apt sources list had Karmic Koala as the repos. Updater told me 9.1 was available so I used updater to upgrade my system. Normally I'd use apt-get dist-upgrade. Since then, apt-get / amarok and updater won't access the all the repos. Apt-get stalls at ip 32.1.3.136.
Here is my sources list.
deb http://au.archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://au.archive.ubuntu.com/ubuntu/ karmic main restricted
deb http://au.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://au.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb http://au.archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://au.archive.ubuntu.com/ubuntu/ karmic universe
deb http://au.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://au.archive.ubuntu.com/ubuntu/ karmic-updates universe
deb http://au.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ karmic multiverse
deb http://au.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
deb http://archive.canonical.com/ubuntu karmic partner
deb-src http://archive.canonical.com/ubuntu karmic partner
deb http://security.ubuntu.com/ubuntu karmic-security main restricted
deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
deb http://security.ubuntu.com/ubuntu karmic-security universe
deb-src http://security.ubuntu.com/ubuntu karmic-security universe
deb http://security.ubuntu.com/ubuntu karmic-security multiverse
deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
deb http://au.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://au.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
Interestingly, I thought I had installed the Medibuntu repos as well?
View 1 Replies
View Related
Apr 8, 2010
I would like to ask something. Today my network Internet access suddenly slowed down, after inspecting the problem the hard way we disconnected one of our servers(ip=190, debian squeeze) from network and the network was alright again. When we plugged it back in, following symptoms were observed: computer 190 pinged gateway app. each 6th time. gateway(debian lenny) pinged computer 190 app each 6th time whole network Internet access was slowed down, local network functioned just fine
While pinging themselves, i ran iptraf on icmp packets on gateway and I saw what i thought was ping attack, lots of echo request coming from external address to computer 190. Blocking that address in iptables didn't help but restarting the gateway did, network Internet conenction is at full speed and gateway and computer 190 ping just fine.
My question is, what steps should I undertake in similar case (it's second time in 2 months) - to debug similar problems. Is it even possible for ping DOS to this kind of damage?
View 2 Replies
View Related
Jun 16, 2009
My hard drive's file system has become totally mucked up. I had a few partitions on it, 0 is XP, 1 is vista, 2 is Debian, and 3 is the data. I know that it's this hard drive because when I disconnect it, any liveCD runs ok. After failing to boot puppy linux (liveCD), xp (bootmgr not found), debian (ended in kernal panic), I tried GPARTED. The xp and vista partitions are listed as existing, but they show a problem flag, gparted says they are corrupt, and they are not listed as having a start, end, or any data. However, the main data partition does list a start, end, size, and data space used.
I need to either format those or get into something that will let me access the data partition. Gparted either hangs on boot or doesn't recognise the mouse so I can't reformat the bad partitions. Are there any programs that will ignore the bad partitions and let me access the good ones? Any time I go into a linux distro it either ends up in kernel panic or the mouse doesn't respond. It's hard to explain. With GPARTED, sometimes it hangs at the third line, sometimes it fails at "mounting hard drives", and sometimes it makes it to the GUI but I can't use the mouse. Debian alternates between these as well.
If I keep trying it looks like I can boot, and it will recognise the partitions, but I can't use the mouse. I'm kind of familar with bash, is there a way to start up the terminal with no gui? If I could get a terminal up with a hotkey in the GUI or just start up from a terminal (no gui), I could type mv dev/sda3/ or whatnot. If I could get into a terminal of gparted I could format the bad parts of the drive to see if that would work. Otherwise it looks like I'm going to have to zero out the drive with the WD diag tool. The data isn't life or death, but it would save me some time.
View 3 Replies
View Related
Mar 23, 2011
I am using Mepis 8 on my PC and also have a laptop with windows XP installed. I had the laptop connected to the printer (HP Deskjet 930c) on my PC through the Internet Printer Protocol but it suddenly refused to work. I accessed localhost:631 through my broswer on my PC and there was a error message "permission denied on /dev/lp0". Now my printer refuses to work on my PC also. I have tried deleting the printer and rebooting and reinstalling it but the KDE print manager lets me get right to the final stage before informing me it cannot create the printer. All I was trying to find the URL to install on my laptop.
View 7 Replies
View Related
Oct 18, 2010
I recently installed Ubuntu 10.10 Desktop Edition on my HP Compaq Presario V3018TU Note Book PC.It is working fine. The problem is with Power Meter.It shows battery Charged in Icon, though it is discharging. Also after clicking on it, it should show % battery power. But it only shows (estimating).Is there any way to fix this ?It was working fine with Ubuntu 10.04.
View 4 Replies
View Related
Mar 26, 2011
I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...
I just installed the JDK, SDK, Eclipse successfully (or I assume):
* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).
** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,
My system:
Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2
View 5 Replies
View Related
Mar 29, 2010
I just recently learned about the wonderful little lpr command- and using man -t (bash command) to beautifully print man pages for reference- but is there a way to print both sides of the paper using a printer so equipped?
View 2 Replies
View Related
Feb 17, 2010
how to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
View 1 Replies
View Related
Dec 2, 2008
I'm the noobiest noob you'll find on here. I'm having trouble getting ruby on rails to work with mysql on redhat. So on their forum I asked how to install the latest "sqlite" database package on linux.They told me to run.Now, I don't think I need "sudo" because I am the root user on my database, and I don't think I can use "apt-get" because I'm using redhat, not ubuntu.
1) Is there a way of running the above command on redhat? (A redhat command for installing things?)
2) How can I be sure I'm using redhat and not some other OS?
View 1 Replies
View Related
May 29, 2010
i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies
View Related
Mar 19, 2010
I have a big bash script ,its goal is to download movie one by one . But I often get into a problem: if this script is executed in cron,it often does not completely download the movie.I often find the movies it downloaded are several KB while the movie is actually 20MB.So I think it is because it did not wait for finishing one task ,and jump to download another.So I want to know ,is there a way to force the bash script to wait until one movie downloaded completely and then start to download another movie ?
View 8 Replies
View Related
Mar 19, 2011
want to know if Ubuntu provides a command to search for a command having a specific word.e.g.If I know a command contains editor as a substring but don't know exactly what the command is,then is there a way to find that command or the list of commands having editor as a substring.
View 1 Replies
View Related
May 6, 2010
In Ubuntu 10.04 grub command prompt setup command does not exist for installing grub.I am trying to recover my Feodra12 OS.Did anyone find alternate command for setup in grub command line for Ubuntu 10.04 ?
View 2 Replies
View Related
Jan 10, 2010
I am a linux newbie, and recently started shell programming. whenever I use 'let' command it gives me an error 'command not found'. I am using ubuntu 9.10 with bash.
View 5 Replies
View Related
Jun 18, 2010
Code: cmd='date | wc'
$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?
View 4 Replies
View Related
Jul 3, 2009
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies
View Related
Apr 30, 2011
I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found
path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found
Can someone point me in the right direction
View 1 Replies
View Related
Oct 25, 2010
I tried
Code:
chown -R owner:group *
which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?
View 9 Replies
View Related
Jul 21, 2010
I want to be able to use Ctrl+R to have reverse-i search. Also if I press Shift+Up Arrow after typing the first few characters of a recently executed command then the shell should complete the command by finding the most recent commmand having the same first few characters.
View 1 Replies
View Related
Jun 7, 2010
Bash's command history is great, especially it is useful when adding the history -a command to the COMMAND_PROMPT.However, I'm wondering if there is a way to log the commands to a file as soon as the Return key is pressed, e.g. before starting the command and not on completion of the command (using the COMMAND_PROMPT option would save the command once the prompt is there again).
I read about auditing programs like snoopy and session recorder like script but I thought they're already too complex for the simple question I have. I guess that deactivating that script logs all the output of the command would lead already in the right direction but isn't there a quicker way to solve that probelm?
View 1 Replies
View Related
Apr 14, 2011
When you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.
View 4 Replies
View Related
Nov 20, 2009
i'm trying to redirect the output of a command to the input of the next command. not sure if i'm going about this the right way. an easy method would be just to store the output of the previous command in a file and redirect input to read that file, but i'm curious to see if this can be done without writing to any files.
View 9 Replies
View Related
Jun 23, 2009
I have to trace back what command and when it is used for the last 3 months. It is quite urgent as I have trouble with the system configuration.
View 5 Replies
View Related