Error when trying to install/remove programs after upgrade to Ubuntu 13.10

10,506

Solution 1

Upgrade to 14.04 fixes this problem

Solution 2

Try to completely remove Software Center and then re-install it

These commands will help you.

sudo apt-get autoremove software-center && sudo apt-get --purge remove software-center
sudo apt-get autoremove && sudo apt-get autoclean
sudo rm -r ~/.cache/software-center/

Please read the messages carefully, be sure that it removes packages related to software-center only.

Now re-install it again:

sudo apt-get update
sudo apt-get -f install software-center

Edit

Sometime you've to manage with some other way. I did what I could do. I guess the problem is when you click the install button in any package manager it doesn't invoke the password window to get the password. But when you open the package manager with the appropriate permissions it would not be needed and simply all work fine..

So what I suggest you to stick with the workaround what I told you before, i,e run package manager each time by pressing Alt+F2 and executing the command with gksu. Like gksu synaptic or gksu software-center.

It is not a big issue to use, because although you've to give your password in order to install/remove packages. At last I will say sorry that after spending that much time your problem has not been solved. :( I hope you would manage with the workaround what I suggest you earlier.

And yes you can get the list of broken packages and residual packages with this command:

sudo dpkg -l | grep -e "^rc" -e "^iU"

If this command returns any value this means that you've broken packages or residual packages. rc means residual and iU means broken.

Reply if I can help you further..

Share:
10,506

Related videos on Youtube

rubo77
Author by

rubo77

SCHWUPPS-DI-WUPPS

Updated on September 18, 2022

Comments

  • rubo77
    rubo77 over 1 year

    I have a problem with PolicyKit, when I try to install programs in Ubuntu software-center (similar messages in synaptic or muon): The problem started after upgrade from 13.04 to 13.10.

    When I try to remove / install programs I get notification:

    You are not allowed to perform this action! You don't have the required privileges to perform this action

    You are not allowed to perform this action!
    You don't have the required privileges to perform this action

    When you open details you see this:

    org.freedesktop.PolicyKit.Error.Failed: ('system-bus-name', {'name': ':1.44'}): org.debian.apt.install-file
    

    I already checked:

    I also tried to add my user to the group root, now my user is in these groups

    adm dialout cdrom sudo audio plugdev staff users fuse lightdm mlocate netdev bluetooth lpadmin admin sambashare kismet root
    

    What exactly are the rights, I need to be able to access the software center as user?

    Also related to

    "Software can't be installed or removed because the authentication service is not available. "


    EDIT:
    Maybe this problem has to do with it that I also cannot mount USB-devices since the upgrade if I start nautilus as the normal user.

    I have to start withgksudo nautilus to be able to mount the USB-stick with the button on the left side (as root then)


    Maybe it has to do something with the packages installed, here is the output of dpkg -l

    • rubo77
      rubo77 over 10 years
      The error message in german: "Es ist Ihnen nicht gestattet diese Aktion durchzuführen Sie besitzen nicht die notwendigen Berechtigungen, um diesen Vorgang auszuführen."
    • rubo77
      rubo77 over 10 years
      I think a solution is important, cause many users are affected and need a workaround. My current workaround is to use only the cosole with sudo apt-get
    • Saurav Kumar
      Saurav Kumar over 10 years
      Do you get the same problem when you start your GUI application with sudo in the beginning itself? For example, press Alt + F2 and then type gksu synaptic to start Synaptic and then install/remove the packages?? Be sure that gksu is installed in your system. Reply..
    • rubo77
      rubo77 over 10 years
      No, then everything works fine as root
    • Saurav Kumar
      Saurav Kumar over 10 years
      Have you tried to re-install software-center and other GUI packages after completely removing it? Since the steps are quite long I prefer to post it as an answer. Just give it a try, hope it would work..
    • rubo77
      rubo77 over 10 years
      yes, but no effect, I added some ideas to my question
  • rubo77
    rubo77 over 10 years
    I tried, but it didn't change anything, here the install log: pastebin.com/ubYwv6UT
  • Saurav Kumar
    Saurav Kumar over 10 years
    That's all I can help you.. :( Although I saw a lot of rc (residual configuration) packages in your system, that should be removed. I don't whether it would help you but you can at-least try it. You can remove all of them using the command that I've mentioned in this post Residual packages Ubuntu 12.04
  • rubo77
    rubo77 over 10 years
    I removed all rc packages now, but no effect unfortunately. I updated the packagelist on gist
  • rubo77
    rubo77 over 10 years
    Not in my case.