Odd message during command line installs.

James R McKenzie jimmckenzie at earthlink.net
Sat May 11 14:03:45 UTC 2013


How do I fix this? For the record "now" Synaptic won't run properly either. I tried the 'apt-get -f install' thing as sudo and it made no difference. What is this error and how can it be fixed?

Any/All help will be appreciated.

THANK YOU

James R McKenzie

jimmckenzie at earthlink.net




jim at Jims64KubuntuLapTop:~$ sudo apt-get remove $(dpkg -l|egrep '^ii  linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`) &&
> sudo update-grub2 &&
> sudo apt-get -y purge &&
> sudo apt-get install -f &&
> sudo apt-get autoremove &&
> sudo dpkg --configure -a
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:
 build-essential : Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
 linux-generic : Depends: linux-image-generic (= 3.8.0.19.35) but it is not going to be installed
                 Depends: linux-headers-generic (= 3.8.0.19.35) but it is not going to be installed
 linux-headers-3.8.0-19-generic : Depends: linux-headers-3.8.0-19 but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
jim at Jims64KubuntuLapTop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  dpkg-dev
Suggested packages:
  debian-keyring
The following NEW packages will be installed:
  dpkg-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/712 kB of archives.
After this operation, 1,598 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
E: Invalid archive member header 
E: Prior errors apply to /var/cache/apt/archives/dpkg-dev_1.16.10ubuntu1_all.deb
debconf: apt-extracttemplates failed: No such file or directory
dpkg: warning: downgrading kfilereplace from 4:4.10.2-0ubuntu1 to 4:4.9.2-0ubuntu2
(Reading database ... 133175 files and directories currently installed.)
Preparing to replace kfilereplace 4:4.10.2-0ubuntu1 (using .../dpkg-dev_1.16.10ubuntu1_all.deb) ...
Unpacking replacement kfilereplace ...
Processing triggers for hicolor-icon-theme ...
dpkg: error processing dpkg-dev (--configure):
 no package named `dpkg-dev' is installed, cannot configure
dpkg: dependency problems prevent configuration of build-essential:
 build-essential depends on dpkg-dev (>= 1.13.5); however:
  Package dpkg-dev is not installed.

dpkg: error processing build-essential (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 dpkg-dev
 build-essential
E: Sub-process /usr/bin/dpkg returned an error code (1)
jim at Jims64KubuntuLapTop:~$ 







More information about the ubuntu-users mailing list