ssri
August 21st, 2009, 03:32 AM
When I looked at the steaming remnants left over from my sad attempt at upgrading a perfectly working Kubuntu Intrepid install to KDE 4.3.0 via Kubuntu's PPA, I performed a clean install/upgrade of Kubuntu Jaunty. I disliked the version of amarok2 that came with the Jaunty, so I found a ppa for amarok 1.4.10 (https://edge.launchpad.net/~bogdanb/+archive/amarok14/) and promptly installed it.
I cheered that his amarok 1.4.10 (amarok14) compile played m4a's perfectly and how he fixed the wiki lookup bug from Intrepid's package. However, I was dismayed how amarok14 reduced several of my 24-bit FLACs to blips and squeaks and m4a's cannot be tagged, especially since their genre tags could not be read. The lack of m4a tagging is a story for another day. Anyways, I found out that the FLAC regression was due to the new version of libxine1 used in Jaunty, so I thought the solution was to downgrade jaunty's package to Intrepid's version, where 24-bit FLACs played perfectly. Okay, there is a bit of CLI work here, so hold your breath.
Note: I tested this using Kubuntu Jaunty running KDE 4.3.0. Other multimedia programs like vlc or banshee seem to be unaffected by this downgrade.
Discussion about this bug:
http://bugs.xine-project.org/show_bug.cgi?id=221
###############
1. libcaca0 conflicts with the version of libcucul0 found in Intrepid (< 0.99.beta15), so install the libculul0 version in jaunty (0.99.beta16-1).
sudo apt-get install libculul0
2. Back up your apt sources.list in /etc/apt/ to sources.list~jaunty. Then use my intrepid sources.list that I attached here (tar xvzf intrepid-sources.tar.gz). Note: Those who have both Jaunty and Intrepid repos in their sources.list can ignore this step.
sudo cp /etc/apt/sources.list /etc/apt/sources.list~jaunty
sudo mv (download dir)/sources.list-intrepid /etc/apt/sources.list
3. Update your packages and you should see a steady stream of intrepid repos
sudo apt-get update
4. Now is the time to downgrade libxine1
sudo apt-get install libxine1-misc-plugins=1.1.15* libxine1-plugins=1.1.15* libxine1-ffmpeg=1.1.15* libxine1-bin=1.1.15* libxine1-x=1.1.15* libxine1-console=1.1.15* libxine1=1.1.15*
4a. Here's a list of what's happening
The following extra packages will be installed:
libavcodec-unstripped-51 libmagick10 libx264-59 libxine1 libxine1-bin
libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins
libxine1-x
Suggested packages:
gxine xine-ui libxine1-doc libxine-doc libxine1-gnome
The following NEW packages will be installed:
libavcodec-unstripped-51 libmagick10 libx264-59 libxine1-plugins
The following packages will be DOWNGRADED:
libxine1 libxine1-bin libxine1-console libxine1-ffmpeg
libxine1-misc-plugins libxine1-x
0 upgraded, 4 newly installed, 6 downgraded, 0 to remove and 7 not upgraded.
Need to get 9144kB of archives.
After this operation, 20.3MB of additional disk space will be used.
Do you want to continue [Y/n]?
5. Now you have to pin the packages in apt preferences or in synaptic. I will only give instructions for apt since I mainly use that to manage my packages. For synaptic (I think), simply enter the names of those downgraded packages and go to packages->lock version. Now here's my apt preferences (/etc/apt/preferences). If you do not have a preferences file, simply enter kdesudo kate /etc/apt/preferences or gksudo gedit /etc/apt/preferences
5a. Now enter the packages we want to pin in /etc/apt/preferences
Package: libxine1
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-bin
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-console
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-ffmpeg
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-misc-plugins
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-x
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-plugins
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
6. If you are still in /etc/apt (if not, then "cd /etc/apt/"), then you have to move your Jaunty sources.list back
$sudo rm sources.list
$sudo cp sources.list~jaunty sources.list
7. Now update your package list to jaunty repos. If you run upgrade, you can see that none of your downgraded xine libraries are upgraded back to their jaunty versions. Fire up amarok and enjoy your 24-bit FLACS! :guitar:
8. To revert, simply unlock those packages in synaptic or remove the entries in /etc/apt/preferences. Then simply refresh/update your packages, and the Jaunty versions should be upgraded automatically.
I cheered that his amarok 1.4.10 (amarok14) compile played m4a's perfectly and how he fixed the wiki lookup bug from Intrepid's package. However, I was dismayed how amarok14 reduced several of my 24-bit FLACs to blips and squeaks and m4a's cannot be tagged, especially since their genre tags could not be read. The lack of m4a tagging is a story for another day. Anyways, I found out that the FLAC regression was due to the new version of libxine1 used in Jaunty, so I thought the solution was to downgrade jaunty's package to Intrepid's version, where 24-bit FLACs played perfectly. Okay, there is a bit of CLI work here, so hold your breath.
Note: I tested this using Kubuntu Jaunty running KDE 4.3.0. Other multimedia programs like vlc or banshee seem to be unaffected by this downgrade.
Discussion about this bug:
http://bugs.xine-project.org/show_bug.cgi?id=221
###############
1. libcaca0 conflicts with the version of libcucul0 found in Intrepid (< 0.99.beta15), so install the libculul0 version in jaunty (0.99.beta16-1).
sudo apt-get install libculul0
2. Back up your apt sources.list in /etc/apt/ to sources.list~jaunty. Then use my intrepid sources.list that I attached here (tar xvzf intrepid-sources.tar.gz). Note: Those who have both Jaunty and Intrepid repos in their sources.list can ignore this step.
sudo cp /etc/apt/sources.list /etc/apt/sources.list~jaunty
sudo mv (download dir)/sources.list-intrepid /etc/apt/sources.list
3. Update your packages and you should see a steady stream of intrepid repos
sudo apt-get update
4. Now is the time to downgrade libxine1
sudo apt-get install libxine1-misc-plugins=1.1.15* libxine1-plugins=1.1.15* libxine1-ffmpeg=1.1.15* libxine1-bin=1.1.15* libxine1-x=1.1.15* libxine1-console=1.1.15* libxine1=1.1.15*
4a. Here's a list of what's happening
The following extra packages will be installed:
libavcodec-unstripped-51 libmagick10 libx264-59 libxine1 libxine1-bin
libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-plugins
libxine1-x
Suggested packages:
gxine xine-ui libxine1-doc libxine-doc libxine1-gnome
The following NEW packages will be installed:
libavcodec-unstripped-51 libmagick10 libx264-59 libxine1-plugins
The following packages will be DOWNGRADED:
libxine1 libxine1-bin libxine1-console libxine1-ffmpeg
libxine1-misc-plugins libxine1-x
0 upgraded, 4 newly installed, 6 downgraded, 0 to remove and 7 not upgraded.
Need to get 9144kB of archives.
After this operation, 20.3MB of additional disk space will be used.
Do you want to continue [Y/n]?
5. Now you have to pin the packages in apt preferences or in synaptic. I will only give instructions for apt since I mainly use that to manage my packages. For synaptic (I think), simply enter the names of those downgraded packages and go to packages->lock version. Now here's my apt preferences (/etc/apt/preferences). If you do not have a preferences file, simply enter kdesudo kate /etc/apt/preferences or gksudo gedit /etc/apt/preferences
5a. Now enter the packages we want to pin in /etc/apt/preferences
Package: libxine1
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-bin
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-console
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-ffmpeg
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-misc-plugins
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-x
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
Package: libxine1-plugins
Pin: version 1.1.15-0ubuntu3.3
Pin-Priority: 1001
6. If you are still in /etc/apt (if not, then "cd /etc/apt/"), then you have to move your Jaunty sources.list back
$sudo rm sources.list
$sudo cp sources.list~jaunty sources.list
7. Now update your package list to jaunty repos. If you run upgrade, you can see that none of your downgraded xine libraries are upgraded back to their jaunty versions. Fire up amarok and enjoy your 24-bit FLACS! :guitar:
8. To revert, simply unlock those packages in synaptic or remove the entries in /etc/apt/preferences. Then simply refresh/update your packages, and the Jaunty versions should be upgraded automatically.