Bug 705018

Summary: pcre-devel can't be installed. Seems to need update.
Product: [Fedora] Fedora Reporter: Murray Cumming <murrayc>
Component: pcreAssignee: Petr Pisar <ppisar>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: lkundrak, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-18 20:41:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Murray Cumming 2011-05-16 12:35:02 UTC
pcre-devel-8.12-2.fc15 can't be installed. Attempting to do so gives this error message:

"
pcre-devel-8.12-2.fc15.i686 requires pcre = 8.12-2.fc15
"

pcre's current version is pcre-8.12-3.fc15.

Comment 1 Petr Pisar 2011-05-16 12:58:33 UTC
Both pcre and pcre-devel in 8.12-3 version has been pushed into testing repository (http://koji.fedoraproject.org/koji/buildinfo?buildID=243083). If it's not so on your local mirror, it's some discrepancy in mirroring process. Please try again or provide more details (e.g. used mirror). I cannot reproduce it.

Comment 2 Murray Cumming 2011-05-16 13:32:01 UTC
(In reply to comment #1)
> it's not so on your local mirror, it's some discrepancy in mirroring process.
> Please try again or provide more details (e.g. used mirror). I cannot reproduce
> it.

Sorry, I'm coming back to Fedora after a long time away and I have no idea how to discover what mirror is being used. It's a regular FC15 install and I'm using the "Software Update" application, which says "There are no software updates available for your computer at this time." and then closes.

I'm using the "Add/Remove Software" application to try to install pcre-devel.


I also tried doing "sudo yum update" on the command line, which gives this slightly odd output:
[murrayc@localhost ~]$ sudo yum upgrade
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
updates-debuginfo/metalink                                                                             |  19 kB     00:00     
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f15&arch=i386 error was 
No repomd file
Setting up Upgrade Process
No Packages marked for Update

Comment 3 Petr Pisar 2011-05-16 13:52:31 UTC
# yum repolist -v

gives you the details. The interesting lines is Repo-baseurl in `Repo-id: updates' paragraph.

You can try re-download repository metadata by

# yum clean metadata && yum makecache

and then try to upgrade/install pcre-devel.

Comment 4 Murray Cumming 2011-05-16 14:02:14 UTC
That showed me that I'm using these mirrors:

Repo-tags    : binary-i386
Repo-baseurl : http://vesta.informatik.rwth-aachen.de/ftp/pub/Linux/fedora/linux

Repo-id      : fedora-debuginfo
Repo-baseurl : http://fedora.tu-chemnitz.de/pub/linux/fedora/linux/development/15/i386/debug/

Repo-id      : updates
Repo-baseurl : http://ftp-stud.hs-esslingen.de/pub/fedora/linux/updates/15/i386/ 

Separate mirrors for related repositories seems unwise, I guess.

> You can try re-download repository metadata by
> 
> # yum clean metadata && yum makecache
> 
> and then try to upgrade/install pcre-devel.

Unfortunately, that did not help. But many thanks for trying to help me with a problem that's not your responsibility at all. I'll give it a day or so to see if works itself out.

Comment 5 Petr Pisar 2011-05-16 14:29:53 UTC
Actually repository you should be interested in is updated-testing. As you can see the updates repository is empty/out-dated now. This is because F15 is in beta state where allmost all updates are hold in updates-testing.

I can reproduce your bug now. It's because last update overwrote /etc/yum.repos.d/fedora-updates-testing.repo effectively disabling the updates-testing repository. So you have installed pcre-8.12-3 from updates-testing but latest available pcre-devel is 8.12-2 from `fedora' repository. And of cource pcre-devel requires the same version of pcre. If you re-enable `updates-testing' in etc/yum.repos.d/fedora-updates-testing.repo file (set enabled=1), you should get the pcre-devel-8.12-3 available back.

Comment 6 Murray Cumming 2011-05-18 20:41:28 UTC
(In reply to comment #5)
> It's because last update overwrote
> /etc/yum.repos.d/fedora-updates-testing.repo effectively disabling the
> updates-testing repository.

> If you re-enable `updates-testing' in etc/yum.repos.d/fedora-updates-testing.repo file
> (set enabled=1), you should get the pcre-devel-8.12-3 available back.

Yes, that worked. Thanks. I hope that has not bitten too many other people.