Ubuntu :: Sudo: Add-apt-repository: Command Not Found?
May 10, 2011I'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response
View 6 RepliesI'm trying to install java via ssh on my Ubuntu 10.04 LTS server and I keep getting this response
View 6 RepliesI've been trying to add (via terminal) a ppa:<name> from this site (finally got around to getting a Wacom Bamboo), but every time I try to do as it suggests, I get the following error:
Code:
$ sudo add-apt-repository ppa:hughescih/ppa
sudo: add-apt-repository: command not found
I found I already had this installed, but to double-check,I've uninstalled and re-installed it to make sure, and still to no avail. I wasn't sure if I'm still missing something or what the deal may be.
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
When trying to open nautilus as root, I get the following message:
xxx@xxx-desktop:~$ sudo nautillus
[sudo] password for xxx:
sudo: nautilus: command not found
xxx@xxx-desktop:~$ sudo nautilus
(nautilus:3917): Eel-CRITICAL **: eel_preferences_get_boolean: assertion 'preferences_is_initialized ()' failed
Initializing nautilus-gdu extension
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'UploadFinished'
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'DownloadFinished'
** (nautilus:3917): WARNING **: No marshaller for signature of signal 'ShareCreateError'
Initializing nautilus-clamscan extension
Fontconfig error: Cannot load default config file
** (nautilus:3917): WARNING **: Could not inhibit power management: The name org.gnome.SessionManager was not provided by any .service files
--- Hash table keys for warning below:
--> xxx
--> root
--> inode/directory
--> l2050
--> l2049
--> staff
--> xxx
(nautilus:3917): Eel-WARNING **: "unique eel_ref_str" hash table still has 7 elements at quit time (keys above)
(nautilus:3917): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 12 elements at quit time
Shutting down nautilus-gdu extension
I just installed node.js and it is located at /home/apantev/local/node/bin . So I added the follow to my ~/.bashrc
Code:
export PATH=/home/apantev/local/node/bin:$PATH
And this works fine if I use node normally for instance
Code:
node -v
[Code]....
'' Ubuntu 11.04'' I have used G-parted to make some free space for my windows partition '' 100 GB. But before windows is installed the Grub loader is already broken . So i decided to restore the GRUB in the live CD en start with sudo grub and i get this:
sudo grub
sudo: grub: command not found
sudo /sbin/grub
sudo: /sbin/grub: command not found
I try to run a command located in /sbin or /usr/sbin using sudo, like "sudo ifconfig" or "sudo tail -f /var/log/messages", it comes back with "command not found". If I perform a "sudo -i" and drop to a root shell that way, the commands work fine. My sudoers file is as follows:
Code:
Defaults always_set_home
Defaults env_reset
[code].....
I've just installed Debian on my old iMac G3. The install seemed to go ok but failed to load to the GUI. Thats ok I'll just enter some lines into the xorg.conf and it will be fine, or so I thought. Now at the shell prompt when I type in any sudo command it says: "sudo command not found" Is there an alternate command I can use in this situation.
View 3 Replies View RelatedThe title says it all...Which package(s) do I need ?
View 4 Replies View RelatedI am trying to install postgres using the one click installer from [URL]. I downloaded the file into Downloads and ls shows me the file. When I enter the command "sudo ./postgresplus-8.4.1-2-linux-x64.bin", I get "sudo: ./postgresplus-8.4.1-2-linux-x64.bin: command not found". What am I doing wrong?
View 2 Replies View Relatedwhen i type this command
sudo /usr/sbin/initmodem.sh
the output is
sudo: usb_modeswitch: command not found
I am trying to install BSNL capitel modem in Ubuntu 10.04.
I am trying to get into a directory on my server, that is owned by root.
[Code]....
so i was removing softwares using ubuntu software center.. games i don't play and cheese webcam booth because it was not working, i intended to re-install it. after my installation, half my icons (i have extensively personalized my desktop) changed to defaults. The themes page said 'theme will not be as it appears because default.kde is not installed'. i did not remove any such package. just games. and furthermore, i installed a kubuntu plasma desktop system which i read in a thread contains the file default.kde but that hasn't helped and i still don't know what do to..
View 1 Replies View RelatedI have a guy in my office who was using an old version of ubuntu and he tried upgrading to 10 but now he's getting grub error 17. I Google this and everyone suggests reinstalling grub starting with opening a shell and typing 'sudo grub'.
However, I get 'command not found' in response to that. I've tried looking for the location of grub so I could try 'sudo /sbin/grub' and such, but I don't see it anywhere.
Also, I'm using a version 9.10 Live CD at the moment because I can't find out how to disable the drmraid option on the version 10 CD (necessary to detect the hard drives which, although they are on a raid controller are not configured as an array but separate drives).
I edited my "sudoers" file with "visudo". Added the line, after the root privileges definition.
Code:
root ALL=(ALL) ALL
myuser ALL=(ALL) ALL
I try to:
Code:
$ sudo ls /root
[Code]....
trying to get wine working was reading the tutorial-
"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-
"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:
Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras
but when i try and run in the terminal i get "command not found".
using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1
I am looking for gcc installation in CentOS 5.4. I cannot use yum install since not connected to internet. I tried to do sudo apt-get install build-essential but received the following error: sudo: apt-get: command not found How to install gcc in my Linix machine?
View 2 Replies View RelatedI recently switched back to ubuntu after a year of gaming on w7, however I think that this time I'm going to stick to ubuntu, if she doesnt screw me like she has the previous times. Anyways, I was just wondering what media players you guys favor, and why? (maybe there doesn't have to be a reason xD), and I tried to install beep media player with:
sudo aptitude install beep-media-player
And the return is: sudo: aptitude: command not found
I am going to reinstall my GRUB bootloader and some one said do the followings:
But when I type "sudo grub" in terminal it gives this error: "sudo: grub: command not found"
I had edited the bashsr file wrongly in my ubuntu while trying to put a "export" command in bashsr for javac. Next when i am writing sudo , its saying :
Command 'sudo' is available in '/usr/bin/sudo'
The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found
I was changing some file permissions with the chmod 777 command and i accidentally executed:
Code:
sudo chmod 777 /*/*/*/*
and now i can't get root access to anything. If I try executing a sudo command i get:
sudo: /etc/sudoers is mode 0777, should be 0440
sudo: no valid sudoers sources found, quitting
Here's the details to this mornings update error:
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
code....
It mentioned bug report but I don't know where that is. I'll try later.
Today I installed Fedora12 from the DVD, so this is my first contact with all of you. The last years I ran very well with gentoo, but the time for system maintenance got to big the last few times I updated the system, so I decided to change and here am I. The Problem: My system is newly installed from the DVD and I was trying to run the first update, but got the following errormassage by KPackageKit:
Code:
Error Type:
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.6/site-packages/packagekit/backend.py, line 710, in dispatcher
self.dispatch_command(args[0], args[1:])
[Code]...
It occured after informing me about the amount of packages that need to be updated and a message about some dependencies that have to be newly installed. At the moment I'm a bit lost about what to do. Also I realy don't know which system-information would be useful - let me know and I will answer.
I just installed Fedora Core 12 and when attempting use the update utility am receiving the following error:
[code]...
I did a clean install of Fedora 12 (AMD64) two days ago and I have been trying to update the packages. But it won't work. I keep getting these errors. I tried both Software Update and command-line utility to update. code...
View 4 Replies View RelatedAlright setting up a friends netbook, display has been a little iffy (slow. glxgears is giving like 100fps). Couple issues: xorg.conf doesn't exist (i know thats typically not an issue) and "sudo xorg -configure" and "sudo xorg --configure" both return "xorg command not found."
glxinfo say that its using Mesa for the software rasterizer and that the driver is from mesa. lspci says the VGA controller is from Intel. I'm thinking xorg is defaulting to vesa for drivers, but I need to know how to change that to the open source intel driver
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3122, in main
backend.dispatcher(sys.argv[1:])
Also, how can I upgrade drivers/add drivers for my hardware?
I just installed Fedora and have no idea what Im doing lol.
I'm getting this strange error when i run updates... This is the error report i get...
Quote:
[Code]....
I have been trying to install selected packages but the problem is still there....
just installed a fresh copy of fedora 12 and getting this error when trying to update the system.
Code:
Error Type: <class 'yum.Errors.RepoError'>
Error Value: Error getting repository data for installed, repository not found
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 3125, in <module>
main()
[code]....
Running System>Adminstration>Software Udates, I get the following errors
[code]...
Similarly, if I click on System>Add/Remove Software>Package Collections, I get No groups could be found. A cache refresh should fix this. I don't see how to do a cache refresh. I tried rpm --rebuilddb, which didn't do any good and um clean all which also did no good. I did manage to do the updates with yum updates But I don't want to have to use yum at the command line all the time to do updates.