Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
For a couple of days now my automatic security updates have been failing. So today, I tried updating through Yast, and got an error which said that a further 119mb were needed to install a particular update. I Googled the error and saw that it might be a CPU issue. I didn't have very much running - just Firefox and the file indexing thing that starts automatically when my laptop is booted. But I closed those just in case and retried. It didn't make any difference.
So I tried installing the other updates on their own to make sure it was that particular package that was causing the problem and it wasn't just a general error. Twice I got a message about rebooting / logging in again - which I did. But all of the same updates were still listed. So I Googled the problem again and found out how to update through Zypper.
This time, several packages were upgraded. But when it got to the kernel update again, it gave me a similar error to the one shown in Yast:
Installing: kernel-pae-126.96.36.199-0.11.1 [error]
Installation of kernel-pae-188.8.131.52-0.11.1 failed:
(with --nodeps --force) Error: Subprocess failed. Error: RPM failed: installing package kernel-pae-184.108.40.206-0.11.1.i586 needs 119MB on the / filesystem
I tried rpmdb --rebuilddb and then ran zypper update again. But no luck. I don't have anything else running - other than Firefox, just to post this. One page spoke about swap space possibly having to be expanded, but I can't find anything that specifies how to do this.
I use OpenSuse 11.4 and KDE. Can anyone please tell me how to do it, or suggest anything else to try?
Disk space and RAM/swap are separate resources. The page you read is not relevant to your problem. You need to free up disk space by deleting files, emptying the trash, etc. (Or get a bigger hard drive I suppose.)
My diskspace is fine. I have almost 200GB free. Which is why I thought it must be referring to RAM. Sigh. The other updates added up to about 350MB too and they installed fine when Zypper got to them first.
I'm sorry, I'm new to this and I'm a little confused. The error first came up before the other updates installed, and combined they were larger than this kernel update. Also, all my documents etc. are on the partition that does have almost 200GB of space. How do I get into the other files to make space, and how do I know what I can safely delete?
Sorry, missed the first reply first time around. Is it really necessary to use a Livecd to edit partitions? I don't mind deleting things as long as I know what I'm safely able to delete.
You cannot resize a partition in use, just like you cannot change the tires while you are driving. So, you must use a Linux Live CD or USB with the Gparted partition editor (available in most distros). Do you still have the CD/USB you used to install Linux? If not, do you have a blank CD or spare USB thumb drive?
As to which files are safe to delete, I am not an OpenSUSE user, I don't want to give you bad advice, hopefully another member can assist you with that.
du: cannot access `/proc/13459/task/13459/fd/4': No such file or directory
du: cannot access `/proc/13459/task/13459/fdinfo/4': No such file or directory
du: cannot access `/proc/13459/fd/4': No such file or directory
du: cannot access `/proc/13459/fdinfo/4': No such file or directory
I ran it as root, so I don't think the cannot access errors are a permissions thing. I don't remember installing anything through Yast/Zypper that was particularly big. I do have Photoshop installed with Wine, but I think Wine applications install on the same paritition as documents etc?