Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11264 - Unable to install packages from local repositry after pacman upgrade to 3.2.0

Attached to Project: Arch Linux
Opened by Pranay Kanwar (warl0ck) - Wednesday, 20 August 2008, 07:10 GMT
Last edited by Allan McRae (Allan) - Wednesday, 20 August 2008, 14:55 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture i686
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After upgrading to pacman 3.2.0, pacman does not install
packages from a locally built repositry. for example

%sudo pacman -v -S dante
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
Targets : dante
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (package filename is not valid)


pacman gives the same error for all the packages in the same repositry.


-- My /etc/pacman.conf entry

[custom]
Server = file:///data/archrepo/packages/custom/os/i686


The repositry db is generated with the python script mentioned in the wiki.

This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 20 August 2008, 14:55 GMT
Reason for closing:  Not a bug
Comment by Xavier (shining) - Wednesday, 20 August 2008, 14:14 GMT
That is the problem, you should not use that python script. You should use the official repo-add way.
I guess that script only omits the FILENAME field and should be easy to fix, but why bother?
I would like to rework that wiki page to only include the repo-add way, we don't need other methods.
( http://wiki.archlinux.org/index.php/Custom_local_repository_with_ABS_and_gensync )
Any user who has problems with repo-add should file a bug report / feature request here.

PS : anything concerning pacman / repo-add / makepkg belongs to the Pacman section, not to the Arch Linux one.

Loading...