Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

pkgfile doesn't work with pacman 3.5 #28

Closed
wonder opened this issue Mar 16, 2011 · 2 comments
Closed

pkgfile doesn't work with pacman 3.5 #28

wonder opened this issue Mar 16, 2011 · 2 comments
Labels
Milestone

Comments

@wonder
Copy link

wonder commented Mar 16, 2011

 sudo pkgfile -u
 :: Converting local repo ...
 Traceback (most recent call last):
   File "/usr/bin/pkgfile", line 434, in 
     main()
   File "/usr/bin/pkgfile", line 416, in main
     update_repo(options)
   File "/usr/bin/pkgfile", line 210, in update_repo
     local_dbpath = os.path.join(find_dbpath(), 'local')
   File "/usr/lib/python2.7/posixpath.py", line 68, in join
     elif path == '' or path.endswith('/'):
 AttributeError: 'NoneType' object has no attribute 'endswith'

pacman 3.5 has a new database format

@Daenyth
Copy link
Owner

Daenyth commented Apr 13, 2011

Odd... I'm not seeing this error. Has something changed since you opened the ticket?

daenyth@Bragi ~ $ sudo pkgfile -u
Password: 
:: Checking [core] for files list ...
:: Checking [extra] for files list ...
:: Checking [community] for files list ...
:: Checking [multilib] for files list ...
    No update available
:: Checking [xyne-any] for files list ...
Warning: could not retrieve http://xyne.archlinux.ca/repos/any/xyne-any.files.tar.gz
:: Converting local repo ...
Done
daenyth@Bragi ~ $ pacman -Q pacman
pacman 3.5.1-1
daenyth@Bragi ~ $ pacman -Q pkgtools
pkgtools 22-1

@Daenyth
Copy link
Owner

Daenyth commented Sep 2, 2011

I can't reproduce this on the 2to3 branch. Should be fine for the next release.

@Daenyth Daenyth closed this as completed Sep 2, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants