TryCode:sudo apt-get clean sudo apt-get install -f sudo dpkg --configure -a sudo apt-get update sudo apt-get upgrade
TryCode:sudo apt-get clean sudo apt-get install -f sudo dpkg --configure -a sudo apt-get update sudo apt-get upgrade
And i am getting this error message on the taskbar with in a Red circle which goes like this : An error occured. Please run package manager from the right click menu or apt-get in a terminal to see what is wrong. The Error message was, Error: BrokenCount >0'. This usually means that your installed packages have unmet dependencies.
Please help me out here.
thanks,
Iltesham Z Syed
sudo apt-get install -f gave this error
iltesham@iltesham-Inspiron-1525:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
linux-headers-3.2.0-38 linux-headers-3.2.0-38-generic-pae
linux-headers-generic linux-headers-generic-pae
The following NEW packages will be installed:
linux-headers-3.2.0-38
The following packages will be upgraded:
linux-headers-3.2.0-38-generic-pae linux-headers-generic
linux-headers-generic-pae
3 upgraded, 1 newly installed, 0 to remove and 232 not upgraded.
4 not fully installed or removed.
Need to get 12.7 MB of archives.
After this operation, 67.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.2.0-38 all 3.2.0-38.61 [11.7 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.2.0-38-generic-pae i386 3.2.0-38.61 [981 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-generic i386 3.2.0.38.46 [2,590 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-generic-pae i386 3.2.0.38.46 [2,602 B]
Fetched 12.7 MB in 6s (2,061 kB/s)
(Reading database ...
dpkg: warning: files list file for package `linux-headers-3.2.0-38-generic-pae' missing, assuming package has no files currently installed.
(Reading database ... 464544 files and directories currently installed.)
Unpacking linux-headers-3.2.0-38 (from .../linux-headers-3.2.0-38_3.2.0-38.61_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-38_3.2.0-38.61_all.deb (--unpack):
unable to create `/usr/src/linux-headers-3.2.0-38/include/net/addrconf.h.dpkg-new' (while processing `./usr/src/linux-headers-3.2.0-38/include/net/addrconf.h'): No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace linux-headers-3.2.0-38-generic-pae 3.2.0-38.61 (using .../linux-headers-3.2.0-38-generic-pae_3.2.0-38.61_i386.deb) ...
Unpacking replacement linux-headers-3.2.0-38-generic-pae ...
dpkg: error processing /var/cache/apt/archives/linux-headers-3.2.0-38-generic-pae_3.2.0-38.61_i386.deb (--unpack):
error creating directory `./usr/src/linux-headers-3.2.0-38-generic-pae/include/config/net/dsa/tag': No space left on device
No apport report written because the error message indicates a disk full error
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/linux-headers-3.2.0-38_3.2.0-38.61_all.deb
/var/cache/apt/archives/linux-headers-3.2.0-38-generic-pae_3.2.0-38.61_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
iltesham@iltesham-Inspiron-1525:~$
This:
Please see this thread on how to free up disk space.
Last edited by schragge; March 16th, 2013 at 06:54 PM.
hi,
I have atleast 70 GB free on this machine. DOnt know why it is showing no space left.
This is not a matter of disk space. This is about /boot being full of old kernels. There are several ways to remove old kernels.
Ubuntu Tweak is the simplest way.
https://launchpad.net/~tualatrix/+ar...filter=precise
My way is using Synaptic Package Manager
http://www.googlubuntu.com/results/?...ch&cof=FORID:9
Other ways here
http://www.googlubuntu.com/results/?...ch&cof=FORID:9
If you want to see whats going on in /boot, open a terminal and enter:
Got questions, just post backCode:ls /boot
@ibjsb4
Nope. It's not about /boot. The failed dpkg action tried to write to /usr/src. It could be a similar issue only if /usr/src were on a separate partition.
@Iltesham
Please post the output of following commands:
Code:df -hT df -hi mount
Cannot even install ubuntu tweak;
it gives me this error;
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Ign http://ppa.launchpad.net precise InRelease
Get:21 http://ppa.launchpad.net precise Release.gpg [316 B]
Get:22 http://ppa.launchpad.net precise Release [11.9 kB]
Get:23 http://ppa.launchpad.net precise/main Sources [657 B]
Get:24 http://ppa.launchpad.net precise/main i386 Packages [660 B]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Fetched 1,784 kB in 6s (257 kB/s)
Reading package lists... Done
iltesham@iltesham-Inspiron-1525:~$ sudo apt-get install ubuntu-tweak
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
linux-headers-3.2.0-38-generic : Depends: linux-headers-3.2.0-38 but it is not going to be installed
linux-headers-generic : Depends: linux-headers-3.2.0-35-generic but it is not going to be installed
linux-headers-generic-pae : Depends: linux-headers-3.2.0-35-generic-pae but it is not going to be installed
ubuntu-tweak : Depends: python-lxml but it is not going to be installed
Depends: python-compizconfig but it is not going to be installed
Depends: gir1.2-unique-3.0 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
iltesham@iltesham-Inspiron-1525:~$
/usr/scr and /boot go together kernels and headers
here is what i get with the above commands
iltesham@iltesham-Inspiron-1525:~$ df -hT
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda8 ext4 7.3G 5.8G 1.2G 84% /
udev devtmpfs 995M 4.0K 995M 1% /dev
tmpfs tmpfs 401M 924K 400M 1% /run
none tmpfs 1003M 156K 1002M 1% /run/shm
/dev/sda6 ext4 64G 934M 60G 2% /media/50c17553-f47c-4928-a68e-277c6f946cb9
iltesham@iltesham-Inspiron-1525:~$ df -hi
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/sda8 472K 472K 138 100% /
udev 210K 622 210K 1% /dev
tmpfs 214K 556 213K 1% /run
none 214K 7 214K 1% /run/shm
/dev/sda6 4.1M 15K 4.1M 1% /media/50c17553-f47c-4928-a68e-277c6f946cb9
iltesham@iltesham-Inspiron-1525:~$ mount
/dev/sda8 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/shm type tmpfs (rw,nosuid,nodev)
/dev/sda6 on /media/50c17553-f47c-4928-a68e-277c6f946cb9 type ext4 (rw,nosuid,nodev,uhelper=udisks)
iltesham@iltesham-Inspiron-1525:~$
Bookmarks