Ubuntu Installation :: Cannot Install Package - Permissions Error While Using Sudo
Mar 17, 2010
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
View 1 Replies
ADVERTISEMENT
Feb 6, 2010
when i was about to install turbo c using dosbox in ubuntu on the console i typed the commandas sudo apt-get install dosbox the error occured as E:couldnt find the package dosbox
View 5 Replies
View Related
Sep 15, 2010
I am trying to install matlab r2010b on ubuntu lucid and i obtain the following error:
>> sudo sh install
>> Preparing installation files ...
>> Installing ...
>> eval: 1: /tmp/mathworks_22884/java/jre/glnx86/jre/bin/java: Permission denied
>> Finished
View 2 Replies
View Related
Jan 2, 2011
I am trying to install the libncurses5-dev package via sudo apt-get install libncurses5-dev and it does this
Code:
(Reading database ...
dpkg: warning: files list file for package `libncurses5-dev' missing, assuming package has no files currently installed.
(Reading database ... 246291 files and directories currently installed.)
Preparing to replace libncurses5-dev 5.7+20090803-2ubuntu3 (using .../libncurses5-dev_5.7+20090803-2ubuntu3_amd64.deb) .
[Code]...
View 3 Replies
View Related
Mar 25, 2010
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.
View 2 Replies
View Related
Jan 6, 2011
I just upgraded to Mepis 11 alpha 2 and am using the gnome desktop. I downloaded the appropriate version of Opera. When I try to install it using dpkg -i, it wont allow it because I do not have permission in either "user" or "root" desktop. I tried to edit sudoers file but it it doesn't seem to work. I can't use sudo because I am not in sudoers file and I cannot edit sudoers file because I do not have sudo permission. When I am in root desktop, I still do not have permission even to read sudoers file. How do I install Opera?
View 14 Replies
View Related
Sep 16, 2010
A day ago I finally got around to upgrading the PackageKit installation that had been sitting for a week and a half, so I found a new upgrade for sudo available - the one that gives the sudoreplay command, I forget which version number it is exactly. When I try to use the sudo command I get this notice in my terminal:Code:Can't open /var/db/sudo/me/1: Permission deniedI didn't get it before. What do I have to do to make it open? I'm using SELinux in enforcing mode if that helps.
View 1 Replies
View Related
Aug 3, 2010
I'm trying to run Processing with this instructions but when I try to install Jikes I get a dependencies error: HTML Code: Error: Dependency is not satisfiable: j2re1.3|j2sdk1.3|j2re1.4|sun-j2re1.4|sun-j2re1.5|sun-j2sdk1.5 I have Java6 jdk and Java6 jdr installed, what should I do????
View 2 Replies
View Related
Oct 2, 2010
I was trying to install ubuntu 9.10 as a dual boot system with windows and I recieved this error message: The Grub package failed to install into /target/. Without the Grub boot loader, the installed system will not boot
This Error comes up after 94% of the install. I also cannot seem to get the side by side install option to work (sometimes this option appears sometimes it does not) I am not sure but I beleive seome of the install files have been placed on the hard drive because I only get the option now to install on the hard drive and totally wipe clean or the emptiest hard drive. So how would I get the possible Ubuntu install off the Hard drive. I have used this CD to Install before it has no scratches therefore should work. Also If I have Win Xp on a Raid 0 will the Ubuntu 9.10 install ?
View 4 Replies
View Related
Oct 6, 2010
I downloaded the 6.06 version of xubuntu because i have a laptop that doesnt support high graphics mode, and i wasnt able to figure out how to get it to run in low graphics mode. i figured that i would get a version from a while back, and then update it up to the current version. now, to the problem. I was able to upgrade 6.10, but now it says Ubuntu version 8.04 available, so i tried to update it. it gets most of the way through the part where it says calculating or something like that, and then it says: "Can't install 'xubuntu-desktop' It was impossible to install a required package. Please report this as a bug." with an option that says close at the bottom. when i click close another window pops up that says: Could not calculate the upgrade A unresolvable problem occurred while calculating the upgrade. This can be caused by:
* Upgrading to a pre-release version of Ubuntu
* Running the current pre-release version of Ubuntu
* Unofficial software packages not provided by Ubuntu
If none of this applies, then please report this bug against the 'update-manager' package and include the files in /var/log/dist-upgrade/ in the bugreport. Then the window just closes... anything that i could do to get rid of this problem? EDIT: Is there any way to update directly from an .iso file on the desktop?
View 1 Replies
View Related
Aug 10, 2011
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies
View Related
Feb 3, 2011
I am following this guide to installing eclipse via terminal command-line on Linux. However, this seems to be happening lately with all the packages I try to install..I checked the Synaptic Package Manager and reloaded and rebooted the computer, but to no avail.
View 5 Replies
View Related
Jul 31, 2011
I'm trying to install my tvcard [url] on a freshly installed maverik minimal installation, i had no problem gettin the lib32ncurses5-dev package on lucid, but after i got maverik i cant seem to find it. i was on 64bit (sudo apt-get install libncurses5-dev)
View 1 Replies
View Related
Jan 31, 2011
I have just installed the newest version of ubuntu (10.10 the maverick meerkat) and im struggling installing any programs, wine and vlc arnt appearing on synaptic package manager and anything i try to do in either the command promt or ubuntu software centre doesnt work either. On the command promt when i follow the commands as seen on various tutourials the command promt comes back with an error. VLC example given below.
[Code]...
View 5 Replies
View Related
Jan 2, 2011
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:
Code:
ldd /usr/bin/passwd
and
[code]....
View 4 Replies
View Related
Feb 3, 2010
I want to make a script for something, but I'm worried the timeouts on sudo permissions (how you can't got more than 5/10 minutes between sudo commands before needing your password again). Basically, I don't want my script to be redundant and require overseeing for password inputs.
Code:
sudo echo Hello.
sleep 6000
sudo echo This is text. This shows the basis of the problem. I will need to enter my password twice.
Would allowing it to run uninterrupted be as easy as running this theoretical shell script his sudo to begin with?
View 1 Replies
View Related
May 22, 2010
Just added a new 250g internal-drive in my karmic box, all seems OK and I formatted the partition with Gparted as ext4 but now can't create folders. Unfortunately I don't seem to be able to use a bash shell either, if I type anything in I get no problems until I attempt sudo and then I'm unable to type in a password!
View 2 Replies
View Related
Jan 21, 2011
I try to use Ubuntu Software Center, Synaptic or apt-get to install a package, it seems to give an error(okay, USC stops the install and Synaptic crashes), apt-get gives the traceback
[Code]....
View 6 Replies
View Related
Sep 23, 2010
When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.
Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.
[Code]....
View 4 Replies
View Related
Jul 12, 2010
I'm having a problem with this command: sudo yum update
I get the error: "Loaded plugins: presto refresh - packagekit
error:no such table: packages.
I created a group using vi /etc/sudoers
saved it using :wq!
but can't get it to work.
View 3 Replies
View Related
Mar 11, 2009
i accidentally pulled the power while an upgrade was going on. I felt bad, so went to do "yum-complete-transaction" only it was going to remove my entire system. Bad idea. So, instead, I tried to do yum update on my own. Well, it says that i need a package (glib2-some version-already-installed) to upgrade the glib2-devel package. The problem is that the version needed is already installed. I tried getting yum to reinstall it, but that didn't fix anything. Mainly because it says that is installed and not available. So the final error is "no package matched to install." I know that this probably looks weird and disjointed, so I am happy to provide info to try and get this fixed.
View 6 Replies
View Related
May 19, 2011
I'm running rhel6 64bit. Accidentally I ran % chmod -R 777 /etc and after that I have a problem to do 'su' or 'sudo'. When I did sudo it complained that /etc/sudoers has 777 while it should be 0440. I changed that and also restored right permission for:
-rw-r--r-- 1 root root 1966 May 19 13:41 /etc/passwd
-r-------- 1 root root 1161 May 19 13:42 /etc/shadow
-r--r----- 1 root root 3746 Apr 23 01:38 /etc/sudoers
Anyway it failed to 'su'. Then I restored back permissions on files in /etc/security and /etc/sysconfig. Still can't do 'su'. Note: I could login from console as root but can't 'su' or 'sudo'. when I do 'su' it gives error: Password: su: incorrect password
View 2 Replies
View Related
Jan 11, 2010
I am planning on setting up a 4x1TB RAID5 with mdadm under Ubuntu 9.10. I tried installing mdadm using "sudo apt-get install mdadm", all worked fine except for the following error: Code: Generating array device nodes... /var/lib/dpkg/info/mdadm.postinst: 170: /dev/MAKEDEV: not found failed. The end result is the /dev/md0 device has not been created, as can be seen here:
Code: windsok@beer:~$ mdadm --detail /dev/md0 mdadm: cannot open /dev/md0: No such file or directory After googling, I found the following bug which describes the issue: [URL] However it was reported way back in April 2009, and it does not look like it will be fixed any time soon, so I was wondering if anyone knows a workaround for this bug, to get me up and running?
View 4 Replies
View Related
Sep 15, 2010
The sudo upgrade of 2010-09-15 modified permissions on /var in my systems, both on 32 and 64 bit. (from 755 to 700) My subversion server stops working after the upgrade, you have to restore the old permissions by hand. I don't inspect how, but I've checked it few times...
View 5 Replies
View Related
Dec 18, 2010
[code]...
I keep getting this error when i try to update my Graphic card.
View 3 Replies
View Related
Feb 5, 2011
Package Installation error
Recently I get an error while installing any packages offline.
"Action would require the installation of packages from not authenticated source".
The key icon at top tight corner shows.
View 3 Replies
View Related
Mar 11, 2010
I have installed UBUNTU 9.10(2.6.30)
I'm trying to execute the following command: apt-get install linux-headers-`uname -r` mercurial build-essential cvs subversion libncurses5-dev
I get the following error:Package libncurses5-dev is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package libncurses5-dev has no installation candidate
View 2 Replies
View Related
Nov 22, 2010
I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:
sudo find readme* -not -perm -o+r -exec chmod +r {} ;
and get this:
sudo: unable to execute /usr/bin/find: Success
I don't know why it says Success, because the permissions were not changed. I verified by typing this:
find readme* -not -perm -o+r -exec ls -l {} ;
and get something like
-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859
as a last resort, I tried:
sudo chmod +r *
and got:
sudo: unable to execute /bin/chmod: Success
and again Success really means fail. So, I gave up and logged in as root and tried:
find readme* -not -perm -o+r -exec chmod +r {} ;
This time it worked. Why?
EDIT: /etc/sudoers looks like:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL
View 2 Replies
View Related
Feb 11, 2010
i have ubuntu karmic 9.10 and when i try to update anything or install anything the a very similar error occurs."(Reading database . . . 55%dpkg: unrecoverable fatal error , aborting: files list file for package `com.palm.net.precoddr.fcoaster' contains empty filenameit repeats this message 3 times then gives up i believe.
View 9 Replies
View Related
Dec 2, 2010
I i cannot install updates (181). I'm using 10.10, Heres is the error i get: The installation or removal of a software package failed.
[code]...
View 2 Replies
View Related