Mint install fails to install packages [solved]

Post your update and upgrade related errors here
Forum rules
Before you post please read this

Mint install fails to install packages [solved]

Postby graeme on Wed Aug 24, 2011 3:30 am

Clicking the install button in Mint Install does nothing.

Running from the command line resulted in this error:

Code: Select all
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/aptdaemon/defer.py", line 550, in _inline_callbacks
    result = gen.send(result)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/client.py", line 1001, in _run_transaction_helper
    tid = dbus_method(*args, timeout=86400)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.143'}): org.debian.apt.install-or-remove-packages
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/aptd_client.py", line 13, in <module>
    transaction = aptd_client.install_packages([package])   
  File "/usr/lib/python2.6/dist-packages/aptdaemon/defer.py", line 510, in _deferable
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/aptdaemon/errors.py", line 151, in _convert_dbus_exception
    raise get_native_exception(error)
aptdaemon.errors.AuthorizationFailed: org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name':  ':1.143'}): org.debian.apt.install-or-remove-packages
org.freedesktop.DBus.Error.ServiceUnknown: The name :1.139 was not provided by any .service files
Traceback (most recent call last):
  File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 120, in run
    current, pending = self.apt_daemon.GetActiveTransactions()
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 143, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.139 was not provided by any .service files
A problem occured but the transaction loop was kept running


I have also been unable to use the services-admin except by starting it from the command line with sudo.
Last edited by graeme on Fri Sep 02, 2011 3:25 pm, edited 1 time in total.
graeme
Level 3
Level 3
 
Posts: 108
Joined: Sat Feb 14, 2009 3:38 am
Location: Far away from proper beer.

Linux Mint is funded by ads and donations.
 

Re: Mint install fails to install packages

Postby graeme on Thu Aug 25, 2011 4:01 am

Its not just these. Its every GUI that requests admin while running.

i.e. Synaptic is OK (it asks for admina t the start), but nm-connection-editor will only work if run with sudo (otherwse chagnes are not saved), ditto user management, etc.
graeme
Level 3
Level 3
 
Posts: 108
Joined: Sat Feb 14, 2009 3:38 am
Location: Far away from proper beer.

Re: Mint install fails to install packages

Postby thorbs on Fri Aug 26, 2011 6:12 am

I believe I have the same error on a fresh install of LMDE. When I use the softwaremanager, nothing happens when I select software to install.
thorbs
Level 1
Level 1
 
Posts: 41
Joined: Mon Mar 14, 2011 5:16 am

Re: Mint install fails to install packages

Postby thorbs on Fri Aug 26, 2011 6:14 am

For some reason the feautured category works but not the rest.
thorbs
Level 1
Level 1
 
Posts: 41
Joined: Mon Mar 14, 2011 5:16 am

Re: Mint install fails to install packages

Postby graeme on Sat Aug 27, 2011 1:22 am

I think you have a different problem from mine, as I cannot install anything.

Could you try running it from the command line and post the output back here to compare it? The command is just mintinstall
graeme
Level 3
Level 3
 
Posts: 108
Joined: Sat Feb 14, 2009 3:38 am
Location: Far away from proper beer.

Re: Mint install fails to install packages

Postby thorbs on Sat Aug 27, 2011 6:44 am

yes I think my problem mightb be different. Now the software manager is every so often crashing as well.

mintinstall
/usr/lib/linuxmint/mintInstall/mintinstall.py:250: SyntaxWarning: import * only allowed at module level
def get_status_description(self, transaction):
/usr/lib/linuxmint/mintInstall/mintinstall.py:258: SyntaxWarning: import * only allowed at module level
def get_role_description(self, transaction):
add_categories took 31.024 ms
build_matched_packages took 0.420 ms
5348
add_packages took 6359.597 ms
add_reviews took 761.530 ms
/usr/lib/linuxmint/mintInstall/mintinstall.py:525: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
wTree.get_widget("main_window").show_all()
__init__ took 19164.532 ms
show_category took 942.891 ms
Overwriting reviews file in /home/thorbjørn/.linuxmint/mintinstall/reviews.list
update_reviews took 386.386 ms
org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 120, in run
current, pending = self.apt_daemon.GetActiveTransactions()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 143, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
A problem occured but the transaction loop was kept running
org.freedesktop.DBus.Error.ServiceUnknown: The name :1.80 was not provided by any .service files
Traceback (most recent call last):
File "/usr/lib/linuxmint/mintInstall/mintinstall.py", line 120, in run
current, pending = self.apt_daemon.GetActiveTransactions()
File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 143, in __call__
**keywords)
File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 630, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.80 was not provided by any .service files
A problem occured but the transaction loop was kept running
thorbs
Level 1
Level 1
 
Posts: 41
Joined: Mon Mar 14, 2011 5:16 am

Re: Mint install fails to install packages

Postby graeme on Sat Aug 27, 2011 11:17 pm

It looks related to me: you are gettting a different Dbus Error further up, but we are both getting ServiceUnknown at the end of the trace.

I wonder if its a Dbus misconfiguration rather than a MintInstall error per-se

It might be better to just forget about MintInstall see: viewtopic.php?f=91&t=76270
graeme
Level 3
Level 3
 
Posts: 108
Joined: Sat Feb 14, 2009 3:38 am
Location: Far away from proper beer.

Re: Mint install fails to install packages

Postby thorbs on Mon Aug 29, 2011 4:54 am

Yes I think you are right, thanks for the sharp observation. And I can see I have the same bugs as the rest, so the best thing to do is probably, as you suggest, not to use the software center untill, it gets improved.
thorbs
Level 1
Level 1
 
Posts: 41
Joined: Mon Mar 14, 2011 5:16 am

Re: Mint install fails to install packages

Postby graeme on Fri Sep 02, 2011 3:15 pm

I have solved it.

The problem was that the Policykit Authentication Agent, which should be in startup application and enabled, has the wrong command line. It should be:

Code: Select all
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1


That solved it for me, and I have my first software from the software centre installing now.

@thorbs, let me know if it works for you.

I still have the problem with regard to some admin GUIs (gdmsetup, for example): again it is a Dbus problem.
graeme
Level 3
Level 3
 
Posts: 108
Joined: Sat Feb 14, 2009 3:38 am
Location: Far away from proper beer.

Re: Mint install fails to install packages

Postby graeme on Fri Sep 02, 2011 3:20 pm

I found a very similar problem (which I am also experiencing now) which suggests that LMDE cannot cope with users keeping their /home . I assume the problem is per user settings.

This needs to be better documented, and we need some way of resetting everything that might snafu Mint: probably simply deleting certain config files and directories should do it.
graeme
Level 3
Level 3
 
Posts: 108
Joined: Sat Feb 14, 2009 3:38 am
Location: Far away from proper beer.

Re: Mint install fails to install packages

Postby beer-in-box on Wed Oct 05, 2011 2:52 pm

graeme wrote:I have solved it.

The problem was that the Policykit Authentication Agent, which should be in startup application and enabled, has the wrong command line. It should be:

Code: Select all
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1


That solved it for me, and I have my first software from the software centre installing now.

@thorbs, let me know if it works for you.

I still have the problem with regard to some admin GUIs (gdmsetup, for example): again it is a Dbus problem.

Hi, can you tell me how exactly did you do that?

When I run the file manually, it starts to work. I added it to autostart but I must have done it wrong, because I have to run it manually everytime.
beer-in-box
Level 1
Level 1
 
Posts: 33
Joined: Thu Sep 22, 2011 8:28 am

Re: Mint install fails to install packages

Postby elzear on Mon Jan 09, 2012 12:57 pm

beer-in-box wrote:
graeme wrote:I have solved it.

The problem was that the Policykit Authentication Agent, which should be in startup application and enabled, has the wrong command line. It should be:

Code: Select all
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1


That solved it for me, and I have my first software from the software centre installing now.

@thorbs, let me know if it works for you.

I still have the problem with regard to some admin GUIs (gdmsetup, for example): again it is a Dbus problem.

Hi, can you tell me how exactly did you do that?

When I run the file manually, it starts to work. I added it to autostart but I must have done it wrong, because I have to run it manually everytime.



I had same problem as You :)

I made it by create start.sh document (set name as you want) place in your home.
and past this to it:

Code: Select all
#!/bin/sh
"/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1"


Set permissions to "make executable".
At last add this "short script" to start program :)
Voila.
elzear
Level 1
Level 1
 
Posts: 1
Joined: Mon Jan 09, 2012 12:48 pm

Linux Mint is funded by ads and donations.
 

Return to Update/Upgrade Issues

Who is online

Users browsing this forum: No registered users and 2 guests