Bug 1270399 - [abrt] yum: misc.py:1168:decompress:OSError: [Errno 1] Operation not permitted: '/var/cache/yum/x86_64/22/custom/gen/primary_db.sqlite'
[abrt] yum: misc.py:1168:decompress:OSError: [Errno 1] Operation not permitte...
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-10-09 18:37 EDT by Vadim Raskhozhev
Modified: 2016-07-19 14:10 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2016-07-19 14:10:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
File: backtrace (2.44 KB, text/plain)
2015-10-09 18:37 EDT, Vadim Raskhozhev
no flags Details
File: environ (2.82 KB, text/plain)
2015-10-09 18:37 EDT, Vadim Raskhozhev
no flags Details

  None (edit)
Description Vadim Raskhozhev 2015-10-09 18:37:17 EDT
Version-Release number of selected component:

Additional info:
reporter:       libreport-2.6.2
cmdline:        /usr/bin/python -t /usr/share/yum-cli/completion-helper.py -d 0 -C list all arc-the
executable:     /usr/share/yum-cli/completion-helper.py
kernel:         4.1.8-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
misc.py:1168:decompress:OSError: [Errno 1] Operation not permitted: '/var/cache/yum/x86_64/22/custom/gen/primary_db.sqlite'

Traceback (most recent call last):
  File "/usr/share/yum-cli/completion-helper.py", line 95, in <module>
  File "/usr/share/yum-cli/completion-helper.py", line 88, in main
  File "/usr/share/yum-cli/cli.py", line 586, in doCommands
    return self.yum_cli_commands[self.basecmd].doCommand(self, self.basecmd, self.extcmds)
  File "/usr/share/yum-cli/completion-helper.py", line 52, in doCommand
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 2956, in doPackageLists
    avail = self.pkgSack.returnNewestByNameArch(patterns=patterns,
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 1095, in <lambda>
    pkgSack = property(fget=lambda self: self._getSacks(),
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 799, in _getSacks
  File "/usr/lib/python2.7/site-packages/yum/repos.py", line 383, in populateSack
    sack.populate(repo, mdtype, callback, cacheonly)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 232, in populate
    db_un_fn = self._check_uncompressed_db_gen(repo, mydbtype)
  File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 287, in _check_uncompressed_db_gen
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1181, in repo_gen_decompress
    return decompress(filename, dest=dest, check_timestamps=True)
  File "/usr/lib/python2.7/site-packages/yum/misc.py", line 1168, in decompress
    os.utime(out, (fi.st_mtime, fi.st_mtime))
OSError: [Errno 1] Operation not permitted: '/var/cache/yum/x86_64/22/custom/gen/primary_db.sqlite'

Local variables in innermost frame:
check_timestamps: True
dest: '/var/cache/yum/x86_64/22/custom/gen/primary_db.sqlite'
filename: '/var/cache/yum/x86_64/22/custom/1bc2523c6a6e43415d560ab7b7a4e260e237c7fb1c35bd39cafd7468823792d2-primary.sqlite.bz2'
fo: posix.stat_result(st_mode=33204, st_ino=2492488, st_dev=64769, st_nlink=1, st_uid=0, st_gid=0, st_size=998400, st_atime=1443968839, st_mtime=1443905966, st_ctime=1443968837)
fi: posix.stat_result(st_mode=33188, st_ino=2492795, st_dev=64769, st_nlink=1, st_uid=0, st_gid=0, st_size=217182, st_atime=1444214245, st_mtime=1444082169, st_ctime=1444154111)
out: '/var/cache/yum/x86_64/22/custom/gen/primary_db.sqlite'
fn_only: False
ztype: 'bz2'
Comment 1 Vadim Raskhozhev 2015-10-09 18:37:20 EDT
Created attachment 1081472 [details]
File: backtrace
Comment 2 Vadim Raskhozhev 2015-10-09 18:37:22 EDT
Created attachment 1081473 [details]
File: environ
Comment 3 Fedora End Of Life 2016-07-19 14:10:27 EDT
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this

Thank you for reporting this bug and we are sorry it could not be fixed.

Note You need to log in before you can comment on or make changes to this bug.