Hi,
I am new to Ubuntu and my learning curve is yet to grow [novice user ]! I was running the update manager to install some of the available updates. The system restarted all of a sudden and i presume that the update manager crashed. I brought up those services back using $ sudo dpkg --configure -a command. I tried all possible options available in the forums, however the following issues remain unresolved. Could you please help me to:
1. Repair/Install the package 'libkpathsea4' without errors.
2. Remove unnecessary locks that were enabled during the update process.
--------------------------------------------------------------------------
~$ sudo dpkg -C
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
libkpathsea4 TeX Live: path search library for TeX (runtime part)
--------------------------------------------------------------------------
~$ sudo apt-get install libkpathsea4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
avm-fritz-firmware-2.6.22-14
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
libkpathsea4
1 upgraded, 0 newly installed, 0 to remove and 118 not upgraded.
1 not fully installed or removed.
Need to get 109kB of archives.
After unpacking 0B of additional disk space will be used.
Get:1 http://security.ubuntu.com gutsy-security/main libkpathsea4 2007-12ubuntu3.1 [109kB]
Fetched 109kB in 5s (21.7kB/s)
(Reading database ... dpkg: error processing /var/cache/apt/archives/libkpathsea4_2007-12ubuntu3.1_i386.deb (--unpack):
files list file for package `libkpathsea4' is missing final newline
Errors were encountered while processing:
/var/cache/apt/archives/libkpathsea4_2007-12ubuntu3.1_i386.deb
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
--------------------------------------------------------------------------
~$ apt-get -f update
E: Could not open lock file /var/lib/apt/lists/lock - open (13 Permission denied)
E: Unable to lock the list directory
--------------------------------------------------------------------------
~$ apt-get autoclean
E: Could not open lock file /var/cache/apt/archives/lock - open (13 Permission denied)
E: Unable to lock the download directory
--------------------------------------------------------------------------
Sincere Apologies for my silly questions, but I would be grateful if anyone could help me get my way out!
Bookmarks