After I did a chmod +r *.gpg in /etc/apt/trusted.gpg.d/ I was surprised
to see that apport-retrace was still crashing:

Checking the stacktrace showed it's because it's happening while trying
to read not gpg file but "gpg~"  file

ls -l *.gpg~ 
-rwxr-xr-x 1 root root 0 juil. 16 11:39 cairo-dock-team-ppa.gpg~
-rwxr-xr-x 1 root root 0 juil. 19 13:02 ehoover-compholio.gpg~
-rwxr-xr-x 1 root root 0 août  22 13:55 mqchael-pipelight.gpg~
-rwxr-xr-x 1 root root 0 juil. 17 05:01 unity-webapps-feedly-stable.gpg~
-rwxr-xr-x 1 root root 0 août  20 14:43 videolan-master-daily.gpg~
-rwx--x--x 1 root root 0 juin  26 18:14 webupd8team-java.gpg~

I think one patch is to ignore those file and only read .gpg file, and
in a second time make sure the gpg file are readable. I don't know why
those file are there in the first place and if there is a good reason
for it as they are empty.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1188588

Title:
  apport-retrace crashed with Error in copytree():
  [('/etc/apt/trusted.gpg.d/username-evolution-3_8.gpg~',
  '/home/username/.cache/apport/retrace/system/apt/etc/apt/trusted.gpg.d
  /username-evolution-3_8.gpg~', "[Errno 13] Permission denied:
  '/etc/apt/trusted.gpg.d/username-evolution-3_8.gpg~'"),
  ('/etc/apt/trusted.gpg.d/username-evolution-3_8.gpg',
  '/home/username/.cache/apport/retrace/system/apt/etc/apt/trusted.gpg.d
  /username-evolution-3_8.gpg', "[Errno 13] Permission denied:
  '/etc/apt/trusted.gpg.d/username-evolution-3_8.gpg'")]

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1188588/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to