Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page no spcae left on device
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 05-31-2008   #1 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
no spcae left on device

i keep getting 'no space left on device' when i try to run aptitude update.

du -h from the root folder shows i am using 15g out of a 20g disk. i have looked at my files using the 'file size view' in konqueror, and i can't see any large concentrations of files that might be responsible for using up the space in any particular folder.

are there any folders that are small and keep filling up with temporary stuff, like the register in windows? will any disk running linux eventually fill up with such crap?
memius is offline   Reply With Quote
Old 05-31-2008   #2 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
It looks like you haven't cleaned cache.
Execute this
Code:
sudo apt-get clean all
sudo apt-get update
In case it doesn't free up much space, post the output of df -h command here.
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 05-31-2008   #3 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
thanks! i tried what you suggested (only using aptitude autoclan instead of apt-get)

here's what i did, and the resulting error messages:

mac:/home/tmh# aptitude autoclean
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
Building tag database... Done
W: Could not lock the cache file. Opening in read-only mode; any changes you make to the states of packages will NOT be preserved!
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
mac:/home/tmh#
memius is offline   Reply With Quote
Old 05-31-2008   #4 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
and, of course, when i do as suggested:

mac:/home/tmh# dpkg --configure -a
dpkg: failed to write status record about `libnotify-bin' to `/var/lib/dpkg/status': No space left on device


i have no idea what to do at this point.
memius is offline   Reply With Quote
Old 05-31-2008   #5 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
Try to clean cache using apt-get. Post the output of df -h command here.
Are you running any other instance of Package Manager like dpkg, apt-get or Adept?
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 05-31-2008   #6 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
i tried simply apt-get clean, which seemed to work (no error messages).

df -h from the root directory:

mac:/# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 251M 247M 0 100% /
tmpfs 252M 0 252M 0% /lib/init/rw
udev 10M 168K 9.9M 2% /dev
tmpfs 252M 0 252M 0% /dev/shm
/dev/hda8 28G 13G 14G 49% /home
/dev/hda7 358M 59M 281M 18% /tmp
/dev/hda4 4.6G 3.4G 1.1G 77% /usr
/dev/hda5 2.8G 325M 2.3G 13% /var
memius is offline   Reply With Quote
Old 05-31-2008   #7 (permalink)
Super Moderator
 
devils casper's Avatar
 
Join Date: Jun 2006
Location: Chandigarh, INDIA
Posts: 18,411
You have assigned only 251MB space to root partition and thats a very very less space. root partition is 100% full.
Is there any reason for creating separate /usr, /tmp and /var partitions?

One should create /, /home and SWAP partitions only unless its a production Server.
I would suggest you to resize partitions and assign 2GB space to root partition atleast.
__________________
New Users: Read This First


devils casper is offline   Reply With Quote
Old 05-31-2008   #8 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
i have no idea which instances of package managers i'm running. i only know of dpkg, apt-get and aptitude, all of which i have.

an aside: i had the impression apt-get was deprecated, and aptitude was the new thing?
memius is offline   Reply With Quote
Old 05-31-2008   #9 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
thanks for quick reply!

i followed the default choices in the expert setup when i installed the system, as far as i remember.

how do i resize those partitions without wiping my disk?
memius is offline   Reply With Quote
Old 05-31-2008   #10 (permalink)
Just Joined!
 
Join Date: Oct 2006
Posts: 58
do you have an idea what the root partition is full of, now that i (as far as i know) have cleaned all the packages away?
memius is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:34 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0