I have a problem, I changed the own of all the etc folder, it was a mistake, but I can't change it again, now, I cant use "sudo" because root is not the own. When I try to use "sudo" this is the error: sudo: /etc/sudoers is owned by uid 1000, should be 0. so, the own is my user instead of the root. How can I change it again?
i recently downloaded wubi and attempted to install ubuntu. everything went smoothly and the first time i tried to boot up ubuntu, the purple desktop background came up and ubuntu finished its installation. then i had to select which operating system to use (XP or newly Ubuntu), and when i choose ubuntu i get the following message:
"Choose an operating system to boot from:[XP is the only OS listed]
Use the up and down keys to select which entry is highlighted. Press enter to boot the selected OS. 'e' to edit the commands before booting or 'c' for a command-line. ESC to return to previous menu."after i select XP, the error message "error: unkown command 'drivemap'." displays briefly in the upper left hand corner. I am currently running Windows XP.
My sister got a Dell laptop installed Ubuntu 9.10Her 3 year old son got to the laptop and i have no idea how hey did this.He accidentally deleted the hole hard drive + file system ext4.Can com one tel me how the blip i can recover the lost data.Now if i do this sudo fdisk -lu i get this
Device boot Start END Blocks ID System /dev/sda1 * 19131 19458 2620416 C w95 FAT32 (LBA) /dev/sda2 18707 19457 6032407+ 5 Extended
I have a problem when I want to use su I get this error:Code:su: pam_start: error 26I have googled it so I found this topic (http://www.linuxquestions.org/questi...r-26-a-615024/) but it didn't really help me. There was a reply on that topic and his question was what the output of this was:
I have a router that is 1000 Base T and two computers each with ethernet cards that support 1000 Base T. All are equipped with Cat 5e cable. Before I had a router that only went up to 100 Base T and I would setup one box with linux running proftpd. On the other box,I would use win xp pro and use firefox to ftp into the other box and download a file. Download speeds went up to 11.2 MB/sec. Now when I switched routers, I expected something like 120 MB/sec but I'm only getting 5.3 MB/sec. What do I need to change?
Im newer in ubuntu i try to install ubuntu 9.10 in my Laptop HP DV5 Core2Duo 4Go Ram rin Windows 7 32bits and in Disc C: already windows 7 install on then i want install the both in th same HDD, like the same operation i make it in my Desktop Dell and it work perfectly, but now i have a error message please see Screenshot and I try to boot from CD and install Ubunto also i have screen black with 1000 ligne error
I have recently updated my ubuntu 9.10 install to 10.04. And with that I've tried to install snow leopard on my computer so i can dual boot between them.the install was successful, but grub2 (that worked fine) wouldn't see the OS X install on its own partition. so i tried reinstalling it, like you do after you install windows and it would remove grub as the bootloader.That didn't work and i got a lot of messages that it wouldnt work because my partitioning (or something like that) is GPT. by the end of it i didn't have grub installed at all!so i started playing around with GParted, and while doing that i also put a bios_grub flag on my main ubuntu install partition, thinking that it would force grub to load from that partition. But that just gave me the GRUB Rescue prompt when trying to boot.
So i unchecked the bios_grub flag. and now it doesn't boot to anywhere and when inserting the ubuntu live cd i cant even see the ubuntu ext4 partition and mount it.Gparted says that its a partition that its File System is undetectable and unknown.Is there any solution that will allow me just to mount that partition and copy files from it? (unfortunatelly my backups are a little older than i would like them to be)Heres what boot info script gives me: (the partition that i need is sda1)
Code: Boot Info Script 0.55 dated February 15th, 2010 ============================= Boot Info Summary: ==============================
just tried downloading the latest version of ubuntu and install it on my laptop got an error message at the end of the installation (an I/O error, dev sr0,sector something) now when booting i got grub rescue. the only command working are ls and set. commands such as 'linux' or 'boot' show 'unkown command'
typing ls (hd0,1) or ls /boot/ results in unknown filesystem
I tried to reinstall grub using the 3 different methods as in [URL] got no error message while doing so except when typing sudo grub-install --recheck /dev/sda it told me something about being unable to locate ubuntu or something along those lines - sorry i thought i'd remember .. running out of option is there a possibility to download the latest pre 10.04 stable version?
My laptop was running Vista just fine. I had and wanted to install Linux and chose Ubuntu. I installed it to a USB and booted using this USB. It installed just fine and ran fine one time as well!When rebooting and wanting to run Windows, I got the diskcheck screen and let it run. Windows booted fine afterwards.On my next reboot all I got and still only get is the following
I have Ubuntu version 10.10 and I'm trying to install the HP DeskJet 1000 J110a printer. I have HPLIP version 3.11 (the latest version I believe). The printer shows up but when I try to print the error message reads: Printer requires the 'foomatic-rip-hplip' program but is not currently installed.
Code: sudo apt-get update I receive: Code: E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ I'm running Umbuntu 10.10 and am quite new to all this
I can't check any update and can press button install Updates. I have this warning message. If I use terminal for update, I have this error (sudo apt-get update): GPG error: [URL] natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 638ABCA0FA3A1271
I just got this error message when Update Manager tried updating: Could not initialize the package information An unresolvable problem occurred while initializing the package information.
Please report this bug against the 'update-manager' package and include the following error message: 'E:Type 'sudo' is not known on line 56 in source list /etc/apt/sources.list' I've been using Ubuntu for awhile, so I know my way around some stuff, but I'm completely lost on what to do here.
It reads dpkg was interrupted you must run sudo dpkg manually to correct problem. I tried the terminal options and still nothing.. The thing is I am trying to install other packages and it says have to close that one out first.
I 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).
tl;dr - sudo make -> operation not permitted, sudo chown -R 777 * -> operation not permitted on some of the files
I am trying to install a library. Sudo make is getting permission denied on file 1, while using regular make I am getting permission denied on file 2. I have noticed some of the directories in the library are under nobody:nogroup. I tried chown and sudo chown, both didn't work. Sudo chown got permission errors, while chown didn't change ALL the files. (operation not permitted once again) Tried sudo su, and working from there, that also did not work. (permission once again). Using lsattr returned "lsattr: Inappropriate ioctl for device While reading flags on".
Code: sudo chmod -R 777 * chmod: changing permissions of `Makefile': Operation not permitted chmod: changing permissions of `Makefile.am': Operation not permitted chmod: changing permissions of `Makefile.in': Operation not permitted chmod: changing permissions of `queue.c': Operation not permitted chmod: changing permissions of `queue.h': Operation not permitted chmod: changing permissions of `ucutil.h': Operation not permitted Note the .libs folder not having write permission....
Code: chmod -R 777 * constantin@Nadfadfo:~/network_home/constantin/libraries/unicap/libunicap-0.9.8/common$ ls -la total 68 drwxrwxrwx 4 constantin constantin 4096 2010-03-17 11:31 . drwxrwxrwx 8 constantin constantin 4096 2010-03-17 11:31 .. drwxrwxrwx 2 constantin constantin 4096 2010-03-17 11:31 .deps drwxr-xr-x 2 nobody nogroup 4096 2010-03-17 11:31 .libs -rwxrwxrwx 1 constantin constantin 15295 2010-03-17 11:31 Makefile -rwxrwxrwx 1 constantin constantin 130 2010-01-17 08:17 Makefile.am -rwxrwxrwx 1 constantin constantin 15262 2010-01-17 08:17 Makefile.in -rwxrwxrwx 1 constantin constantin 6101 2010-01-17 02:49 queue.c -rwxrwxrwx 1 constantin constantin 1667 2010-01-17 02:49 queue.h -rwxrwxrwx 1 constantin constantin 125 2010-01-17 02:49 ucutil.h System: Karmic Koala 64-bit
When I do 'sudo apt-get update' I get Sources Reading package lists... Error! E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/mirror.cs.umn.edu_ubuntu_dists_jaunty_universe_bin ary-i386_Packages E: The package lists or status file could not be parsed or opened.
Seems like this is a running issue. also, sudo returns "The value user is not in the sudoers file. This incident will be reported" kdeusu just makes a noise and returns nothing.. In the past i had a workaround of using nautilus, but, nautilus seems to be missing from jessie repo (same for gnome files).
[URL] ... ssoo... this happened and it seems to be going somewhere, but, i can't really make sense of it, and there was no solution..
Also found this [URL] .... and the pathnames should be fine but i don't want to go around arbitrarly entering commands
There was also [URL] .... which only mentions using kdesu which... doesn't really 'exist' anymore.
I'm having a strange issue with the PATH variable when running the command 'sudo su'. When executing this command the PATH variable changes. No problems there, but it changes to:
Looking at this, there are two weird entries (//sbin and //bin) which should both start '/usr' instead. I'm not sure how I've managed to change this, or how a piece of software I'm using has done it (more likely it was me I expect), but could anyone suggest which file to look in to correct it? If it makes a difference the machine is running CentOS 5.
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?