General :: Apt-Get Install Command Does Not Work
Aug 11, 2010
I use the 10.04 ubuntu, somehow I did something and now the apt-get install command doesn't work. No matter what package I try to download, there's always a "couldn't download all packages run update or --fix...." message. When I scroll up I see that it downloaded some packages but it couldn't find them all. So I thought that I should try a different server. I googled it and found that the server's address is stored in /etc/apt/sources.list. I edited that file and replaced all the deb and deb-src lines with the server's address. I saved that but when I tried to download something (like vlc) I got a "E: Couldn't find package vlc" message. I also tried many different server's but there was no difference. Am I doing it wrong? Should I run a command after editing the /etc/apt/sources. list file? Or didn't I edited the file right?
View 4 Replies
ADVERTISEMENT
Jan 16, 2010
I accidentally removed gnome-desktop when I removed PuleAudio. When I boot, I log in and I am stuck at the CLI. However, I can't get any command to install Gnome to work, including sudo apt-get install gnome-desktop or sudo apt-get install gnome. I forget what the error messages were.
View 1 Replies
View Related
Sep 19, 2010
I am trying to install openoffice, so I downloaded installation file from openoffice.org and saved in my desktop...
/Desktop/OOo_3.2.1_Linux_x86_install-rpm-wJRE_en-US.tar.gz
Now I tried using yum command it doesn't work
also sh <path>
its not working...
View 14 Replies
View Related
Apr 6, 2011
I am facing issues while trying to compile git-1.7.4 on Red Hat Linux release 8.0 (Psyche) machine. I have given steps that I have followed.
[code]....
View 3 Replies
View Related
Jun 10, 2011
I used SVN to check out the code of an open source project. When I typed the following command:
[user1@smallfox]~/workspace/project1% svn co http://svn.apache.org/repos/asf/mahout/trunk
It worked just fine. However, when I typed the SVN command in the root directory, it did not work and gave me an error message:
[user1@smallfox]~% svn co http://svn.apache.org/repos/asf/mahout/trunk
zsh: command not found: svn
View 1 Replies
View Related
Jul 6, 2011
I don't know why --exclude doesn't work when I use tar command. Please see this code
Code:
mahmood@pc:~$ l a/
1.txt 2.txt 3.txt b/
mahmood@pc:~$ tar cvjf compressed.tar.bz2 --exclude=/home/mahmood/a/b/ a/
a/
a/2.txt
a/1.txt
a/3.txt
a/b/
mahmood@pc:~$
As you can see although I excluded b/ but tar command ignored that.
View 2 Replies
View Related
Jun 3, 2011
I'm running this command, and seems not to work, following the command:Quote:for nic in `ls /sys/class/net | grep -v lo`; do echo ${nic}; udevinfo -a -p /class/net/{nic} | grep -i address; doneThe output is the following:Quote:eth0eth1But the output should show something like this: (showing the MAC address)uote:
View 6 Replies
View Related
Jun 15, 2011
I am have trouble getting the ls command to work exactly how I want, for example, sometimes I want to list the contents of a directory into a text file by command:
Code:
ls directory > list.txt
(assume the only objects the directory contains are files with extension .dat eg file1.dat, file2.dat, ...)sometimes I want the relative path of the files prepended to them in my text file eg:
path/file1.dat
path/file2.dat
path/file3.dat
[Code].....
It feels like ls is unpredictable in this regard - sometimes it prepends the path and sometimes it doesn't and sometimes it adds both entries (with and without the path prepended into the text file)....How can better control the way ls works?
View 2 Replies
View Related
Feb 19, 2011
I am teaching using an Ubuntu 10 server. The course stipulates the students use the mail command to send me assessment work, however I can't get mail to work (I did have to install it in the first place). After I end the message with a dot I get the message "send-mail: cannot open mail:25".
View 7 Replies
View Related
Aug 13, 2010
-cd command of urxvt doesn't work
View 1 Replies
View Related
Oct 5, 2010
Code:
nnjond@nnjond-den:/$ cd /media/disk/Dual_Data/
nnjond@nnjond-den:/media/disk/Dual_Data$ ls
07_Magna_DOWNLOADS 21_TEMPS Peleas.htm
08_Self-Improvement 22_Desktop Pelleas.odt
[code]....
View 6 Replies
View Related
Sep 26, 2010
i am using rhel 5.4..today i type the command setup! is not workERRor: error while loading shared libraries: libslang.so.2: cannot open shared object file: No such file or directory
View 5 Replies
View Related
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
Nov 24, 2009
Ive been using linux for a few months now and every now and again i come accross a program that doesnt have a rpm package but says that it can be installed on Fedora using source. I'm familiar with build essentials and the following commands:-
tar xzvf package.tar.gz
cd package
./configure
make
make install
but from what i have read fedora uses a differnet compiler. I'm trying to install Buddi budget manager and the ./configure command doesnt work, which im guessing is because it doesnt have a configure file? Can anyone confirm how to compile from source and whether there are any tutorials specific to fedora.
View 4 Replies
View Related
Jul 1, 2009
When in command mode one can come out of the file temporarily by Code: :sh in command mode. When I find myself on the shell on RH 9 the aliases dont work but in RHEL 4 all aliases work like charm. Does anyone know why is it so?
View 4 Replies
View Related
May 7, 2010
I can make aliases fine by editing the .bashrc file in my home directory, but the first thing I do when I open a terminal window is sudo su so I don't have to type sudo in front of every command. The problem is, I am then not able to use my aliases. How can I make aliases that work after I run the sudo su command?
View 2 Replies
View Related
Oct 29, 2010
I have a PDF that I built using BIRT, and that works fine. At this point I'm trying to print it using lpr or some other command. It seems as though I should just be able to type lpr invoice.pdf and it should print to the default printer. However, lpstat -t shows "Empty print file!" for the printer, and the printer doesn't do anything, let alone print the file. lpr -l invoice.pdf prints the file, but unformatted - just a bunch of characters and whitespace on a seemingly infinite number of pages.
View 2 Replies
View Related
Feb 4, 2010
Code:
This won't work in a script but it WILL work on the commandline...
Here is my output when I try the script:
Code:
Also, what is the at the end of the path in the error?
View 3 Replies
View Related
Jan 14, 2010
When i use the shutdown-command in the terminal as root, it nearly works. It starts to shut down, and it looks like all programs and the kernels shuts down. I end up with a black screen, sometimes with the ubuntu-logo on, but it never powers off. I have to force it off by holding the power button. When i use the graphical interface to shut it down, it works perfectly. The poweroff-command works without problem too.
Here is the command i use:
Code:
View 4 Replies
View Related
Apr 3, 2011
CUPS was not originally installed on my server, I have installed it but cannot print to my network printer. On my laptop, I can... they are both running the same version of Debian. What could be missing?
Here are some details...
I have two computers running the same version of Debian. One is a server with no GUI and the other is my laptop with GDM installed. My laptop (which prints with no problem) is connected via Wifi. My server is connected directly to the router via Ethernet. I cannot print from the server.
The printer is a Canon Pixma MP495 that connects to the router via Wifi. I have downloaded drivers for the printer from [url] and installed them successfully using dpkg on both computers.
Right now I have a regular text file that I am using for a test page. To print from my laptop (with success) I type:
Code:
This does not work from the server. What could I be missing?
lpq run on server:
Code:
lpinfo readout:
Code:
View 14 Replies
View Related
Jan 26, 2010
How, using the command line can I detect my wireless card and make it work under SUSE Enterprise Desktop? The wireless card works in Win XP.
View 8 Replies
View Related
Nov 28, 2010
" Mark the start of the text with "v", "V" or CTRL-V. The character under the cursor will be used as the start.""With CTRL-V (blockwise Visual mode) the highlighted text will be a rectanglebetween start position and the cursor."I can mark the start with "v" or "V".But it doesn't work when I push ctrl+V.
View 14 Replies
View Related
Feb 11, 2010
Im running opensuse 11.2 with "Lxde". Problem is I cant get xmms2 to work from the command line. I think i need to get mad (mp3) support to work. I installed libmad0 but when I check the installed plugins, theres nothing there to handle mp3's. Heres the installed plugins:
[Code]...
View 2 Replies
View Related
Jan 2, 2010
How can i install total rpm packages in Server folder which is locket at /root/Server
View 3 Replies
View Related
May 12, 2010
I am trying to install gnome from command line on red hat
View 2 Replies
View Related
Jul 4, 2010
When we,
./configure
make
make install
Where are the programs installed?
View 2 Replies
View Related
Sep 21, 2010
I am going to compile and install my first linux application from the command line. The program is the port scanner program NMAP, and I am looking at the documentation to learn how to do it. I saw this thread [URL], and I just want to make sure I understand what it is I'm doing.
bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -
cd nmap-5.35DC1
./configure
make
su root
make install
"bzip2 -cd nmap-5.35DC1.tar.bz2 | tar xvf -"
Here I am calling the bzip2 program to work with a specified file. look for the file nmap-5.35DC1.tar.bz2 in the current diretory (-cd) and to pipe (redirect) something, this is where I get lost, I think. And I know what x & v mean but not f, or what that has to do with the previous commands.
cd nmap-5.35DC1
Chage to the named directory.
./configure
I assume this is a command?
make
Builds an executable
su root
make install
not sure what the difference is between this and the above.
View 7 Replies
View Related
Jun 30, 2010
I am looking out for a command which can give me the list of applications installed and the corresponding install paths for those.let me know if there is any such command. Also, i am using rpm command to get the list of packages installed(i am assuming that this shows the list of applications installed).
View 4 Replies
View Related
Jan 11, 2010
"You'll probably want to operate from inside your home directory. If your user is (for example) username, your home directory will be /home/username/. For the rest of this section we will assume you have downloaded your zip file to /home/username/src. If you do not have a src directory, you can create it with the following "mkdir" (make directory) command:"
Where do the commands go? I cant make it work in terminal. How do I get back to "home" from where i am now? example /home/mydesktop/. I am working in mydesktop. I have downloaded some packages that pkcon search will not find, but when I try to install them using "synaptic" it cant find the packages i dl. So I found this tutorial.
"So, we have our source package in /home/username/src/.
Change to the /home/username/src/ directory with the "cd" (change directory) command like so: cd /home/username/src/
but I dont know where to write the commands.
View 7 Replies
View Related
Apr 20, 2011
I'm using a usb stick to test ubuntu. Is it normal that apt-get install doesn't work? I have a internet connection.
View 10 Replies
View Related