PDA

View Full Version : That RPM-Build issue


Waggoneer
29th March 2009, 07:55 PM
I guess this is a known issue. But doing a yum clean all and yum --skip-broken didn't get me around the issue.

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository
Size
================================================== ==============================
Updating:
rpm i586 4.7.0-0.beta1.7.fc11 rawhide 1.2 M
rpm-build i586 4.7.0-0.beta1.7.fc11 rawhide 124 k
rpm-devel i586 4.7.0-0.beta1.7.fc11 rawhide 84 k
rpm-libs i586 4.7.0-0.beta1.7.fc11 rawhide 355 k
rpm-python i586 4.7.0-0.beta1.7.fc11 rawhide 48 k
Skipped (dependency problems):
autocorr-en i586 1:3.1.0-7.1.fc11 rawhide 128 k
liberation-fonts-common noarch 1.04.93-10.fc11 rawhide 19 k
liberation-mono-fonts noarch 1.04.93-10.fc11 rawhide 298 k
liberation-sans-fonts noarch 1.04.93-10.fc11 rawhide 348 k
liberation-serif-fonts noarch 1.04.93-10.fc11 rawhide 365 k
openoffice.org-brand i586 1:3.1.0-7.1.fc11 rawhide 449 k
openoffice.org-calc i586 1:3.1.0-7.1.fc11 rawhide 131 k
openoffice.org-calc-core i586 1:3.1.0-7.1.fc11 rawhide 8.4 M
openoffice.org-core i586 1:3.1.0-7.1.fc11 rawhide 96 M
openoffice.org-draw i586 1:3.1.0-7.1.fc11 rawhide 127 k
openoffice.org-draw-core i586 1:3.1.0-7.1.fc11 rawhide 1.1 M
openoffice.org-graphicfilter i586 1:3.1.0-7.1.fc11 rawhide 331 k
openoffice.org-impress i586 1:3.1.0-7.1.fc11 rawhide 131 k
openoffice.org-impress-core i586 1:3.1.0-7.1.fc11 rawhide 1.4 M
openoffice.org-langpack-en i586 1:3.1.0-7.1.fc11 rawhide 111 k
openoffice.org-math i586 1:3.1.0-7.1.fc11 rawhide 121 k
openoffice.org-math-core i586 1:3.1.0-7.1.fc11 rawhide 1.5 M
openoffice.org-pdfimport i586 1:3.1.0-7.1.fc11 rawhide 1.3 M
openoffice.org-presenter-screen i586 1:3.1.0-7.1.fc11 rawhide 1.3 M
openoffice.org-writer i586 1:3.1.0-7.1.fc11 rawhide 135 k
openoffice.org-writer-core i586 1:3.1.0-7.1.fc11 rawhide 6.3 M
openoffice.org-xsltfilter i586 1:3.1.0-7.1.fc11 rawhide 365 k
plymouth-libs i586 0.7.0-0.2009.03.10.2.fc11 rawhide 74 k
plymouth-plugin-label i586 0.7.0-0.2009.03.10.2.fc11 rawhide 21 k
plymouth-plugin-solar i586 0.7.0-0.2009.03.10.2.fc11 rawhide 384 k
plymouth-system-plugin i586 0.7.0-0.2009.03.10.2.fc11 rawhide 17 k

Transaction Summary
================================================== ==============================
Install 0 Package(s)
Update 5 Package(s)
Remove 0 Package(s)

Total size: 1.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/lib/rpm/fontconfig.prov from install of rpm-build-4.7.0-0.beta1.7.fc11.i586 conflicts with file from package fontpackages-filesystem-1.16-2.fc11.noarch

Error Summary
-------------

RahulSundaram
29th March 2009, 10:05 PM
Hi,

# yum remove rpm-build
# yum update
# yum install rpm-build

Waggoneer
30th March 2009, 03:48 AM
Thanks for the reply. I was able to remove rpm-build, I then able to update several packages. I was unable to reinstall rpm-build.

[Jason@lintop ~]$ sudo yum install rpm-build
Loaded plugins: dellsysidplugin2, priorities, refresh-packagekit
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package rpm-build.i586 0:4.7.0-0.beta1.7.fc11 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================== ==============================
Package Arch Version Repository Size
================================================== ==============================
Installing:
rpm-build i586 4.7.0-0.beta1.7.fc11 rawhide 124 k

Transaction Summary
================================================== ==============================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 124 k
Is this ok [y/N]: y
Downloading Packages:
rpm-build-4.7.0-0.beta1.7.fc11.i586.rpm | 124 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
file /usr/lib/rpm/fontconfig.prov from install of rpm-build-4.7.0-0.beta1.7.fc11.i586 conflicts with file from package fontpackages-filesystem-1.16-2.fc11.noarch

Error Summary
-------------

Demz
30th March 2009, 04:01 AM
try thisyum --noplugins install rpm-build

Waggoneer
30th March 2009, 04:18 AM
Here is the results.

[Jason@lintop ~]$ sudo yum --noplugins install rpm-build
[sudo] password for Jason:
adobe-linux-i386 | 951 B 00:00
adobe-linux-i386/primary | 10 kB 00:00
adobe-linux-i386 17/17
rawhide/metalink | 6.7 kB 00:00
rawhide | 3.4 kB 00:00
rawhide/primary_db | 8.0 MB 01:10
http://astromirror.uchicago.edu/rpmfusion/free/fedora/development/i386/os/repodata/repomd.xml: [Errno 4] IOError: <urlopen error [Errno 111] Connection refused>
Trying other mirror.
rpmfusion-free-rawhide | 2.7 kB 00:00
rpmfusion-free-rawhide/primary_db | 328 kB 00:01
rpmfusion-nonfree-rawhide | 2.7 kB 00:00
rpmfusion-nonfree-rawhide/primary_db | 135 kB 00:00
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package rpm-build.i586 0:4.7.0-0.beta1.3.fc11 set to be updated
--> Processing Dependency: rpm = 4.7.0-0.beta1.3.fc11 for package: rpm-build
--> Finished Dependency Resolution
rpm-build-4.7.0-0.beta1.3.fc11.i586 from rawhide has depsolving problems
--> Missing Dependency: rpm = 4.7.0-0.beta1.3.fc11 is needed by package rpm-build-4.7.0-0.beta1.3.fc11.i586 (rawhide)
Error: Missing Dependency: rpm = 4.7.0-0.beta1.3.fc11 is needed by package rpm-build-4.7.0-0.beta1.3.fc11.i586 (rawhide)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest

Demz
30th March 2009, 04:22 AM
did you try using this command package-cleanup --problems

Waggoneer
30th March 2009, 08:09 AM
Here is the results of that command.

[Jason@lintop ~]$ sudo package-cleanup --problems
[sudo] password for Jason:
Setting up yum
Loaded plugins: dellsysidplugin2, priorities, refresh-packagekit
Reading local RPM database
Processing all local requires
Missing dependencies:
Package plymouth-system-plugin requires plymouth(system-plugin) = 0.7.0-0.2009.03.09.1.fc11
Package xorg-x11-drivers requires xorg-x11-drv-keyboard
Package xorg-x11-drivers requires xorg-x11-drv-keyboard
Package openoffice.org-langpack-en requires openoffice.org-core = 1:3.1.0-4.1.fc11
Package liberation-fonts-compat requires liberation-sans-fonts = 1.04.93-10.fc11
Package liberation-fonts-compat requires liberation-serif-fonts = 1.04.93-10.fc11
Package liberation-fonts-compat requires liberation-mono-fonts = 1.04.93-10.fc11

Demz
30th March 2009, 08:12 AM
im sure you have done it wrongyum package-cleanup --problems try that

Waggoneer
30th March 2009, 05:47 PM
That command gives no output. I was able to install xorg-x11-drv-keyboard but the other missing dependencies won't install.

[Jason@lintop ~]$ sudo yum package-cleanup --problems
Loaded plugins: dellsysidplugin2, priorities, refresh-packagekit
Usage: yum [options] COMMAND

List of Commands:

check-update Check for available package updates
clean Remove cached data
deplist List a package's dependencies
erase Remove a package or packages from your system
groupinfo Display details about a package group
groupinstall Install the packages in a group on your system
grouplist List available package groups
groupremove Remove the packages in a group from your system
help Display a helpful usage message
info Display details about a package or group of packages
install Install a package or packages on your system
list List a package or groups of packages
localinstall Install a local RPM
makecache Generate the metadata cache
provides Find what package provides the given value
reinstall reinstall a package
repolist Display the configured software repositories
resolvedep Determine which package provides the given dependency
search Search package details for the given string
shell Run an interactive yum shell
update Update a package or packages on your system
upgrade Update packages taking obsoletes into account


Command line error: no such option: --problems

Waggoneer
30th March 2009, 07:28 PM
I uninstalled the fonts causing the conflict.
I also completely uninstalled openoffice and plymouth-system-plugin so that I could get the new versions.
The problem is solved for me now. I don't know why the newer versions wouldn't install.
I imagine this was some repository issue.

Demz
30th March 2009, 11:57 PM
it may have been

MetaCarpal
31st March 2009, 06:15 AM
I'm betting you had an interrupted update at some point and the some of the old packages didn't get cleaned up. The current version of fontpackages-filesystem for rawhide is 1.20-2.fc11, but your initial error message is showing that you had an older version, even though you were doing updates.

That happened to me a couple times when I was doing updates using gnome-terminal and the terminal flopped mid-update. I'd suggest running:

rpm -qa | grep -v '<ARCH>' | sed 's/-[0-9].*//' | sort | uniq -c | egrep -v '\s*1 '

where <ARCH> is the opposite of your system; 'x86_64' if you're on a 32-bit system, or 'i[356]86' if you're on a 64-bit system.

If anything comes up, you probably have old packages lingering on the around that need to be removed explicitly by version number. Do another "rpm -q" on each package that comes up to find out.

EDIT: Aha - I thought so. This line in your first post is a dead giveaway:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.

Hefei, China Travel Photos - Circo Loco @ DC10 Instagram Photos - Silvio Pettirossi International Airport Travel Photos on Instagram - Tracy Arm