Announcement

Collapse
No announcement yet.

<solved> Dolphin / Gdebi issue : Clicking on .deb package no longer works

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    <solved> Dolphin / Gdebi issue : Clicking on .deb package no longer works

    Previous to Natty, when I opened a dolphin window and clicked on a .deb package, the installer (gdebi) would pop up no problem. Now, the wiat icons floats for a few secs. then the process dies.

    Attempting gdebi at the cli gets this error:
    Code:
    Traceback (most recent call last):
     File "/usr/bin/gdebi", line 29, in <module>
      import apt
     File "/usr/lib/python2.7/dist-packages/apt/__init__.py", line 35, in <module>
      apt_pkg.init()
    SystemError: E:Opening configuration file /etc/apt/apt.conf.d/10periodic - ifstream::ifstream (13: Permission denied)
    However, it works at the cli with sudo.

    So it appears something has changed in dolphin regarding activating a password request for a sudo operation.

    Anyway I can just fix this my self? I can't seem to find the configuration file to change it.

    Please Read Me

    #2
    Re: Dolphin / Gdebi issue : Clicking on .deb package no longer works as expected

    Let's check the file permissions first:
    Code:
    ls -al /etc/apt/apt.conf.d/
    ASROCK Z87 Pro4 - i5 4670K - R9 270x ☞ Triple Boot: KDE NEON ★ Windows 10 ★ Windows 7

    Comment


      #3
      Re: Dolphin / Gdebi issue : Clicking on .deb package no longer works as expected

      Thanks for the suggestion, I will as soon as I get home.

      But shouldn't the gdebi proces require a su password?

      Please Read Me

      Comment


        #4
        Re: Dolphin / Gdebi issue : Clicking on .deb package no longer works as expected

        In the System Settings --> File Associations.
        Find x-deb. It should look like the graphic:
        Attached Files
        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
        – John F. Kennedy, February 26, 1962.

        Comment


          #5
          Re: Dolphin / Gdebi issue : Clicking on .deb package no longer works as expected

          @ubuntuku : it seems you're a genius!

          Code:
          stuart@office:~/Downloads$ ls -al /etc/apt/apt.conf.d/
          total 3
          drwxr-xr-x 1 root root 174 2011-05-03 06:56 .
          drwxr-xr-x 1 root root 248 2011-05-11 19:52 ..
          -rw-r--r-- 1 root root  40 2011-04-30 21:43 00trustcdrom
          -rw-r--r-- 1 root root 430 2011-04-07 04:12 01autoremove
          -rw------- 1 root root 130 2011-05-11 19:48 10periodic
          -rw-r--r-- 1 root root 121 2011-04-07 04:12 20changelog
          -rw-r--r-- 1 root root 1049 2011-04-04 00:48 20packagekit
          -rw-r--r-- 1 root root 1921 2011-04-12 02:22 50unattended-upgrades
          -rw-r--r-- 1 root root 182 2011-02-20 02:25 70debconf
          Seemed odd that 10periodic was different but I doubted that was the issue. Lo and behold, a chmod a+r and it works.

          Please Read Me

          Comment

          Working...
          X