seth vidal wrote:
>For yum, it would be nice if you could yum -y update and get the
>updates. The problem is that it had over 100 rpms that it could
>successfully update if it would do its best. Up2date does the same
>thing, so not really an up2date vs. yum issue. With a customized and
>manually edited script, I could get yum to do what I wanted by using the
>information related to what up2date was trying to install.
I keep suggesting you use the yum shell and you don't seem to have tried
it.
Try this, please:
yum shell
>update
>transaction solve
<some error occurs here>
>exclude package-that-causes-error
>update
>transaction solve
<no errors>
>run
>quit
ta da!
-sv
I tried the shell and it did not show any conflicting programs. It
installed all of the packages that were held up because of a multimedia
program using an older flac library conflicted with the newer version.
The programs still works but I do not have any flac formatted files to
see if they error. The DVDs still work.
Stumbling around in the shell, I got by with this transaction.
Thanks Seth. This should be a useful feature when it is further
developed. The exclude package-that-causes-error below was added to a
single > prompt that was returned. I figure that you would exclude k3b
instead of the literal in your posting. Of coarse, I had to try the
literal at the > prompt.
Jim
yum shell
Setting up Yum Shell
transaction solve
--> Populating transaction set with
selected packages. Please wait.
--> Running transaction check
exclude package-that-causes-error
commands: clean, config, exit, groupinfo, groupinstall, grouplist,
groupremove, groupupdate, info, install, list,
localinstall, makecache, provides, quit, remove,
repo, run, search, transaction, update
transaction
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
transaction update
transaction arg
list: lists the contents of the transaction
reset: reset (zero-out) the transaction
solve: run the dependency solver on the transaction
run: run the transaction
transaction list
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
transaction solve
--> Populating transaction set with
selected packages. Please wait.
--> Running transaction check
run
transaction solve
--> Populating
transaction set with selected packages. Please wait.
--> Running transaction check
transaction
Transaction Summary
=============================================================================
Install 0 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
update
Setting up Update Process
Setting up repositories
development 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 955 kB 00:22
developmen: ################################################## 3491/3491
Added 3491 new packages, deleted 0 old in 61.94 seconds
run
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
cryptsetup-luks i386 1.0-1 development
421 k
replacing cryptsetup.i386 0.1-4
Updating:
flac i386 1.1.2-24 development
291 k
flac-devel i386 1.1.2-24 development
734 k
gstreamer-plugins i386 0.8.8-5 development
1.4 M
gstreamer-plugins-deve i386 0.8.8-5 development
35 k
k3b i386 0.11.23-2 development
5.8 M
kdemultimedia i386 6:3.4.0-2 development
6.8 M
kdemultimedia-devel i386 6:3.4.0-2 development
143 k
libmusicbrainz i386 2.1.1-1 development
195 k
sound-juicer i386 2.10.1-1 development
346 k
vorbis-tools i386 1:1.0.1-6 development
189 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 10 Package(s)
Remove 0 Package(s)
Total download size: 16 M
Is this ok [y/N]: y
Downloading Packages:
<snip> transaction test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
<snip> installing
Removing : cryptsetup ####################### [20/22]
Cleanup : libmusicbrainz ####################### [21/22]
Cleanup : flac-devel ####################### [22/22]
Installed: cryptsetup-luks.i386 0:1.0-1
Updated: flac.i386 0:1.1.2-24 flac-devel.i386 0:1.1.2-24
gstreamer-plugins.i386 0:0.8.8-5 gstreamer-plugins-devel.i386 0:0.8.8-5
k3b.i386 0:0.11.23-2 kdemultimedia.i386 6:3.4.0-2
kdemultimedia-devel.i386 6:3.4.0-2 libmusicbrainz.i386 0:2.1.1-1
sound-juicer.i386 0:2.10.1-1 vorbis-tools.i386 1:1.0.1-6
Replaced: cryptsetup.i386 0:0.1-4
Finished Transaction
quit
Leaving Shell
<running yum again for test>
yum update
Setting up Update Process
Setting up repositories
development 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 955 kB 00:03
developmen: ################################################## 3491/3491
Added 6 new packages, deleted 6 old in 17.10 seconds
No Packages marked for Update/Obsoletion