Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#26899 - Missing pacman sync database affects offline actions

Attached to Project: Pacman
Opened by Bryce (bruce) - Tuesday, 15 November 2011, 05:16 GMT
Last edited by Dan McGee (toofishes) - Monday, 21 November 2011, 03:31 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity High
Priority Normal
Reported Version 4.0.0
Due in Version 4.0.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
Previously, when a local copy of the pacman sync database was not available it was still possible to perform offline actions (eg pacman -U somefile.pkg.tar.xz), however this is no longer possible. Instead you now receive several errors referring to the unfindable database files, and then pacman completes with an error: "error: failed to prepare transaction (could not find database)"
I believe this has occurred since the version 4 release.

On my netbook, /var/lib/pacman/sync/ is mounted as a ramfs, hence why I find this to be a problem - for example when rebuilding the catalyst module package and reinstalling while offline.

Steps to Reproduce:
rm -rf /var/lib/pacman/sync/*
pacman -U somefile.pkg.tar.xz

This task depends upon

Closed by  Dan McGee (toofishes)
Monday, 21 November 2011, 03:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  commit 9363e7dc22f85c549cd9

Loading...