Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: alien --deb-to-rpm --scripts <package>.deb

  1. #1
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default alien --deb-to-rpm --scripts <package>.deb

    This is a "why" rather than a "how":

    I use the very excellent Cherrytree (giuspen) as a note taker. This is available thru' YaST but only as 0.28.5-2.1.2 while the current release is 0.30.5-2 and is, unfortunately, only available packaged as a .deb. I thought apper might be able to handle it but no - so I tried to download alien thru' YaST - but alien is not available.

    What is available is perl-alien-SDL & perl-alien-tidyp. Now the YaST description for perl-alien-SDL tells me that I should "---see the Alien manpage---" and its description for dpkg tells me "It makes it possible to create and extract Debian packages. If Alien is installed, the packages can be converted to RPMs." - so SuSE knows about alien and has bits & pieces of it lying about the place. I spent many happy hours yesterday PM fooling about with yum, dpkg, apper Etc. without result.

    In the end, I opened my old Dell Netbook running on antiX32 (a Debian based distro - also very excellent), ran the command which forms the title of this post, dumped the resulting .rpm in Dropbox - et voila:

    Code:
    dmk-SuSE.12.3 @ ~/Dropbox
    Bash - 4.2.42: sudo zypper install cherrytree-0.30.5-2.noarch.rpm 
    Loading repository data...
    Reading installed packages...
    Resolving package dependencies...
    
    The following package is going to be upgraded:
      cherrytree 
    
    The following package is going to change vendor:
      cherrytree  openSUSE -> 
    
    
    1 package to upgrade, 1 to change vendor.
    Overall download size: 547.0 KiB. After the operation, additional 613.4 KiB 
    will be used.
    Continue? [y/n/?] (y): y
    Retrieving package cherrytree-0.30.5-2.noarch
                                               (1/1), 547.0 KiB (  1.8 MiB unpacked)
    Retrieving package cherrytree-0.30.5-2.noarch
                                               (1/1), 547.0 KiB (  1.8 MiB unpacked)
    (1/1) Installing: cherrytree-0.30.5-2 ....................................[done]
    While working on this I found, from May 2013:

    Code:
    http://forums.opensuse.org/english/get-technical-help-here/applications/487207-possible-install-deb-format.html
    OK, what I did was not difficult. The reason it took me so long was because I wanted it to work from within SuSE - when it didn't I moved elsewhere. BUT, I am not a tyro (I hate that effing word "newbie" which always reminds me of the smarmy Italian "agent" from NCIS) and a newcomer, tyro or whatever (and, once upon time, we were all one of those) would have been defeated(?), discouraged(?) - you tell me.

    And the question is "why".

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,217
    Blog Entries
    15

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    On Tue 17 Sep 2013 02:26:02 PM CDT, duncan mk wrote:


    This is a "why" rather than a "how":

    I use the very excellent *Cherrytree* ('giuspen'
    (http://www.giuspen.com/cherrytree/#downl)) as a note taker. This is
    available thru' YaST but only as *0.28.5-2.1.2 *while the current
    release is *0.30.5-2 *and is, unfortunately, only available packaged as
    a *.deb*. I thought *apper* might be able to handle it but no - so I
    tried to download *alien* thru' YaST - but *alien* is not available.
    Hi
    'Why' not just grab from the development repository? GNOME:Apps...
    http://software.opensuse.org/package...erm=cherrytree

    I don't like using deb files, basically your taking a compiled binary
    and plonking it on your system to the openSUSE file structure, no
    security checks etc..... not sure it even includes post/pre install
    macros for example updating the menu database etc...

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 12.3 (x86_64) GNOME 3.8.4 Kernel 3.7.10-1.16-desktop
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  3. #3
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    'Why' not just grab from the development repository? GNOME:Apps...
    http://software.opensuse.org/package...erm=cherrytree
    the problem there is that the only release available from SuSE is 0.28.5-2.1.2 and I specifically wanted 0.30.5-2 (actually, the --scripts flag does run the various pre/post/etc scripts).

    Thanks for the freply anyway

    dmk

  4. #4
    Join Date
    Mar 2009
    Location
    United States
    Posts
    612

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    This is just my opinion, but I found it far easier to create an rpm from scratch than to worry about converting or installing a foreign package. Creating a package is pretty much as easy as bash.

    The only time I would say to convert a package is if it is a proprietary program with no source to create your own rpm from. Though you might still be able to extract the deb, and create an rpm that manually installs the files in the correct place and permissions, but that might be advanced to do.

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,217
    Blog Entries
    15

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    On Tue 17 Sep 2013 10:16:03 PM CDT, duncan mk wrote:


    > 'Why' not just grab from the development repository? GNOME:Apps...
    > 'http://software.opensuse.org/package...erm=cherrytree'
    > (http://tinyurl.com/nhtae6l)


    the problem there is that the only release available from SuSE is
    0.28.5-2.1.2 and I specifically wanted 0.30.5-2 (actually, the --scripts
    flag does run the various pre/post/etc scripts).

    Thanks for the freply anyway

    dmk


    Hi
    Did you actually look in the GNOME:Apps repository (it's the development
    repos for cherrytree)?

    GNOME:Apps = 0.30.5

    --
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    openSUSE 12.3 (x86_64) GNOME 3.8.4 Kernel 3.7.10-1.16-desktop
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!


  6. #6
    Join Date
    Jun 2008
    Location
    NZ
    Posts
    1,567

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    Quote Originally Posted by duncan_mk View Post
    the problem there is that the only release available from SuSE is 0.28.5-2.1.2 and I specifically wanted 0.30.5-2 (actually, the --scripts flag does run the various pre/post/etc scripts).

    Thanks for the freply anyway

    dmk
    take another look
    SUSE Paste

  7. #7
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    First I must apologise to martinlewis. I had followed his link to:

    http://software.opensuse.org/package...erm=cherrytree

    but hadn't followed it thru' "Show other versions" & "Show unstable packages".

    And second I must thank farcusnz for the SUSE Paste which led to me working out what I'd done wrong.

    Thanks to all of you.

    #dmk

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    On 2013-09-17 16:26, duncan mk wrote:
    >
    > This is a "why" rather than a "how":
    >
    > - so I
    > tried to download *alien* thru' YaST - but *alien* is not available.


    Of course it is available:

    Code:
    Telcontar:~ # cnf alien
    
    The program 'alien' can be found in the following package:
    * alien [ path: /usr/bin/alien, repository: zypp (OBS_utilities) ]
    
    Try installing with:
    zypper install alien
    
    Telcontar:~ #
    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  9. #9
    Join Date
    Dec 2011
    Location
    Sudbury, Suffolk
    Posts
    28

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    Now that is odd:

    Code:
    dmk-SuSE.12.3 @ ~
    Bash - 4.2.42: cnf alien
    alien: command not found                      
    dmk-SuSE.12.3 @ ~
    dmk

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: alien --deb-to-rpm --scripts <package>.deb

    On 2013-09-18 13:16, duncan mk wrote:
    >
    > Now that is odd:
    >
    >
    > Code:
    > --------------------
    > dmk-SuSE.12.3 @ ~
    > Bash - 4.2.42: cnf alien
    > alien: command not found
    > dmk-SuSE.12.3 @ ~
    > --------------------


    Because you do not have the "OBS_utilities" repo, obviously. Did you use
    the search facility at opensuse.org? I guess not, it is the first hit...
    (click show unstable if it does not show).

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •