Root partition 100% full

Asked by Neisha

Out of diskspace issue! -> Extracting templates from packages: 96%E: Write error - write (28 No space left on device) ---> ok I was opening the add and remove program and this popped up: This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

How can I fix this and my synaptic package won't even open up any more... This is a major failure of your software management system. Please check for broken packages with synaptic, check the file permissions and correctness of the file '/etc/apt/sources.list' and reload the software information with: 'sudo apt-get update' and 'sudo apt-get install -f'.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)

sudo rm /var/lib/apt/lists/*
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

Revision history for this message
Neisha (candywoman407) said :
#2

Ok this is what i got for each of the lines: neisha@neisha:~$ sudo rm /var/lib/apt/lists/*
[sudo] password for neisha:
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory
neisha@neisha:~$ sudo dpkg --clear-avail
neisha@neisha:~$ sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of openoffice.org-impress:
 openoffice.org-impress depends on openoffice.org-core (= 1:2.4.1-1ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-1ubuntu2.
dpkg: error processing openoffice.org-impress (--configure):
 dependency problems - leaving unconfigured
dpkg: error processing linux-image-2.6.24-22-lpia (--configure):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting configuration.
dpkg: dependency problems prevent configuration of sun-java6-jre:
 sun-java6-jre depends on sun-java6-bin (= 6-07-3ubuntu2) | ia32-sun-java6-bin (= 6-07-3ubuntu2); however:
  Version of sun-java6-bin on system is 6-06-0ubuntu1.
  Package ia32-sun-java6-bin is not installed.
dpkg: error processing sun-java6-jre (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-draw:
 openoffice.org-draw depends on openoffice.org-core (= 1:2.4.1-1ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-1ubuntu2.
dpkg: error processing openoffice.org-draw (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-calc:
 openoffice.org-calc depends on openoffice.org-core (= 1:2.4.1-1ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-1ubuntu2.
dpkg: error processing openoffice.org-calc (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openoffice.org-writer:
 openoffice.org-writer depends on openoffice.org-core (= 1:2.4.1-1ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-1ubuntu2.
dpkg: error processing openoffice.org-writer (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-uno:
 python-uno depends on openoffice.org-core (= 1:2.4.1-1ubuntu2.1); however:
  Version of openoffice.org-core on system is 1:2.4.1-1ubuntu2.
dpkg: error processing python-uno (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sun-java6-plugin:
 sun-java6-plugin depends on sun-java6-bin (= 6-07-3ubuntu2); however:
  Version of sun-java6-bin on system is 6-06-0ubuntu1.
dpkg: error processing sun-java6-plugin (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 openoffice.org-impress
 linux-image-2.6.24-22-lpia
 sun-java6-jre
 openoffice.org-draw
 openoffice.org-calc
 openoffice.org-writer
 python-uno
 sun-java6-plugin
neisha@neisha:~$ sudo aptitude install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following packages are BROKEN:
  openoffice.org-calc openoffice.org-draw openoffice.org-impress
  openoffice.org-writer python-uno sun-java6-jre sun-java6-plugin
The following packages are unused and will be REMOVED:
  odbcinst1debian1 sun-java6-bin unixodbc
The following partially installed packages will be configured:
  linux-image-2.6.24-22-lpia
0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 82.9MB will be freed.
The following packages have unmet dependencies:
  openoffice.org-writer: Depends: openoffice.org-core (= 1:2.4.1-1ubuntu2.1) but 1:2.4.1-1ubuntu2 is installed.
  openoffice.org-impress: Depends: openoffice.org-core (= 1:2.4.1-1ubuntu2.1) but 1:2.4.1-1ubuntu2 is installed.
  openoffice.org-draw: Depends: openoffice.org-core (= 1:2.4.1-1ubuntu2.1) but 1:2.4.1-1ubuntu2 is installed.
  sun-java6-plugin: Depends: sun-java6-bin (= 6-07-3ubuntu2) but it is not installable
  sun-java6-jre: Depends: sun-java6-bin (= 6-07-3ubuntu2) but it is not installable or
                          ia32-sun-java6-bin (= 6-07-3ubuntu2) which is a virtual package.
  python-uno: Depends: openoffice.org-core (= 1:2.4.1-1ubuntu2.1) but 1:2.4.1-1ubuntu2 is installed.
  openoffice.org-calc: Depends: openoffice.org-core (= 1:2.4.1-1ubuntu2.1) but 1:2.4.1-1ubuntu2 is installed.
Resolving dependencies...
E: I wasn't able to locate file for the linux-image-2.6.24-19-lpia package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:

Remove the following packages:
openoffice.org-calc
openoffice.org-draw
openoffice.org-impress
openoffice.org-writer
python-uno
sun-java6-jre
sun-java6-plugin

Score is -187

Accept this solution? [Y/n/q/?] y
The following packages are unused and will be REMOVED:
  libwpg-0.1-1 odbcinst1debian1 sun-java6-bin unixodbc
The following packages will be automatically REMOVED:
  openoffice.org-calc openoffice.org-draw openoffice.org-impress
  openoffice.org-writer python-uno sun-java6-jre sun-java6-plugin
The following packages will be REMOVED:
  openoffice.org-calc openoffice.org-draw openoffice.org-impress
  openoffice.org-writer python-uno sun-java6-jre sun-java6-plugin
The following partially installed packages will be configured:
  linux-image-2.6.24-22-lpia
0 packages upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 144MB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Error!
E: I wasn't able to locate file for the linux-image-2.6.24-19-lpia package. This might mean you need to manually fix this package.
neisha@neisha:~$ sudo aptitude update
Get:1 http://archive.ubuntu.com hardy Release.gpg [189B]
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
Get:2 http://archive.ubuntu.com hardy Release [65.9kB]
Ign http://archive.ubuntu.com hardy/multiverse Packages
Err http://archive.ubuntu.com hardy/multiverse Packages
  404 Not Found [IP: 91.189.88.140 80]
Get:3 http://dell-mini.archive.canonical.com hardy Release.gpg [191B]
Ign http://dell-mini.archive.canonical.com hardy/main Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy/universe Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy/multiverse Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy/restricted Translation-en_US
Get:4 http://dell-mini.archive.canonical.com hardy-updates Release.gpg [189B]
Ign http://dell-mini.archive.canonical.com hardy-updates/main Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-updates/universe Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-updates/multiverse Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-updates/restricted Translation-en_US
Get:5 http://dell-mini.archive.canonical.com hardy-security Release.gpg [189B]
Ign http://dell-mini.archive.canonical.com hardy-security/main Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-security/universe Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-security/multiverse Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-security/restricted Translation-en_US
Get:6 http://dell-mini.archive.canonical.com hardy-netbook-base Release.gpg [280B]
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/main Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/universe Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/multiverse Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/restricted Translation-en_US
Get:7 http://dell-mini.archive.canonical.com hardy-dell-mini Release.gpg [280B]
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/main Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/universe Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/multiverse Translation-en_US
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/restricted Translation-en_US
Get:8 http://dell-mini.archive.canonical.com hardy-dell-mini Release.gpg [280B]
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/public Translation-en_US
Get:9 http://dell-mini.archive.canonical.com hardy Release [65.9kB]
Get:10 http://dell-mini.archive.canonical.com hardy-updates Release [58.5kB]
Get:11 http://dell-mini.archive.canonical.com hardy-security Release [58.5kB]
Get:12 http://dell-mini.archive.canonical.com hardy-netbook-base Release [4870B]
Get:13 http://dell-mini.archive.canonical.com hardy-dell-mini Release [4656B]
Get:14 http://dell-mini.archive.canonical.com hardy-dell-mini Release [2742B]
Get:15 http://dell-mini.archive.canonical.com hardy/main Packages [1159kB]
Get:16 http://dell-mini.archive.canonical.com hardy/universe Packages [4122kB]
Get:17 http://dell-mini.archive.canonical.com hardy/multiverse Packages [154kB]
Get:18 http://dell-mini.archive.canonical.com hardy/restricted Packages [1974B]
Get:19 http://dell-mini.archive.canonical.com hardy/main Sources [338kB]
Get:20 http://dell-mini.archive.canonical.com hardy/universe Sources [1323kB]
Get:21 http://dell-mini.archive.canonical.com hardy/multiverse Sources [60.9kB]
Get:22 http://dell-mini.archive.canonical.com hardy/restricted Sources [1488B]
Get:23 http://dell-mini.archive.canonical.com hardy-updates/main Packages [294kB]
Get:24 http://dell-mini.archive.canonical.com hardy-updates/universe Packages [78.5kB]
Get:25 http://dell-mini.archive.canonical.com hardy-updates/multiverse Packages [14.2kB]
Get:26 http://dell-mini.archive.canonical.com hardy-updates/restricted Packages [1841B]
Get:27 http://dell-mini.archive.canonical.com hardy-updates/main Sources [88.0kB]
Get:28 http://dell-mini.archive.canonical.com hardy-updates/universe Sources [22.7kB]
Get:29 http://dell-mini.archive.canonical.com hardy-updates/multiverse Sources [2795B]
Get:30 http://dell-mini.archive.canonical.com hardy-updates/restricted Sources [908B]
Get:31 http://dell-mini.archive.canonical.com hardy-security/main Packages [48.4kB]
Get:32 http://dell-mini.archive.canonical.com hardy-security/universe Packages [24.9kB]
Get:33 http://dell-mini.archive.canonical.com hardy-security/multiverse Packages [5388B]
Get:34 http://dell-mini.archive.canonical.com hardy-security/restricted Packages [1841B]
Get:35 http://dell-mini.archive.canonical.com hardy-security/main Sources [12.5kB]
Get:36 http://dell-mini.archive.canonical.com hardy-security/universe Sources [4530B]
Get:37 http://dell-mini.archive.canonical.com hardy-security/multiverse Sources [14B]
Get:38 http://dell-mini.archive.canonical.com hardy-security/restricted Sources [908B]
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/main Packages
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/universe Packages
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/multiverse Packages
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/restricted Packages
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/main Sources
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/universe Sources
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/multiverse Sources
Ign http://dell-mini.archive.canonical.com hardy-netbook-base/restricted Sources
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/main Packages
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/universe Packages
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/multiverse Packages
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/restricted Packages
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/main Sources
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/universe Sources
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/multiverse Sources
Ign http://dell-mini.archive.canonical.com hardy-dell-mini/restricted Sources
Get:39 http://dell-mini.archive.canonical.com hardy-dell-mini/public Packages [619kB]
Get:40 http://dell-mini.archive.canonical.com hardy-dell-mini/public Sources [175kB]
Get:41 http://dell-mini.archive.canonical.com hardy-netbook-base/main Packages [95.3kB]
Get:42 http://dell-mini.archive.canonical.com hardy-netbook-base/universe Packages [6477B]
Get:43 http://dell-mini.archive.canonical.com hardy-netbook-base/multiverse Packages [911B]
Get:44 http://dell-mini.archive.canonical.com hardy-netbook-base/restricted Packages [2139B]
Get:45 http://dell-mini.archive.canonical.com hardy-netbook-base/main Sources [15.6kB]
Get:46 http://dell-mini.archive.canonical.com hardy-netbook-base/universe Sources [2492B]
Get:47 http://dell-mini.archive.canonical.com hardy-netbook-base/multiverse Sources [345B]
Get:48 http://dell-mini.archive.canonical.com hardy-netbook-base/restricted Sources [1216B]
Get:49 http://dell-mini.archive.canonical.com hardy-dell-mini/main Packages [120kB]
Get:50 http://dell-mini.archive.canonical.com hardy-dell-mini/universe Packages [35.9kB]
Get:51 http://dell-mini.archive.canonical.com hardy-dell-mini/multiverse Packages [1907B]
Get:52 http://dell-mini.archive.canonical.com hardy-dell-mini/restricted Packages [2425B]
Get:53 http://dell-mini.archive.canonical.com hardy-dell-mini/main Sources [29.4kB]
Get:54 http://dell-mini.archive.canonical.com hardy-dell-mini/universe Sources [8081B]
Get:55 http://dell-mini.archive.canonical.com hardy-dell-mini/multiverse Sources [541B]
Get:56 http://dell-mini.archive.canonical.com hardy-dell-mini/restricted Sources [989B]
Fetched 9142kB in 2min9s (70.3kB/s)
Reading package lists... Done
neisha@neisha:~$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
  dhcdbd libisc32
The following NEW packages will be automatically installed:
  adobe-flashplugin dell-help-applet dell-icon-theme dell-panel-icon-theme
  libccid libisc35 libkmime2 libmbca0 libpcsclite1
  mobile-broadband-provider-info modemmanager pcscd ume-config-base
The following NEW packages will be installed:
  adobe-flashplugin dell-help-applet dell-icon-theme dell-panel-icon-theme
  libccid libisc35 libkmime2 libmbca0 libpcsclite1
  linux-image-2.6.24-24-lpia linux-restricted-modules-2.6.24-24-lpia
  linux-ubuntu-modules-2.6.24-24-lpia mobile-broadband-provider-info
  modemmanager pcscd ume-config-base
The following packages will be upgraded:
  acpi-support acpid alacarte app-install-data-commercial apport apport-gtk
  apt-utils atlantik avahi-autoipd avahi-daemon belmont-config-travel
  bind9-host bluez-audio bluez-cups bluez-utils capplets-data cheese
  compiz-fusion-plugins-main console-setup cupsys-bsd cupsys-client dbus
  dbus-x11 dell-launcher deskbar-applet desktop-file-utils dnsutils evince
  evolution evolution-common evolution-data-server
  evolution-data-server-common evolution-plugins f-spot
  firefox-gnome-support flashplugin-nonfree foo2zjs gdb gdm gedit
  gedit-common gksu gnome-cards-data gnome-control-center gnome-games
  gnome-games-data gnome-panel gnome-panel-data gnome-power-manager
  gnome-system-tools grub gstreamer0.10-alsa gstreamer0.10-gnomevfs
  gstreamer0.10-plugins-base gstreamer0.10-plugins-base-apps
  gstreamer0.10-plugins-good gstreamer0.10-tools gstreamer0.10-x
  guidance-backends gvfs gvfs-backends gvfs-fuse hal-info hpijs hplip-data
  ifupdown indi initscripts jockey-common jockey-gtk kaddressbook kalzium
  kalzium-data kanagram kaudiocreator kdebase-bin kdebase-bin-kde3
  kdeedu-data kdelibs-data kdelibs4c2a kdemultimedia-kio-plugins khangman
  kiten klettres klettres-data kmplot kolf konsole kstars kstars-data
  ktouch ktron ktuberling kvoctrain kwordquiz kworldclock
  language-installer language-selector language-selector-common
  launchpad-integration libarts1c2a libartsc0 libavahi-core5 libavahi-glib1
  libavahi-qt3-1 libavahi-ui0 libavcodec1d libavutil1d libbind9-30
  libbluetooth2 libcamel1.2-11 libcurl3-gnutls libdns35 libdrm2
  libebook1.2-9 libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6
  libedataserver1.2-9 libedataserverui1.2-8 libegroupwise1.2-13
  libexchange-storage1.2-3 libexif12 libgadu3 libgdata-google1.2-1
  libgdata1.2-1 libgl1-mesa-dri-psb libgnome-window-settings1 libgphoto2-2
  libgphoto2-port0 libgtk2.0-bin libgvfscommon0 libisccc30 libisccfg30
  libkcal2b libkcddb1 libkdeedu3 libkdegames1 libkdepim1a libkiten1
  libkleopatra1 libktnef1 liblcms1 liblpint-bonobo0 liblwres30 libmetacity0
  libnautilus-extension1 libnm-glib0 libnm-util0 libpam-smbpass
  libpanel-applet2-0 libpoppler-glib2 libpostproc1d libpulse-browse0
  libpulse0 libpulsecore5 libpurple0 libsmbclient libusplash0 libva1
  libvorbis0a libvorbisenc2 libvorbisfile3 libxine1 libxine1-bin
  libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins
  libxine1-x libxml2-utils linux-image-2.6.24-19-lpia
  linux-image-2.6.24-22-lpia linux-image-lpia linux-lpia
  linux-restricted-modules-2.6.24-19-lpia
  linux-restricted-modules-2.6.24-22-lpia linux-restricted-modules-common
  linux-restricted-modules-lpia linux-ubuntu-modules-2.6.24-19-lpia
  linux-ubuntu-modules-2.6.24-22-lpia localechooser-data logrotate metacity
  metacity-common myspell-en-gb myspell-en-us myspell-en-za nautilus
  nautilus-data nautilus-sendto nautilus-share network-manager
  network-manager-gnome ntp ntpdate oem-config oem-config-gtk
  openoffice.org-core openoffice.org-help-en-gb openoffice.org-help-en-us
  openoffice.org-l10n-en-gb openoffice.org-l10n-en-za
  openoffice.org-thesaurus-en-us openssl passwd pciutils pidgin pidgin-data
  planetpenguin-racer planetpenguin-racer-data pm-utils psb-video
  pulseaudio pulseaudio-esound-compat pulseaudio-module-gconf
  pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils
  python-apport python-apt python-gnome2-extras python-gobject
  python-gtkhtml2 python-launchpad-integration python-libxml2
  python-problem-report python-software-properties rdesktop samba
  samba-common smbclient software-properties-gtk sudo sun-java6-bin
  system-config-printer-common system-config-printer-gnome
  system-tools-backends sysv-rc thunderbird-locale-en-gb totem totem-common
  totem-gstreamer totem-mozilla totem-plugins ubuntu-docs
  ume-config-belmont update-notifier update-notifier-common user-setup
  usplash util-linux-locales vim-common vim-tiny vinagre w-scan webfav
  wpasupplicant xkb-data xorg-modules-xpsb xserver-xorg-input-synaptics
  xserver-xorg-video-ati xserver-xorg-video-intel xserver-xorg-video-psb
  xterm
The following partially installed packages will be configured:
  openoffice.org-calc openoffice.org-draw openoffice.org-impress
  openoffice.org-writer python-uno sun-java6-jre sun-java6-plugin
265 packages upgraded, 16 newly installed, 2 to remove and 0 not upgraded.
Need to get 248kB/365MB of archives. After unpacking 103MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Get:1 http://dell-mini.archive.canonical.com hardy/universe libccid 1.3.1-1 [92.2kB]
Get:2 http://dell-mini.archive.canonical.com hardy-dell-mini/public mobile-broadband-provider-info 20080822.1-0ubuntu2~nm1~hardy1 [15.7kB]
Get:3 http://dell-mini.archive.canonical.com hardy-dell-mini/public libmbca0 0.0.3~bzr42-0ubuntu3~nm1~hardy1netbook1 [70.0kB]
Get:4 http://dell-mini.archive.canonical.com hardy/universe pcscd 1.4.99-1ubuntu1 [70.2kB]
Fetched 248kB in 1s (161kB/s)
Extracting templates from packages: 96%E: Write error - write (28 No space left on device)
E: Prior errors apply to /var/cache/apt/archives/oem-config-gtk_1.37.2netbook13belmont1_lpia.deb
E: Prior errors apply to /var/cache/apt/archives/pcscd_1.4.99-1ubuntu1_lpia.deb
E: Prior errors apply to /var/cache/apt/archives/psb-video_0.30+0044-0netbook1_lpia.deb
E: Prior errors apply to /var/cache/apt/archives/ume-config-base_8_all.deb
E: Prior errors apply to /var/cache/apt/archives/user-setup_1.16ubuntu6_all.deb
E: Prior errors apply to /var/cache/apt/archives/ume-config-belmont_0.121_all.deb
E: Prior errors apply to /var/cache/apt/archives/w-scan_20081106-0ubuntu1_lpia.deb
E: Prior errors apply to /var/cache/apt/archives/xorg-modules-xpsb_0.18+0044-0netbook1_lpia.deb
debconf: apt-extracttemplates failed: Bad file descriptor
Extracting templates from packages: 100%
Preconfiguring packages ...
oem-config template parse error: Template parse error near `Choices', in stanza #78 of /tmp/oem-config.template.67880

debconf: DbDriver "templatedb": could not write /var/cache/debconf/templates.dat-new: No space left on device
tar: ./md5sums: Wrote only 8704 of 10240 bytes
tar: ./postinst: Cannot write: No space left on device
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.24-19-lpia_2.6.24-19.41netbook13_lpia.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
tar: ./md5sums: Wrote only 6656 of 10240 bytes
tar: ./postinst: Cannot write: No space left on device
tar: ./preinst: Cannot write: No space left on device
tar: ./postrm: Cannot write: No space left on device
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.24-22-lpia_2.6.24-22.45netbook10_lpia.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
(Reading database ... 101486 files and directories currently installed.)
Preparing to replace openoffice.org-core 1:2.4.1-1ubuntu2 (using .../openoffice.org-core_1%3a2.4.1-1ubuntu2.1_lpia.deb) ...
Unpacking replacement openoffice.org-core ...
dpkg: error processing /var/cache/apt/archives/openoffice.org-core_1%3a2.4.1-1ubuntu2.1_lpia.deb (--unpack):
 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./usr/lib/openoffice/program/cairocanvas.uno.so': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
tar: ./conffiles: Cannot write: No space left on device
tar: ./md5sums: Cannot write: No space left on device
tar: ./control: Cannot write: No space left on device
tar: Error exit delayed from previous errors
dpkg-deb: subprocess tar returned error exit status 2
dpkg: error processing /var/cache/apt/archives/sun-java6-bin_6-07-3ubuntu2_lpia.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Preparing to replace dbus 1.1.20-1ubuntu3.1netbook0belmont1 (using .../dbus_1.1.20-1ubuntu3.2netbook0build1_lpia.deb) ...
Unpacking replacement dbus ...
dpkg: error processing /var/cache/apt/archives/dbus_1.1.20-1ubuntu3.2netbook0build1_lpia.deb (--unpack):
 failed in buffer_write(fd) (10, ret=-1): backend dpkg-deb during `./etc/dbus-1/system.conf': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error while cleaning up:
 unable to fill /var/lib/dpkg/updates/tmp.i with padding: No space left on device
dpkg: failed to write status record about `libxml2' to `/var/lib/dpkg/status': No space left on device
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
dpkg: failed to write status record about `libxml2' to `/var/lib/dpkg/status': No space left on device
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: Could not regain the system lock! (Perhaps another apt or dpkg is running?)
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
Building tag database... Done

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#3

Hi Neisha,

The REAL problem is that your root Linux partition is full. The package manager cannot work if the partition is full. You will first need to clean up diskspace on the root partition before you can run my fix procedure.

Try running the following commands:

sudo aptitude clean
sudo aptitude autoclean
df -h

Please send us the output of these 3 commands.

Regards,

Mark

Revision history for this message
Neisha (candywoman407) said :
#4

neisha@neisha:~$ sudo aptitude clean
[sudo] password for neisha:
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
Building tag database... Done
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
neisha@neisha:~$ sudo 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
Building tag database... Done
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
neisha@neisha:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 3.4G 3.4G 0 100% /
varrun 247M 212K 247M 1% /var/run
varlock 247M 0 247M 0% /var/lock
udev 247M 36K 247M 1% /dev
devshm 247M 12K 247M 1% /dev/shm
lrm 247M 1.9M 245M 1% /lib/modules/2.6.24-22-lpia/volatile
overflow 1.0M 20K 1004K 2% /tmp
gvfs-fuse-daemon 3.4G 3.4G 0 100% /home/neisha/.gvfs

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5
Revision history for this message
Neisha (candywoman407) said :
#6

ok Mark I have another about freeing up space. I don't won't to delete something and then come to find up I done messed up my computer completely. If certain folders that are on the hard drive are empty without a thing in them should i delete them and also my computer doesn't have a CD ROM drive

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#7

Hi,

If you are worried about losing data, I suggest backing up all the data on your Linux partitions. You can for example first copy your data to an external USB drive and then reinstall Ubuntu 9.04 from a USB stick.

Use Windows on another pc and a USB stick and then follow these instructions to create a bootable USB flashdrive with Ubuntu 9.04 on it:

https://help.ubuntu.com/community/Installation/FromImgFiles

So you do not need a CDROM or DVD drive to install Ubuntu.

Regards,

Mark

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#8

One more thing:

When you reinstall Ubuntu 9.04 using the USB stick, make sure to resize your root partition ( / partition) to at least around 5 or 6 gigabytes to make sure you don't encounter disk space issues in the near future. Your current root partition size (3.4 gigabytes) is way too small, in my opinion.

Can you help with this problem?

Provide an answer of your own, or ask Neisha for more information if necessary.

To post a message you must log in.