Unable to install softwares from Software Center

Asked by Renju

When I try to install something from the Ubuntu Software Center, after giving the password system shows the message
"There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks." What should I do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Renju
Solved:
Last query:
Last reply:
Revision history for this message
michael (yellupcm-gmail) said :
#1

Try http://ubuntuforums.org/tags.php?tag=aptdaemon+error
     https://lists.ubuntu.com/archives/foundations-bugs/2011-June/006084.html
     http://ubuntuforums.org/showthread.php?t=1788287

wrote on 2011-04-14: #2

This bug was fixed in the package aptdaemon - 0.41+bzr629-0ubuntu1

Hope some of above helps.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Can you give the output of:

sudo apt-get update; sudo apt-get upgrade

Thanks

Revision history for this message
Renju (renjumon) said :
#3

As per michael's answer, upgraded the system and now it's OK. Thanks...........

Revision history for this message
Ashish (ashpsky) said :
#4

I am trying to solve my problem with sudo apt-get update; sudo apt-get upgrade command, but gives error report :-

Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_natty_main_i18n_Translation-en
E: The package lists or status file could not be parsed or opened.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

sudo fuser -vvv /var/lib/dpkg/lock
sudo rm /var/lib/apt/lists/lock
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo rm /var/cache/apt/*.bin
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
LANG=C;sudo apt-get clean
LANG=C;sudo apt-get autoclean
LANG=C;sudo apt-get --purge autoremove
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo apt-get -f install
LANG=C;sudo apt-get --fix-missing install
LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

May help