Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Howto install source packages in SailfishOS?

    Reply
    pasko | # 1 | 2017-03-17, 11:30 | Report

    Hi.

    I'm trying to install the sources of a binary package to my JollaC to no avail....
    So far I have tried with:
    Code:
    pkcon install 'package'
    pkcon install-local 'package-file.rpm'
    zypper install 'package-file.rpm'
    Anybody knows what I am missing?
    Sorry if it has been answered before, I'm on a tight schedule..

    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pasko For This Useful Post:
    juiceme

     
    coderus | # 2 | 2017-03-17, 11:36 | Report

    explain please

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to coderus For This Useful Post:
    Jordi, juiceme, pasko, pichlo

     
    pasko | # 3 | 2017-03-17, 11:47 | Report

    Originally Posted by coderus View Post
    explain please
    Hi.

    I'm trying to install "wpa_supplicant-2.5+git1-1.14.7.source". I already have "wpa_supplicant-2.5+git1-1.14.7.armv7hl" installed, but then:
    Code:
    [[nemo@Sailfish ~]$ devel-su pkcon install wpa_supplicant-2.5+git1-1.14.7.source
    Password: 
    Command failed: This tool could not find any available package: could not find wpa_supplicant-2.5+git1-1.14.7.source
    I have also tried:
    Code:
    nemo@Sailfish ~]$ devel-su pkcon install-local /home/nemo/Downloads/wpa_supplicant-2.5+git1-1.14.7.src.rpm 
    Password: 
    Installing files                                                                                                                                        
    Waiting in queue                                                                                                                                        
    Fatal error: MIME type 'application/x-source-rpm' not supported /home/nemo/Downloads/wpa_supplicant-2.5+git1-1.14.7.src.rpm
    or:
    Code:
    [nemo@Sailfish ~]$ devel-su zypper install /home/nemo/Downloads/wpa_supplicant-2.5+git1-1.14.7.src.rpm 
    Password: 
    PackageKit is blocking zypper. This happens if you have an updater applet or other software management application using PackageKit running.
    Tell PackageKit to quit? [yes/no] (no): yes
    Loading repository data...
    Reading installed packages...
    '_tmpRPMcache_:wpa_supplicant=0:2.5+git1-1.14.7' not found in package names. Trying capabilities.
    'wpa_supplicant = 0:2.5+git1-1.14.7' is already installed.
    Resolving package dependencies...
    
    Nothing to do.
    And this is all I've tried.

    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pasko For This Useful Post:
    juiceme

     
    coderus | # 4 | 2017-03-17, 12:29 | Report

    ahm you can't do that with pkcon. you need to use zypper
    Code:
    zypper si wpa_supplicant
    it will download source to ~/rpmbuild/SOURCES

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to coderus For This Useful Post:
    Jordi, juiceme, matemana, nthn, pasko

     
    pasko | # 5 | 2017-03-17, 13:08 | Report

    Hi.

    Thank you. ;-)

    Regards.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pasko For This Useful Post:
    juiceme

     
vBulletin® Version 3.8.8
Normal Logout