Saturday, February 14, 2015

Fedora 18 to Fedora 21 upgrade using FedUp

Moved from Fedora 18 to 21.  I gotta say..pretty smooth.

Read up here:
https://fedoraproject.org/wiki/FedUp#How_Can_I_Upgrade_My_System_with_FedUp.3F
and read up on Common Bugs, as I hit the "Downloading failed: Didn't install any keysbug
http://fedoraproject.org/wiki/Common_F21_bugs

Oops, broken dependencies during FedUp, disabling RPM Fusion repos..

[sodo@monstrous 2014]$ sudo fedup --disablerepo rpmfusion-free --disablerepo rpmfusion-nonfree --disablerepo rpmfusion-nonfree-updates  --disablerepo rpmfusion-nonfree-updates-testing  --disablerepo rpmfusion-free-updates  --disablerepo rpmfusion-free-updates-testing --network 21
setting up repos...
getting boot images...
.treeinfo.signed                                                                                                                                             | 2.1 kB  00:00:00     
setting up update...
finding updates 100% [=============================================================================================================================================================]
WARNING: potential problems with upgrade
  audacious-plugins-freeworld-mms-3.3.4-1.fc18.x86_64 (no replacement) requires audacious-libs-3.3.4-2.fc18.x86_64 (replaced by audacious-libs-3.5.2-1.fc21.x86_64)
  gstreamer1-plugins-ugly-1.0.10-1.fc18.x86_64 (no replacement) requires libcdio-0.83-5.fc18.x86_64 (replaced by libcdio-0.92-3.fc21.x86_64)
  OpenEXR_Viewers-nonfree-1.0.2-10.fc18.x86_64 (no replacement) requires OpenEXR-libs-1.7.1-1.fc18.x86_64 (replaced by OpenEXR-libs-2.1.0-5.fc21.x86_64)
  OpenEXR_Viewers-nonfree-1.0.2-10.fc18.x86_64 (no replacement) requires ilmbase-1.0.3-4.fc18.x86_64 (replaced by ilmbase-2.1.0-3.fc21.x86_64)
  gstreamer-plugins-ugly-0.10.19-5.fc18.x86_64 (no replacement) requires libcdio-0.83-5.fc18.x86_64 (replaced by libcdio-0.92-3.fc21.x86_64)
  librtmp-2.4-0.2.20110811gitc58cfb3e.fc17.x86_64 (no replacement) requires gnutls-2.12.23-2.fc18.x86_64 (replaced by gnutls-3.3.12-1.fc21.x86_64)
  audacious-plugins-freeworld-ffaudio-3.3.4-1.fc18.x86_64 (no replacement) requires audacious-libs-3.3.4-2.fc18.x86_64 (replaced by audacious-libs-3.5.2-1.fc21.x86_64)
  vlc-core-2.0.9-1.fc18.x86_64 (no replacement) requires libgcrypt-1.5.3-1.fc18.x86_64 (replaced by libgcrypt-1.6.1-7.fc21.x86_64)
  librtmp-2.4-0.2.20110811gitc58cfb3e.fc17.x86_64 (no replacement) requires libgcrypt-1.5.3-1.fc18.x86_64 (replaced by libgcrypt-1.6.1-7.fc21.x86_64)
  mplayer-1.1-4.20121008svn.fc18.x86_64 (no replacement) requires libass-0.10.1-2.fc18.x86_64 (replaced by libass-0.12.0-1.fc21.x86_64)
  vlc-core-2.0.9-1.fc18.x86_64 (no replacement) requires libmatroska-1.3.0-3.fc18.x86_64 (replaced by libmatroska-1.4.2-1.fc21.x86_64)
  vlc-core-2.0.9-1.fc18.x86_64 (no replacement) requires gnutls-2.12.23-2.fc18.x86_64 (replaced by gnutls-3.3.12-1.fc21.x86_64)
  vcdimager-0.7.24-5.fc18.x86_64 (no replacement) requires libcdio-0.83-5.fc18.x86_64 (replaced by libcdio-0.92-3.fc21.x86_64)
  audacious-plugins-freeworld-aac-3.3.4-1.fc18.x86_64 (no replacement) requires audacious-libs-3.3.4-2.fc18.x86_64 (replaced by audacious-libs-3.5.2-1.fc21.x86_64)
  mjpegtools-gui-2.0.0-5.fc18.x86_64 (no replacement) requires SDL_gfx-2.0.22-3.fc18.x86_64 (replaced by SDL_gfx-2.0.25-2.fc21.x86_64)
  vcdimager-libs-0.7.24-5.fc18.x86_64 (no replacement) requires libcdio-0.83-5.fc18.x86_64 (replaced by libcdio-0.92-3.fc21.x86_64)
  vlc-core-2.0.9-1.fc18.x86_64 (no replacement) requires libebml-1.2.2-3.fc18.x86_64 (replaced by libebml-1.3.1-1.fc21.x86_64)
  mencoder-1.1-4.20121008svn.fc18.x86_64 (no replacement) requires libcdio-0.83-5.fc18.x86_64 (replaced by libcdio-0.92-3.fc21.x86_64)
  ffmpeg-libs-1.0.8-1.fc18_fozz.x86_64 (no replacement) requires gnutls-2.12.23-2.fc18.x86_64 (replaced by gnutls-3.3.12-1.fc21.x86_64)
  ffmpeg-libs-1.0.8-1.fc18_fozz.x86_64 (no replacement) requires libass-0.10.1-2.fc18.x86_64 (replaced by libass-0.12.0-1.fc21.x86_64)
  normalize-0.7.7-6.fc17.x86_64 (no replacement) requires 1:audiofile-0.2.7-4.fc18.x86_64 (replaced by 1:audiofile-0.3.6-4.fc21.x86_64)
  avidemux-libs-2.6.4-5.fc18.x86_64 (no replacement) requires libass-0.10.1-2.fc18.x86_64 (replaced by libass-0.12.0-1.fc21.x86_64)
  vlc-core-2.0.9-1.fc18.x86_64 (no replacement) requires libass-0.10.1-2.fc18.x86_64 (replaced by libass-0.12.0-1.fc21.x86_64)
  audacious-plugins-freeworld-mp3-3.3.4-1.fc18.x86_64 (no replacement) requires audacious-libs-3.3.4-2.fc18.x86_64 (replaced by audacious-libs-3.5.2-1.fc21.x86_64)
  mplayer-1.1-4.20121008svn.fc18.x86_64 (no replacement) requires libcdio-0.83-5.fc18.x86_64 (replaced by libcdio-0.92-3.fc21.x86_64)
  ffmpeg-libs-1.0.8-1.fc18_fozz.x86_64 (no replacement) requires libgcrypt-1.5.3-1.fc18.x86_64 (replaced by libgcrypt-1.6.1-7.fc21.x86_64)
  mencoder-1.1-4.20121008svn.fc18.x86_64 (no replacement) requires libass-0.10.1-2.fc18.x86_64 (replaced by libass-0.12.0-1.fc21.x86_64)
  gstreamer1-plugins-bad-freeworld-1.0.10-1.fc18.x86_64 (no replacement) requires gnutls-2.12.23-2.fc18.x86_64 (replaced by gnutls-3.3.12-1.fc21.x86_64)
verify local files 100% [==========================================================================================================================================================]
testing upgrade transaction
rpm transaction 100% [=============================================================================================================================================================]
rpm install 100% [=================================================================================================================================================================]
setting up system for upgrade
WARNING: problems were encountered during transaction test:
  broken dependencies
    librtmp-2.4-0.2.20110811gitc58cfb3e.fc17.x86_64 requires libgcrypt-1.5.3-1.fc18.x86_64, gnutls-2.12.23-2.fc18.x86_64
    vlc-core-2.0.9-1.fc18.x86_64 requires libass-0.10.1-2.fc18.x86_64, libgcrypt-1.5.3-1.fc18.x86_64, libebml-1.2.2-3.fc18.x86_64, gnutls-2.12.23-2.fc18.x86_64, libmatroska-1.3.0-3.fc18.x86_64
    audacious-plugins-freeworld-ffaudio-3.3.4-1.fc18.x86_64 requires audacious-libs-3.3.4-2.fc18.x86_64
    vcdimager-0.7.24-5.fc18.x86_64 requires libcdio-0.83-5.fc18.x86_64
    audacious-plugins-freeworld-aac-3.3.4-1.fc18.x86_64 requires audacious-libs-3.3.4-2.fc18.x86_64
    gstreamer-plugins-ugly-0.10.19-5.fc18.x86_64 requires libcdio-0.83-5.fc18.x86_64
    normalize-0.7.7-6.fc17.x86_64 requires audiofile-1:0.2.7-4.fc18.x86_64
    ffmpeg-libs-1.0.8-1.fc18_fozz.x86_64 requires libass-0.10.1-2.fc18.x86_64, libgcrypt-1.5.3-1.fc18.x86_64, gnutls-2.12.23-2.fc18.x86_64
    mjpegtools-gui-2.0.0-5.fc18.x86_64 requires SDL_gfx-2.0.22-3.fc18.x86_64
    vcdimager-libs-0.7.24-5.fc18.x86_64 requires libcdio-0.83-5.fc18.x86_64
    OpenEXR_Viewers-nonfree-1.0.2-10.fc18.x86_64 requires OpenEXR-libs-1.7.1-1.fc18.x86_64, ilmbase-1.0.3-4.fc18.x86_64
    audacious-plugins-freeworld-mp3-3.3.4-1.fc18.x86_64 requires audacious-libs-3.3.4-2.fc18.x86_64
    audacious-plugins-freeworld-mms-3.3.4-1.fc18.x86_64 requires audacious-libs-3.3.4-2.fc18.x86_64
    gstreamer1-plugins-bad-freeworld-1.0.10-1.fc18.x86_64 requires gnutls-2.12.23-2.fc18.x86_64
    avidemux-libs-2.6.4-5.fc18.x86_64 requires libass-0.10.1-2.fc18.x86_64
    gstreamer1-plugins-ugly-1.0.10-1.fc18.x86_64 requires libcdio-0.83-5.fc18.x86_64
    mplayer-1.1-4.20121008svn.fc18.x86_64 requires libass-0.10.1-2.fc18.x86_64, libcdio-0.83-5.fc18.x86_64
    mencoder-1.1-4.20121008svn.fc18.x86_64 requires libass-0.10.1-2.fc18.x86_64, libcdio-0.83-5.fc18.x86_64
Continue with the upgrade at your own risk.


Full list of packages without updates:
Packages without updates:
  a52dec-0.7.4-16.fc17.x86_64
  a52dec-devel-0.7.4-16.fc17.x86_64
  adobe-release-x86_64-1.0-1.noarch
  aic94xx-firmware-30-4.fc18.noarch
  automake14-1.4p6-23.fc18.noarch
  automake17-1.7.9-17.fc18.noarch
  btparser-0.25-1.fc18.x86_64
  celt-0.11.1-4.fc18.x86_64
  celt-devel-0.11.1-4.fc18.x86_64
  easymock2-2.5.2-7.fc18.noarch
  faac-1.28-4.fc17.x86_64
  faac-devel-1.28-4.fc17.x86_64
  firstboot-18.7-1.fc18.x86_64
  freetype-freeworld-2.4.10-4.fc18.x86_64
  google-chrome-stable-40.0.2214.111-1.x86_64
  google-earth-stable-7.1.2.2041-0.x86_64
  google-talkplugin-5.40.2.0-1.x86_64
  gstreamer-ffmpeg-0.10.13-10.fc18.x86_64
  gstreamer1-libav-1.0.10-1.fc18.x86_64
  jre-1.7.0_40-fcs.x86_64
  kernel-3.11.10-100.fc18.x86_64
  kernel-3.11.7-100.fc18.x86_64
  kernel-devel-3.11.10-100.fc18.x86_64
  kernel-devel-3.11.7-100.fc18.x86_64
  kernel-modules-extra-3.11.10-100.fc18.x86_64
  kernel-modules-extra-3.11.7-100.fc18.x86_64
  lame-3.99.5-1.fc18.x86_64
  lame-devel-3.99.5-1.fc18.x86_64
  lame-libs-3.99.5-1.fc18.x86_64
  libCg-3.1.0013-2.fc18.x86_64
  libdca-0.0.5-6.fc17.x86_64
  libdvbpsi-0.2.2-2.fc17.x86_64
  libdvbpsi-devel-0.2.2-2.fc17.x86_64
  libgssglue-0.4-1.fc18.x86_64
  libmad-0.15.1b-15.fc18.x86_64
  libmimic-1.0.4-5.fc17.x86_64
  libmms-0.6.2-2.fc18.x86_64
  libmpeg2-0.5.1-9.fc17.x86_64
  libmpg123-1.14.4-1.fc18.x86_64
  live555-0-0.38.2012.10.18.fc18.x86_64
  mac-libs-3.99-9.u4b5.fc17.x86_64
  mjpegtools-devel-2.0.0-5.fc18.x86_64
  mjpegtools-libs-2.0.0-5.fc18.x86_64
  mplayer-common-1.1-4.20121008svn.fc18.x86_64
  msttcorefonts-2.5-1.noarch
  nvidia-settings-319.32-1.fc18.x86_64
  nvidia-xconfig-319.32-1.fc18.x86_64
  opencore-amr-0.1.3-2.fc18.x86_64
  rpmfusion-free-release-18-3.noarch
  rpmfusion-nonfree-release-18-3.noarch
  twolame-libs-0.3.13-2.fc17.x86_64
  uade-2.13-3.fc17.x86_64
  vo-amrwbenc-0.1.2-1.fc18.x86_64
  x264-devel-0.128-2.20121118gitf6a8615.fc18.x86_64
  x264-libs-0.128-2.20121118gitf6a8615.fc18.x86_64
  xfce4-websearch-plugin-0.1.1-0.18.20070428svn2704.fc18.x86_64
  xmms-mp3-1.2.11-4.20071117cvs.fc17.x86_64
  xmms-uade-2.13-3.fc17.x86_64
  xmms-xmp-3.5.0-3.fc18.x86_64
  xmmsctrl-1.8-9.fc18.x86_64
  xvidcore-1.3.2-3.fc17.x86_64
  xvidcore-devel-1.3.2-3.fc17.x86_64
  y4mscaler-9.0-11.fc17.x86_64
  1:anaconda-yum-plugins-1.0-8.fc18.noarch
  1:faad2-2.7-2.fc17.x86_64
  1:faad2-devel-2.7-2.fc17.x86_64
  1:faad2-libs-2.7-2.fc17.x86_64
  1:xmms-faad2-2.7-2.fc17.x86_64

Delete some problem children before starting upgrade..
[sodo@monstrous ~]$ cat zapDepsProblemsExe.sh 
sudo yum remove librtmp-2.4-0.2.20110811gitc58cfb3e.fc17.x86_64 \
vlc-core-2.0.9-1.fc18.x86_64 \
audacious-plugins-freeworld-ffaudio-3.3.4-1.fc18.x86_64 \
vcdimager-0.7.24-5.fc18.x86_64 \
audacious-plugins-freeworld-aac-3.3.4-1.fc18.x86_64 \
gstreamer-plugins-ugly-0.10.19-5.fc18.x86_64 \
normalize-0.7.7-6.fc17.x86_64 \
ffmpeg-libs-1.0.8-1.fc18_fozz.x86_64 \
mjpegtools-gui-2.0.0-5.fc18.x86_64 \
vcdimager-libs-0.7.24-5.fc18.x86_64 \
OpenEXR_Viewers-nonfree-1.0.2-10.fc18.x86_64 \
audacious-plugins-freeworld-mp3-3.3.4-1.fc18.x86_64 \
audacious-plugins-freeworld-mms-3.3.4-1.fc18.x86_64 \
gstreamer1-plugins-bad-freeworld-1.0.10-1.fc18.x86_64 \
avidemux-libs-2.6.4-5.fc18.x86_64 \
gstreamer1-plugins-ugly-1.0.10-1.fc18.x86_64 \
mplayer-1.1-4.20121008svn.fc18.x86_64 \
mencoder-1.1-4.20121008svn.fc18.x86_64 


Let's give it a shot
..
..
..upgrade worked!  Took about 1/2 hour

Had a strange problem with my keyboard only working from an older USB port.  Weird.

And I had to reinstall some apps.
[sodo@monstrous ~]$ cat restOfProgs.sh 
sudo yum install  a52dec \
  a52dec-devel \
  adobe-release-x86_64 \
  automake* \
  btparser \
  faac \
  faac-devel \
  firstboot \
  freetype-freeworld \
  google-earth-stable \
  google-talkplugin \
  gstreamer-ffmpeg \
  gstreamer1-libav \
  lame \
  lame-devel \
  lame-libs \
  libCg \
  libdca \
  libdvbpsi \
  libdvbpsi-devel \
  libgssglue \
  libmad \
  libmimic \
  libmms \
  libmpeg2 \
  libmpg123 \
  live555 \
  mac-libs \
  mjpegtools-devel \
  mjpegtools-libs \
  mplayer \
  mplayer-common \
  msttcorefonts \
  opencore-amr \
  twolame-libs \
  uade \
  vo-amrwbenc \
  x264-devel \
  x264-libs \
  xmms-mp3 \
  xmms-uade \
  xmms-xmp \
  xmmsctrl \
  xvidcore \
  xvidcore-devel \
  y4mscaler \
  faad2 \
  faad2-devel \
  faad2-libs \
  xmms-faad2 
[sodo@monstrous ~]$ cat ffmpegDeps.sh 
yum install libcdio-paranoia-devel \ 
ocl-icd-devel \
opencl-headers \ 
soxr-devel \
x265-devel


Now rebuild FFmpeg from my old instructions here:
http://crazedmuleproductions.blogspot.com/2010/02/fedora-12-x86-64-cinelerra-install.html

Worked, but a little libx264 version mismatch, so let's link the older static object to the new one..
[sodo@monstrous x86_64]$ ffmpeg -i Downloads/StormPigs20141227.mp4 test.wmv
ffmpeg: error while loading shared libraries: libx264.so.128: cannot open shared object file: No such file or directory
[sodo@monstrous x86_64]$ sudo ln -s /usr/lib64/libx264.so /usr/lib64/libx264.so.128
[sudo] password for sodo: 
[sodo@monstrous x86_64]$ ll /usr/lib64/libx264*
lrwxrwxrwx 1 root root      17 Dec 22 10:51 /usr/lib64/libx26410b.so -> libx26410b.so.142
-rw-r--r-- 1 root root  885768 Dec 22 10:51 /usr/lib64/libx26410b.so.142
lrwxrwxrwx 1 root root      14 Dec 22 10:51 /usr/lib64/libx264.so -> libx264.so.142
lrwxrwxrwx 1 root root      21 Feb 14 18:55 /usr/lib64/libx264.so.128 -> /usr/lib64/libx264.so
-rw-r--r-- 1 root root 1034936 Dec 22 10:51 /usr/lib64/libx264.so.142

All good.  FFmpeg works.

Update some progs dependent upon FFmpeg:
[sodo@monstrous ~]$ cat ffmpegDeps.sh 
yum install libcdio-paranoia-devel \ 
ocl-icd-devel \
opencl-headers \ 
soxr-devel \
x265-devel \
libquicktime \
mencoder \
mjpegtools-lav \
mplayer \
vlc \
vlc-core \
vlc-devel \
vlc-extras \
vlc-plugin-jack \
x264* 

We'll hafta see how it goes from here, but no odd audio problems, which I usually get and video plays fine.  Maybe Linux is grown up!

Other issues
After F21 upgrade, vmware 7.0 player borked: /lib64/libgcrypt.so.11: version `GCRYPT_1.2' not found. Older ver here: http://bit.ly/1Arz3Z5

Cinelerra 4.6 HV on Fedora21 immediately segfaults.Biggest thing: QA & lock down to test on 1 distro..clearly state what distro is supported..OpenGL the cause, move to X11-XV.

Fedora 21 upgrade broke Cinelerra Monty: vdevicebuz.C: error: ‘memcpy’ was not declared in this scope, fix here: http://bit.ly/1ECEtA8

Lost my FFmpeg presets: http://bit.ly/1yHRoMp

Chrome v 40.0.2214.111 tabs hang using Fedora 21. Delete .default/chrome helped, also tried downgraded to v39 seems to fix. Not first time I've had issues with Linux Chrome.


'sodo
Feel free to drop me a line or ask me a question.