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#24707 - grub2-bios fails to install, pacman error?

Attached to Project: Arch Linux
Opened by Jonathan Frazier (wide-eye) - Sunday, 12 June 2011, 23:46 GMT
Last edited by Andrea Scarpino (BaSh) - Monday, 13 June 2011, 13:12 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

when attempting to install grub2-bios, it fails to use grub2-common as its dependency.

# pacman -S grub2-bios
resolving dependencies...
warning: cannot resolve "grub2-common=1.99", a dependency of "grub2-bios"
:: The following package cannot be upgraded due to unresolvable dependencies:
grub2-bios

# pacman -Si grub2-bios
Repository : testing
Name : grub2-bios
Version : 1:1.99-2
URL : http://www.gnu.org/software/grub/
Licenses : GPL3
Groups : None
Provides : grub2
Depends On : grub2-common=1.99
Optional Deps : None
Conflicts With : None
Replaces : grub2
Download Size : 650.86 K
Installed Size : 2468.00 K
Packager : Ronald van Haren <ronald@archlinux.org>
Architecture : x86_64
Build Date : Sun 12 Jun 2011 06:23:24 AM EDT
MD5 Sum : 9b3848e5183d1872cf5e488c1a809032
Description : The GNU GRand Unified Bootloader version 2 - Built for PC BIOS

# pacman -Si grub2-common
Repository : testing
Name : grub2-common
Version : 1:1.99-2
URL : http://www.gnu.org/software/grub/
Licenses : GPL3
Groups : None
Provides : None
Depends On : xz freetype2 device-mapper gettext texinfo
Optional Deps : None
Conflicts With : grub
Replaces : None
Download Size : 1250.34 K
Installed Size : 5924.00 K
Packager : Ronald van Haren <ronald@archlinux.org>
Architecture : x86_64
Build Date : Sun 12 Jun 2011 06:23:16 AM EDT
MD5 Sum : 362603b50747cf56f4afa6816118438c
Description : The GNU GRand Unified Bootloader version 2 - Files common for all platforms
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Monday, 13 June 2011, 13:12 GMT
Reason for closing:  Fixed
Additional comments about closing:   FS#24696 
Comment by Dave Reisner (falconindy) - Sunday, 12 June 2011, 23:54 GMT
Is this perhaps a pacman issue? The epoch versioning is our own in house versioning schema which shouldn't affect pacman's ability to resolve this dep. 1.99 is 1.99 regardless of whether its labelled by us as 1.99 or 1:1.99. An epoch value should be considered very much different from the pkgrel, which must be honored in a depend.
Comment by Frederic Bezies (fredbezies) - Monday, 13 June 2011, 04:21 GMT
I have the same problem here. I talked about it in archlinux forums. Will "blacklist" grub2 until this issue is fixed.
Comment by Kevin Arthur (thetoothpick) - Monday, 13 June 2011, 07:26 GMT
Could it be that the package requires "grub2-common=1.99", when the latest testing version is "1.99-2" (note the "-2")?
Comment by Anonymous Submitter - Monday, 13 June 2011, 08:05 GMT
The 1.99-2 (pkgrel=2) has worked before with 1.99~rc1 and 1.99~rc2 packages. Its definitely the epoch value which is creating the problem. For some reason pacman does not consider grub2-common-1:1.99-2 as being equal to grub2-common=1.99 .
Comment by Anonymous Submitter - Monday, 13 June 2011, 08:08 GMT Comment by Kevin Arthur (thetoothpick) - Monday, 13 June 2011, 09:24 GMT
From the PACBUILD(5) manpage (http://www.archlinux.org/pacman/PKGBUILD.5.html):

"epoch:
... the default value if left unspecified is 0."

That might be taken slightly out of context, but it seems like pacman would read "grub2-common=1.99" as "grub2-common=0:1.99" if no epoch was specified, and since version comparison would treat 1:1.99 as a higher version than 0:1.99, it probably wouldn't consider them equal.
Comment by Anarconda (Anarconda) - Monday, 13 June 2011, 11:56 GMT
I have this problem even with todays version in extra:

extra/grub2-bios 1:1.99-3
The GNU GRand Unified Bootloader version 2 - Built for PC BIOS

TIA.

Loading...