You are not logged in.

#1 2019-08-05 17:57:19

saleem
Member
Registered: 2011-09-21
Posts: 168

error on running update

I am updating a few months old installation and on #pacman -Syu I am getting following warning

warning: could not get file information for usr/lib/python2.7/ctypes/__init__.pyc
warning: could not get file information for usr/lib/python2.7/ctypes/_endian.pyc

I tried looking for this warning on google but did not come up with any clue.

What is this warning about and how to fix it?

I am getting this out put to a command I found on search

sudo pacman -Qo usr/lib/python2.7/ctypes/_endian.pyc
error: No package owns usr/lib/python2.7/ctypes/_endian.pyc

Last edited by saleem (2019-08-05 18:00:09)

Offline

#2 2019-08-05 18:07:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: error on running update

Please read https://bbs.archlinux.org/viewtopic.php?id=57855 and then paste the output, in code tags, of `pacman -Syu --debug`.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-08-05 19:06:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,530
Website

Re: error on running update

Note these two are completely different commands:

$ pacman -Qo usr/lib/python2.7/ctypes/_endian.pyc
error: No package owns usr/lib/python2.7/ctypes/_endian.pyc

$ pacman -Qo /usr/lib/python2.7/ctypes/_endian.pyc
/usr/lib/python2.7/ctypes/_endian.pyc is owned by python2 2.7.16-1

At a minimum, there's a problem with the python2 record in your local pacman database.  But without the full output we can't really know what else is going on.  You didn't even post an error, just warnings.  If that's all it was, pacman may continue just fine.

Last edited by Trilby (2019-08-05 19:07:44)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB