http://bugzilla.novell.com/show_bug.cgi?id=431854
User dave.plater@yahoo.co.uk added comment
http://bugzilla.novell.com/show_bug.cgi?id=431854#c30
Dave Plater changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |Milestone 8
Summary|Yast2 sw_single should not |Yast2 sw_single and zypper
|exit after an installation |don't handle failed package
|has failed elements - |downloads properly - commit
|commit does not report any |doesn't report an error
|error |
--- Comment #30 from Dave Plater 2009-09-21 00:12:50 MDT ---
If it is thought that nothing like for instance, a major glibc update can go
wrong because it wasn't available, then this bug isn't major but every new
feature buries this bug deeper into the installation system. What is libzypp
going to report if download all before install fails on one package, is the
solver going to be run again?
Zypper also has this problem not just yast, in this case it's only one package
which isn't a problem it could be satsolver-tools in an installation system
update and zypper verify will no longer be available because satsolver-tools
didn't update :-
# zypper -v in whois
Verbosity: 1
Non-option program arguments: 'whois'
Initializing Target
Loading repository data...
Reading installed packages...
Force resolution: Yes
Resolving package dependencies...
Force resolution: Yes
The following package is going to be upgraded:
whois 4.7.33-2.1 -> 4.7.36-1.3
1 package to upgrade.
Overall download size: 58.0 KiB. After the operation, additional 4.0 KiB will
be used.
Continue? [y/n/?] (y):
committing
Retrieving package whois-4.7.36-1.3.x86_64 (1/1), 58.0 KiB (179.0 KiB unpacked)
Retrieving: media [error]
Media source 'http://download.opensuse.org/factory/repo/oss/' does not contain
the desired medium
Abort, retry, ignore? [a/r/i/?] (a): r
Retrieving: whois-4.7.36-1.3.x86_64.rpm [error]
Failed to download ./suse/x86_64/whois-4.7.36-1.3.x86_64.rpm from
http://download.opensuse.org/factory/repo/oss/
Abort, retry, ignore? [a/r/i/?] (a): i
Warning: You have chosen to ignore a problem with download or installation of a
package which might lead to broken dependencies of other packages. It is
recommended to run 'zypper verify' after the operation has finished.
committingCommitResult 1 (errors 0, remaining 0, srcremaining 0)
At least zypper outputs a warning but why doesn't it run verify anyway instead
of displaying the warning and giving the user a choice? Most probably because
libzypp outputs :-
(errors 0, when there is an error, a package selected as part of the
installation wasn't downloaded for some reason, the installation has errors.
What happens if the internet stops halfway through a zypper dup?
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.