Errors While Processing

Questions about applications and software
Forum rules
Before you post please read this

Errors While Processing

Postby Transitman on Sat Feb 02, 2013 2:30 am

Short back-story, I am having issues either uninstalling or installing packages from either "gdebi" or through "synaptic"

This is the error that is being given, and honestly it is greek to me. So if someone could help, I would appreciate it.

Code: Select all
(Reading database ... 389170 files and directories currently installed.)
Removing opera-next ...
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 38, in <module>
    from softwarecenter.db.update import rebuild_database
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 2, in <module>
    from debfile import DebFileApplication
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 26, in <module>
    from softwarecenter.db.application import Application, AppDetails
  File "/usr/share/software-center/softwarecenter/db/application.py", line 27
    from softwarecenter.backend.channel # import is_channel_available
                                                                    ^
SyntaxError: invalid syntax
dpkg: error processing opera-next (--purge):
 subprocess installed post-removal script returned error exit status 1
Processing triggers for hicolor-icon-theme ...
Processing triggers for packagekit-backend-aptcc ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Processing triggers for man-db ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for menu ...
Errors were encountered while processing:
 opera-next
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB
localepurge: Disk space freed in /usr/share/doc/kde/HTML: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up software-center (5.1.2debian3.1) ...
SyntaxError: ('invalid syntax', ('/usr/share/software-center/softwarecenter/backend/channel.py', 25, 47, 'from softwarecenter.distro # import get_distro\n'))

SyntaxError: ('invalid syntax', ('/usr/share/software-center/softwarecenter/db/application.py', 27, 66, 'from softwarecenter.backend.channel # import is_channel_available\n'))

SyntaxError: ('invalid syntax', ('/usr/share/software-center/softwarecenter/db/update.py', 59, 63, 'from softwarecenter.db.database # import parse_axi_values_file\n'))

dpkg: error processing software-center (--configure):
 subprocess installed post-installation script returned error exit status 101
Setting up opera (12.13.1734) ...
Traceback (most recent call last):
  File "/usr/sbin/update-software-center", line 38, in <module>
    from softwarecenter.db.update import rebuild_database
  File "/usr/share/software-center/softwarecenter/db/__init__.py", line 2, in <module>
    from debfile import DebFileApplication
  File "/usr/share/software-center/softwarecenter/db/debfile.py", line 26, in <module>
    from softwarecenter.db.application import Application, AppDetails
  File "/usr/share/software-center/softwarecenter/db/application.py", line 27
    from softwarecenter.backend.channel # import is_channel_available
                                                                    ^
SyntaxError: invalid syntax
dpkg: error processing opera (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for menu ...
Errors were encountered while processing:
 software-center
 opera


Opera is installed, but I am still getting these errors.
Transitman
Level 2
Level 2
 
Posts: 97
Joined: Sun Dec 02, 2007 1:48 am

Linux Mint is funded by ads and donations.
 

Re: Errors While Processing

Postby viking777 on Sat Feb 02, 2013 7:14 am

You left out the command you ran to get those errors which doesn't help much. So what were you trying to do?

BTW the error talks about opera-next, not opera. This is the alpha/beta releases of Opera ie unstable versions. Do you want these?
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Errors While Processing

Postby Transitman on Sat Feb 02, 2013 2:17 pm

This error is from using "synaptic" to try and un-install Opera-next.
Transitman
Level 2
Level 2
 
Posts: 97
Joined: Sun Dec 02, 2007 1:48 am

Re: Errors While Processing

Postby viking777 on Sat Feb 02, 2013 2:29 pm

OK so try

Code: Select all
sudo apt-get --purge opera-next


And post any errors from that.
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Errors While Processing

Postby Transitman on Sat Feb 02, 2013 2:34 pm

Ran the command and got
Code: Select all
E: Invalid operation opera-next
Transitman
Level 2
Level 2
 
Posts: 97
Joined: Sun Dec 02, 2007 1:48 am

Re: Errors While Processing

Postby viking777 on Sat Feb 02, 2013 2:36 pm

My fault.

Code: Select all
sudo apt-get remove --purge opera-next
Fujitsu Lifebook AH532. Intel i5 processor, 6Gb ram, Intel HD3000 graphics, Intel Audio/wifi. Realtek RTL8111/8168B Ethernet.Lubuntu 13.10,Ubuntu12.10 (Unity), Mint16 (Cinnamon), Manjaro (Xfce).
Image
User avatar
viking777
Level 14
Level 14
 
Posts: 5153
Joined: Mon Dec 01, 2008 11:21 am

Re: Errors While Processing

Postby Transitman on Sat Feb 02, 2013 3:26 pm

I finally got it nuked, but now there is an issue involving software-center.
I get an error about sysnaptic not being able to remove /var/cache/software-center/xiapian

I can re-install it, but the program will not open.

Everything else I got resolved.
Transitman
Level 2
Level 2
 
Posts: 97
Joined: Sun Dec 02, 2007 1:48 am

Re: Errors While Processing

Postby DrHu on Sat Feb 02, 2013 3:31 pm

You might have to play with the cached files..
http://ubuntuforums.org/showthread.php?t=1715201
    --or I would if that filename xiapian is used try touch filename (where filename is in that /var/cache directory

I would also make sure you are updated..
Code: Select all
sudo apt-get update
--repository list
sudo apt-get upgrade
--apps + OS
User avatar
DrHu
Level 16
Level 16
 
Posts: 6297
Joined: Wed Jun 17, 2009 8:20 pm

Re: Errors While Processing

Postby Transitman on Sat Feb 02, 2013 4:25 pm

My apologizes to DrHu. I did not look as I noticed your post several minutes ago, but I think I've got my problem solved.

I went and disabled all my Debian repositories and activated Stable.
Did a reload, and then installed the Stable version software-center.
Then I un-installed it, and it un-installed cleanly, no error messages.

Went back and reset my repositories selections, did a reload and all was right with the world, or was it?
The only way to find out was by installing the latest version of Opera, and did so via "gdebi".
It installed without issue and without any error messages.

Now we shall see if this holds.
Thanks for those who tried to help.
Transitman
Level 2
Level 2
 
Posts: 97
Joined: Sun Dec 02, 2007 1:48 am

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 9 guests