An unhandlable error occured

Asked by joshua

I tried to install Opera. Installation failed with the following error 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. Please report this error at http://launchpad.net/aptdaemon/+filebug and retry.

I have had problems to install downloaded programs like ktor etc. in the last couple of days.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

How did you attempt the install?

Revision history for this message
joshua (seabluedreaming) said :
#2

I double clicked on the downloaded file in the firefox download window. Just tried again and this time absolutely nothing happens. No installation starts.

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

Ok what is the full filename?

Revision history for this message
joshua (seabluedreaming) said :
#4

opera_11.01.1190_i386.deb

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

ok and where is the file located?

Revision history for this message
joshua (seabluedreaming) said :
#6

good question. it isn't in the download folder. I searched for it and couldn't find it. However, I just downloaded the file again and tried to start it from my downloads folder. But same message again:

An unhandlable error occured

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. Please report this error at http://launchpad.net/aptdaemon/+filebug and retry.

This happens in the Ubuntu Software Center.

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

ok so if you run:

cd ~/Downloads; sudo dpkg -i ./opera_11.01.1190_i386.deb

What is output?

Revision history for this message
joshua (seabluedreaming) said :
#8

I tried ... that's the output:

 joshua@joshua-freeline:~$ cd ~/Downloads; sudo dpkg -i ./opera_11.01.1190_i386.deb
dpkg: parse error, in file '/var/lib/dpkg/available' near line 1296 package 'python-gnome2':
 `Depends' field, syntax error after reference to package `python'
joshua@joshua-freeline:~/Downloads$ ^C
joshua@joshua-freeline:~/Downloads$

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

sudo rm --force /var/lib/dpkg/status
sudo rm --force /var/lib/dpkg/available
sudo rm /var/lib/apt/lists/lock
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 mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo rm /var/cache/apt/*.bin
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 update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade

Should help

Revision history for this message
joshua (seabluedreaming) said :
#10

Thanks actionparsnip, that solved my question.