LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error: Add/Remove applications (https://www.linuxquestions.org/questions/linux-newbie-8/error-add-remove-applications-740025/)

watsonsun 07-14-2009 12:16 PM

Error: Add/Remove applications
 
Hi all, I am a newbee. When I ran this: Application > add/remove applications, I get this error.

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'.

All these happened when I tried to install java unsuccessfully.
Trying to solve this problem, I ran the following

apt-get autoremove
sudo apt-get update
sudo apt-get upgrade

This did not solve the problem and the error is exists.
Most appreciative to all for any help

Watson

watsonsun 07-14-2009 12:45 PM

my source.list
 
Solved

watsonsun 07-14-2009 01:47 PM

when I ran this in terminal
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update

I get
..............
..............
Do you want to continue [Y/n]? Y
Get:1 http://packages.medibuntu.org jaunty/free medibuntu-keyring 2008.04.20 [3448B]
Fetched 3448B in 0s (7509B/s)
(Reading database ...
dpkg: serious warning: files list file for package `samba-doc' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `samba-common' missing, assuming package has no files currently installed.
133717 files and directories currently installed.)
Removing libecj-java-gcj ...
gcj-dbtool-4.3: error while loading shared libraries: libgcj.so.90: cannot open shared object file: No such file or directory
dpkg: error processing libecj-java-gcj (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
libecj-java-gcj
E: Sub-process /usr/bin/dpkg returned an error code (1)


I ran this code to try to remove libecj-java-gcj:
sudo apt-get remove libecj-java-gcj

and I get this error
...............................
..................................
dpkg: serious warning: files list file for package `samba-doc' missing, assuming package has no files currently installed.

dpkg: serious warning: files list file for package `samba-common' missing, assuming package has no files currently installed.
133717 files and directories currently installed.)
Removing libecj-java-gcj ...
gcj-dbtool-4.3: error while loading shared libraries: libgcj.so.90: cannot open shared object file: No such file or directory
dpkg: error processing libecj-java-gcj (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
libecj-java-gcj
E: Sub-process /usr/bin/dpkg returned an error code (1)

watsonsun 07-14-2009 02:18 PM

solved
 
solved.

I went to synaptic package manager and do a quick search on

libecj and remove all, and it worked!!


Thanks to all anyway


All times are GMT -5. The time now is 10:28 AM.