You are not logged in.

#1 2008-08-09 12:17:46

11010010110
Member
Registered: 2008-01-14
Posts: 284

Howto : install KDE 3 Noatun in KDE 4 (and probably other apps)

This is continuation of the story from yesterday. Today we will install Noatun in KDE 4. Noatun is my preferred media player from KDE 3.5

The story begins with me waking up on the grass in my home folder next to an uncomplete construction of black plasma panels called KDE 4.1

mkdir system/kde3install

cd kde35/pacman/pkg/

cp arts-1.5.9-2-i686.pkg.tar.gz ~/system/kde3install/

cp kdemultimedia-3.5.9-1-i686.pkg.tar.gz ~/system/kde3install/

cp kdelibs-3.5.9-6-i686.pkg.tar.gz ~/system/kde3install/      

su                                                            

cd /home/ash/system/kde3install/                            

pacman -U arts-1.5.9-2-i686.pkg.tar.gz                                                                   
loading package data...                                                                                            
checking dependencies...                                                                                           
error: failed to prepare transaction (could not satisfy dependencies)                                              
:: arts: requires kde-common>=3.5.9                                                                                

cp -p /var/cache/pacman/pkg/kde-common-3.5.9-2-i686.pkg.tar.gz ./

pacman -U kde-common-3.5.9-2-i686.pkg.tar.gz                                
loading package data...                                                                                            
checking dependencies...                                                                                           
error: replacing packages with -U is not supported yet                                                             
error: you can replace packages manually using -Rd and -U                                                          
error: failed to prepare transaction (conflicting dependencies)                                                    
:: kde-common: conflicts with kdebase-workspace                                                                    

pacman -fU kde-common-3.5.9-2-i686.pkg.tar.gz                        
loading package data...                                                                                     
checking dependencies...                                                                                    
error: replacing packages with -U is not supported yet                                                      
error: you can replace packages manually using -Rd and -U                                                   
error: failed to prepare transaction (conflicting dependencies)                                             
:: kde-common: conflicts with kdebase-workspace                                                             

pacman -dR kdebase-workspace
(1/1) removing kdebase-workspace                    [###########################################################################################] 100%
warning: /usr/share/config/kdm/kdmrc saved as /usr/share/config/kdm/kdmrc.pacsave                                                                     

pacman -U /home/ash/system/kde3install/kde-common-3.5.9-2-i686.pkg.tar.gz 
loading package data...                                                             
checking dependencies...                                                            
(1/1) checking for file conflicts                   [###########################################################################################] 100%
(1/1) installing kde-common                         [###########################################################################################] 100%
For more info on KDE please have a look at:                                                                                                           
'http://wiki.archlinux.org/index.php/KDE'                                                                                                             

pacman -S kdebase-workspace
resolving dependencies...            
looking for inter-conflicts...       
:: kdebase-workspace conflicts with kde-common. Remove kde-common? [Y/n] n
error: unresolvable package conflicts detected                            
error: failed to prepare transaction (conflicting dependencies)           
:: kdebase-workspace: conflicts with kde-common                           

vi /var/lib/pacman/sync/extra/kdebase-workspace-4.1.0-5/desc 
vi /var/lib/pacman/sync/extra/kdebase-workspace-4.1.0-5/depends 
# removed kde-common from conflicts

pacman -S kdebase-workspace
resolving dependencies...            
looking for inter-conflicts...       
Targets (1): kdebase-workspace-4.1.0-5  
Total Download Size:    0.00 MB
Total Installed Size:   90.41 MB
Proceed with installation? [Y/n] Y
checking package integrity...     
(1/1) checking for file conflicts                   [###########################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
kdebase-workspace: /etc/pam.d/kde exists in filesystem
kdebase-workspace: /etc/pam.d/kde-np exists in filesystem
kdebase-workspace: /etc/rc.d/kdm exists in filesystem
Errors occurred, no packages were upgraded.

pacman -fS kdebase-workspace
resolving dependencies...
looking for inter-conflicts...
Targets (1): kdebase-workspace-4.1.0-5
Total Download Size:    0.00 MB
Total Installed Size:   90.41 MB
Proceed with installation? [Y/n] y
checking package integrity...
(1/1) installing kdebase-workspace                  [###########################################################################################] 100%

pacman -U arts-1.5.9-2-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [###########################################################################################] 100%
(1/1) installing arts                               [###########################################################################################] 100%

pacman -U kdemultimedia-3.5.9-1-i686.pkg.tar.gz
loading package data...
checking dependencies...
(1/1) checking for file conflicts                   [###########################################################################################] 100%
(1/1) upgrading kdemultimedia                       [###########################################################################################] 100%

exit

noatun
noatun: error while loading shared libraries: libartskde.so.1: cannot open shared object file: No such file or directory

Issue resolved by extracting the files libartskde* (4 files) from kdelibs package and placing them manually in /opt/kde/lib and noatun works !

Note : some of the actions may break pacman or KDE




Basically whate do is

Uninstall KDE 4 package

Install KDE 3 package

Remove the conflict information from the KDE 4 package description files

Install back the KDE 4 package (overwriting the KDE 3 files if required)

Complete files from other packages if required

Last edited by 11010010110 (2008-08-09 12:18:27)

Offline

#2 2008-08-10 00:28:12

mcmillan
Member
Registered: 2006-04-06
Posts: 665

Re: Howto : install KDE 3 Noatun in KDE 4 (and probably other apps)

You could also use the kde3 packages from kdemod. There were some conflicts with kde4 initially but I think it should work now.

Offline

Board footer

Powered by FluxBB