PDA

View Full Version : [kubuntu] 9.10 - apt-get install failing



abrazafi
February 8th, 2010, 12:12 AM
Hi,

Running kubuntu 9.10, I have lots of spaces on my disk and the following commands are failing:
> sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
and
>sudo apt-get autoremove

Any suggestion will be welcomed, thanks.

Abdon.

---------------------- herewith the outputs

> sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
python-psyco python-gconf libboost-thread1.38.0 python-gtkmozembed
libtorrent-rasterbar5 python-glade2 python-pysqlite2 libboost-filesystem1.38.0
miro-data python-gtk2 libboost-system1.38.0 python-cairo python-libtorrent
libboost-python1.38.0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
sun-java6-bin
Suggested packages:
binfmt-support ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho
ttf-sazanami-mincho
The following NEW packages will be installed:
sun-java6-bin sun-java6-fonts sun-java6-jre sun-java6-plugin
0 upgraded, 4 newly installed, 0 to remove and 27 not upgraded.
Need to get 0B/35.5MB of archives.
After this operation, 101MB of additional disk space will be used.
Do you want to continue [Y/n]? y
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Preconfiguring packages ...
Selecting previously deselected package sun-java6-jre.
(Reading database ... 35%dpkg: unrecoverable fatal error, aborting:
files list file for package 'kdebase-runtime-data-common' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

-----------------------------------------

> apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
abdon@antec:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libboost-filesystem1.38.0 libboost-python1.38.0 libboost-system1.38.0
libboost-thread1.38.0 libtorrent-rasterbar5 miro-data python-cairo python-gconf
python-glade2 python-gtk2 python-gtkmozembed python-libtorrent python-psyco
python-pysqlite2
0 upgraded, 0 newly installed, 14 to remove and 27 not upgraded.
After this operation, 19.1MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 35%dpkg: unrecoverable fatal error, aborting:
files list file for package 'kdebase-runtime-data-common' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)

lidex
February 16th, 2010, 04:11 PM
Run this terminal command:

sudo dpkg --configure -a