Bug 771649

Summary: Fonts are downloaded during upgrade after all the packages are installed and therefor fails
Product: [openSUSE] openSUSE 12.2 Reporter: David Kerkhof <dutchkind>
Component: YaST2Assignee: E-mail List <gnome-bugs>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: ncutler, pgajdos
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 12.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Kerkhof 2012-07-16 12:36:02 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1

During the upgrade/update process using zypper all packages are downloaded and then installed, except some fonts, as it appears. When all packages were installed my networkmanager in KDE stopped working until next reboot, so there was no more network available, and then the update process tried to connect again to download the fonts, which obviously failed. Wouldn't it be easier to include this download in the first download of all the other packages?

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Comment 1 Petr Gajdos 2012-07-23 09:36:22 UTC
I think network connection should not break during update, nevertheless I don't know where the problem lies. Vincent, I am not sure if you are the right person to assign to.
Comment 2 Vincent Untz 2012-07-23 09:48:05 UTC
I'm assuming you've kept the default configuration for libzypp (download everything first, then install). If yes, sounds more like a libzypp issue. If not, then it might not even be a bug.
Comment 3 Michael Andres 2012-07-23 14:57:30 UTC
I suppose this is /var/adm/update-scripts/fetchmsttfonts-* being executed.

Packages are allowed to install post-transaction scripts in /var/adm/update-scripts. Zypp will execute them at the end of a transaction. Any issues with those scripts belong to the package maintainer.

But as Petr said, then network connection should not break during update.
Maybe someone can figure out why the network broke.
Comment 4 David Kerkhof 2012-08-04 07:07:24 UTC
Ok, I understand this. This time during update to RC2 the networkmanager didn't break but it was disconnected while installing the packages. Because of the circumstances, bad connection and certain login requirements, I couldn't connect anymore so told the fetchmsttfonts to leave it. I assume all those fonts have been downloaded during all the previous installs in subsequent upgrades. Still, update wise it would be nice to download what is needed before installing packages, also those custom ones.
Comment 5 Kun Kun Zhang 2012-08-13 02:53:24 UTC
Hi,Libi,could you please help to have a look at this? I am not very sure whether it is right to assign it to you.Feel free to reassign it.Thanks.
Comment 6 Bin Li 2012-10-10 07:12:40 UTC
Reassign to Yast team.
Comment 7 Jiri Srain 2012-11-05 12:07:39 UTC
Not a YaST/ZYPP bug.

Fonts are issue of the way patch is created.

Dosconnected network is issue of one of the packages involved in the update, libzypp does not disconnect.
Comment 8 Nathan Cutler 2017-08-13 20:58:10 UTC
Unknown issue. openSUSE 12.2 is out of maintenance, so closing as WONTFIX for 12.2. If you can still reproduce in a recent version of openSUSE, go ahead and open a new bug.
Comment 9 Nathan Cutler 2017-08-13 20:59:59 UTC
(Reproducing this would probably be difficult since it would involve simulating a network failure for every package being updated?)