Ubuntu :: Unable To Stat `./usr/include/asm-generic/mman.h'
May 6, 2010
I have done a completely fresh install of Ubuntu 10.04. As soon as I installed it and checked for updates there were a few, but I got an error for the package linux-libc-dev.
I should make it known that since I got this error about 2 days ago, there have been several more updates issued for other packages, but I still get the same error for this package. Everything else installs fine and currently linux-libc-dev is the only package in my list. When I try to install it via the update manager I get a popup window with the following error message:
Quote:
E: /var/cache/apt/archives/linux-libc-dev_2.6.32-22.33_i386.deb: unable to stat `./usr/include/asm-generic/mman.h' (which I was about to install)
To get more information I also ran it from the terminal:
sudo apt-get update
sudo apt-get upgrade
Quote:
(Reading database ... 147293 files and directories currently installed.)
Preparing to replace linux-libc-dev 2.6.32-21.32 (using .../linux-libc-dev_2.6.32-22.33_i386.deb) ...
Unpacking replacement linux-libc-dev ...
[code]....
This package provides headers from the Linux kernel.These headers are used by the installed headers for GNU glibc and other system libraries. They are NOT meant to be used to build third-party modules for your kernel. Use linux-headers-* packages for that.
I'm using gmake (v3.81) to build some c executables. As the first step in the process I run the files through a preprocessor (for embedded SQL). The preprocessor completes successfully, but the gmake reports an error and discontinues buiding the remaining dependencies...
make *** [myfile.c] Error 4
which (according to /usr/include/asm-generic/errno-base.h) means "interrupted System Call". My preprocessor doesn't raise any signals, so I'm not sure what's causing this error.
I've installed Ubuntu 11.04 on a desktop and am trying to install ndiswrapper. I don't have a wired connection to the router, but I have managed to use ndiswrapper successfully on other Linux live distributions which already had them installed (eg, Linux Mint 9). By inserting the Ubuntu 11.04 Live Cd and adding the cdrom in Synaptic's "Settings > Repositories" menu, I can find it in the list of packages, but when I try to install ndiswrapper-utils-1.9 and ndiswrapper-common I get a few error messages. First, a notice pops up saying: "Some of the packages could not be retrieved from the server(s). Do you want to continue, ignoring these packages?". I guessed this is due to lack of an internet connection, so I selected "yes" and got an error box that reads:
"E: Internal Error, No file name for ndiswrapper-utils-1.9 W: Failed to fetch cdrom:[Ubuntu 11.04_Natty Narwhal_-Release i386 (20110427.1)]/pool/main/n/ndiswrapper/ndiswrapper-utils-1.9_1.56+r2729-1_i386.deb Unable to stat the mount point /media/Ubuntu4011.0440i386/ - stat (2: No such file or directory)"
This system has two hard drives and a cdrom drive. I've error checked the Live cd, and it came up clean. Please, can someone give me a hand getting Ubuntu to mount the cd? PS: I've downloaded the ndiswrapper files from sourceforge onto a thumbstick (version 1.56). Is there a way I can install them from the stick?
I'm trying to configure auditd to monitor "strange" events with apache2 weberver on Wheezy (though same problem occurs on Jessie), tried both with "vanilla" 3.2 and backports 3.16 kernel I am actually using.
Here's auditd rules I have problem with:
Code: Select all-a exit,never -F arch=b64 -S stat -F path=/var/www/server-status -k web -a exit,always -F arch=b64 -S stat -F uid=www-data -F success=0 -k web
So to recap, I want to log stat syscall failures for www-data user, but excluding some "known" issues, such as that "/var/www/server-status" (after a2enmod status, /server-status path can be accessed for statistics, though apache2 still tries to find physical file for that path and fails).
Upgraded to latest kernel 2.6.32-23. Ubuntu 10.04 I run a twinview video configuration of 2 screens @ 1920x1200. On booting, X wanted to go to low res for the session, which reverted to one screen (that is, I lost the twin view), but actually kept the 1920x1200 res on the one. I restarted X on got both screen working with the second as a replica of the first. Something has changed in this version of the kernel. Reverted to the previous Kernel version (22) and all is sweet (twin view is back working). But this can only be a temporary workaround.
What is the difference between /usr/local/include and /usr/include? When I compile my program, is both /usr/local/include and /usr/include avaliable? Can I copy a file from /usr/local/include to /usr/include?
I just downloaded the SDL source code. i did compile and make of this code.then i did make install. but i didnt see the files of SDL.h and lib.SDL.*** in /usr/include/ but later i found out that these files are placed in /usr/local/include and /usr/local/lib. how can i specifically install libraries on /usr/include and /usr/lib
So, I had Ubuntu and Mint on my second hard drive (first drive has 7), and I reinstalled Ubuntu over the entire thing (upgraded from 10.04). Ubuntu now has one drive to itself, while Windows has the other. When I did this, I booted into Grub Rescue. Restarted and switched hard drives, same thing. I loaded the LiveCD and followed this repair guide. I discovered I don't have a Boot.cfg (or .lst) or another file of the three required. I noticed my install did not have any /boot partition, so I reinstalled a few times, all with the same error. Finally, I go back to the LiveCD desktop and run the following: sudo grub-install --boot-directory=/media/[long string]/boot /dev/sda And this is the output: Code: /usr/sbin/grub-probe: error: cannot stat: /dev/sda/ This is on Ubuntu 11.04 with GRUB2 (1.99).
Now I have upgraded to FC12, but:KDE doesn't start : kstartconfig4 does not exist or fails. Error code is 127 X-Chat doesn't start and may be others as well.
I'm trying to backup every night a big directory (~2.5Gb) using tar+gzip.I'm calling tar like this:nice -n 19 tar --ignore-failed-read --exclude-tag-all=.kein-backup -Pczpsf '/backup/20100925233802f/archive.tar.gz' '/srv/products'And in 90% of the cases works just fine, in about 20 minutes is everything done. However, if it happens that in those minutes one file or folder from '/srv/products' gets deleted it reports me the following error:tar: /srv/products/prod14564.gif: Cannot stat: No such file or directorytar: Exiting with failure status due to previous errorsDoes it exist a parameter for tar to ignore this kind of errors? Is it there any other way to avoid these errors
I think there is a problem with the sox package that comes with Slackware 13.1.I would appreciate any advice. I'm using the same file, 1.wav, in both cases. The output of file 1.wav is1.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, stereo 44100 HzOn 12.1, I can runsox 1.wav -e stat 2> /tmp/stat.txt
I've just noticed a small problem I am having with my company file server. When making backups to an external NTFS drive weekly I have noticed that the file names with thai characters are not getting backed up. I receive the below error:
rsync: recv_generator: failed to stat (to the file name...) Invalid or incomplete multibyte or wide character (84)
There are thousands of files on the server that contain thai characters in there names so how do I get around this problem so it will back up all files and not just the English character ones. I read somewhere that each file would need to be converted to a different character set but this would take years as there are so many files.
I have some files lying around in /root/bla/, all these files are 644 and /root/bla/ is 755. Still, when I try (as a different user) to cp /root/bla/file ., I get a "cp: cannot stat: Permission denied". I also cannot ls /root/bla/, I also get a Permission denied... what gives?
I am using localhost for only send the email, its send mail outside domain like my gmail or yahoo accunt. but its not send my domain user account. the error comes when i see the logs is: stat=Deferred: Connection refused by [127.0.0.1]
I'm writing a script that takes the date attribute of a file when it was created and appending it to the name. I'm pretty close to what I need, but the date appears in yyyy-mm-dd format and I want it to read mm-dd-yyyy. What I have done so far is something like
for ((i=1;i<=50;i++)); do fdate=`stat -c %y Video Snapshot $i.png|awk {'print$1'}`; newname=Personname-$fdate-$i.png; mv Video Snapshot $i.png $newname; done
This works decently but the date comes out in the yyyy-mm-dd format. How do I change it?
So I have created a Bash script with the intent of the program to change the names of the files in a folder's subdirectory.The code recognises the individual subdirectories, then is able to enter into one and list the files individually, but when it tries to change their information it says;' cannot stat ' : ' No such file or directory 'As if it is looking in the directory that contains the Bash script, not its subdirectory.It is essentially saying, I see a file here called FILE but sorry, I can't change FILE because FILE doesn't exist. kweh?Is this something outside the capabilities of Bash? Am I asking too much of it? Can Bash only manipulate files that are in the same folder as the script?
When a application is ran from the shell:fork() is calledexecve() is calledI know the shell stats the file to make sure the required permissions are allowed in the child shell. But I can not find this in the man fork. Nor can I find this in man execve. Which one of these processes/calls stats the binary to be ran?
im trying to collect some data. Is there a way to get the free memory stats over the past few days from some file... i looked into the sar log files but they dont have date stamps in them!
This is what I get when following the instructions to fix grub. I type in "grub-install /dev/sda" and that's the error I get.I'm trying to put Ubuntu or Mint on a Dell Mini 9 with 16gb ssd, but no matter what I do I cannot achieve this goal
well I am a novice in Linux OS, I have a wireless card, it's a Linksys WUSB600N but it doesn't work in Ubuntu 10.10 Desktop Edition, which it is the one I have, 64 bits machine, so I read this [URL] and I did all the steps, I downloaded 2010_0915_RT3572_Linux_STA_v2.4.0.2.tar but in the last part, sudo make install I got this error
so i have no way to get connected to the internet, what is that error cannot stat `rt3572sta.ko': No such file or directory, I think thats why i can make the wireless card work.
I just installed openSUSE 11. The 64-bit laptop has a RealTek RTL8102E NIC, which SUSE misidentified during the install. I found the supposedly correct Linux driver on Realtek's website, but I'm getting a problem when trying to compile the driver and I can't find my problem or the solution in any current threads - so I must be doing something pretty stupid. I followed the directions.
Is it possible to print the permission in octal format for a directory recursively?Code: stat -c "%a" /etcIt prints the permission for /etc directory only.
can you see below command i give return me error however it has been working fine before. there is 1 directory i want to make it .tar.gz [root@sa1 script]# tar cvzf /var/opt/bkup_axigen/axigen_bkup_2.tar.gz /var/opt/axigen/domain tar: Removing leading `/' from member names tar: /var/opt/axigen/domain: Cannot stat: No such file or directory tar: Error exit delayed from previous errors