Changes between Initial Version and Version 1 of Repositories


Ignore:
Timestamp:
Aug 19, 2020, 5:31:25 PM (4 years ago)
Author:
Bruno Cornec
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Repositories

    v1 v1  
     1== Installing from YUM ==
     2
     3The project-builder.org ftp site is also set up as a yum repository. You can install and update project-builder.org packages using yum. First add a file in your yum repo directory (most probably /etc/yum.repos.d) like the following (you may download it from our ftp server in each fedora|centos/version directory). Note that this sample is for fedora. You will need to edit a bit for other distros.
     4
     5[root@tesla yum.repos.d]# cat pb.repo
     6
     7[mondorpms]
     8name=Fedora Core $releasever - pb
     9baseurl=ftp://ftp.project-builder.org/fedora/$releasever/x86_64
     10enabled=1
     11gpgcheck=1
     12gpgkey=ftp://ftp.project-builder.org/fedora/$releasever/x86_64/pb.pubkey
     13
     14Such a file is now automatically produced by project-builder.org and available on the ftp server at the same place as the packages. E.g. for Fedora 30 x86_64 download it from ​ftp://ftp.project-builder.org/fedora/30/x86_64/pb.repo
     15
     16If you want to contribute to the testing of project-builder.org, also download the corresponding repo file under the test directory and the same subtree. In the above case it's ​ftp://ftp.project-builder.org/test/fedora/30/x86_64/pb.repo
     17
     18Now just use the command:
     19
     20# yum install project-builder
     21
     22Here is a sequence of a successful installation of the stable version of project-builder in a CentOS 8 container
     23
     24$ docker run -ti --rm centos:8
     25[root@fe4902a26572 /]# yum install -y wget   
     26Failed to set locale, defaulting to C.UTF-8
     27CentOS-8 - AppStream                                                                                                                                                                                                                                    6.7 MB/s | 5.8 MB     00:00   
     28CentOS-8 - Base                                                                                                                                                                                                                                         3.6 MB/s | 2.2 MB     00:00   
     29CentOS-8 - Extras                                                                                                                                                                                                                                        29 kB/s | 7.3 kB     00:00   
     30Dependencies resolved.
     31========================================================================================================================================================================================================================================================================================
     32 Package                                                                      Architecture                                                Version                                                                  Repository                                                      Size
     33========================================================================================================================================================================================================================================================================================
     34Installing:
     35 wget                                                                         x86_64                                                      1.19.5-8.el8_1.1                                                         AppStream                                                      735 k
     36Installing dependencies:
     37 libpsl                                                                       x86_64                                                      0.20.2-5.el8                                                             BaseOS                                                          61 k
     38 publicsuffix-list-dafsa                                                      noarch                                                      20180723-1.el8                                                           BaseOS                                                          56 k
     39
     40Transaction Summary
     41========================================================================================================================================================================================================================================================================================
     42Install  3 Packages
     43
     44Total download size: 852 k
     45Installed size: 3.0 M
     46Downloading Packages:
     47(1/3): publicsuffix-list-dafsa-20180723-1.el8.noarch.rpm                                                                                                                                                                                                1.2 MB/s |  56 kB     00:00   
     48(2/3): libpsl-0.20.2-5.el8.x86_64.rpm                                                                                                                                                                                                                   1.2 MB/s |  61 kB     00:00   
     49(3/3): wget-1.19.5-8.el8_1.1.x86_64.rpm                                                                                                                                                                                                                 5.9 MB/s | 735 kB     00:00   
     50----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     51Total                                                                                                                                                                                                                                                   4.2 MB/s | 852 kB     00:00     
     52warning: /var/cache/dnf/AppStream-02e86d1c976ab532/packages/wget-1.19.5-8.el8_1.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
     53CentOS-8 - AppStream                                                                                                                                                                                                                                    1.6 MB/s | 1.6 kB     00:00   
     54Importing GPG key 0x8483C65D:
     55 Userid     : "CentOS (CentOS Official Signing Key) <security@centos.org>"
     56 Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
     57 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
     58Key imported successfully
     59Running transaction check
     60Transaction check succeeded.
     61Running transaction test
     62Transaction test succeeded.
     63Running transaction
     64  Preparing        :                                                                                                                                                                                                                                                                1/1
     65  Installing       : publicsuffix-list-dafsa-20180723-1.el8.noarch                                                                                                                                                                                                                  1/3
     66  Installing       : libpsl-0.20.2-5.el8.x86_64                                                                                                                                                                                                                                     2/3
     67  Installing       : wget-1.19.5-8.el8_1.1.x86_64                                                                                                                                                                                                                                   3/3
     68  Running scriptlet: wget-1.19.5-8.el8_1.1.x86_64                                                                                                                                                                                                                                   3/3
     69  Verifying        : wget-1.19.5-8.el8_1.1.x86_64                                                                                                                                                                                                                                   1/3
     70  Verifying        : libpsl-0.20.2-5.el8.x86_64                                                                                                                                                                                                                                     2/3
     71  Verifying        : publicsuffix-list-dafsa-20180723-1.el8.noarch                                                                                                                                                                                                                  3/3
     72
     73Installed:
     74  wget-1.19.5-8.el8_1.1.x86_64                                                            libpsl-0.20.2-5.el8.x86_64                                                            publicsuffix-list-dafsa-20180723-1.el8.noarch                                                           
     75
     76Complete!
     77
     78[root@fe4902a26572 /]# wget ftp://ftp.project-builder.org/centos/8/x86_64/pb.repo
     79--2020-08-19 15:29:17--  ftp://ftp.project-builder.org/centos/8/x86_64/pb.repo
     80           => 'pb.repo'
     81Resolving ftp.project-builder.org (ftp.project-builder.org)... 185.170.48.239
     82Connecting to ftp.project-builder.org (ftp.project-builder.org)|185.170.48.239|:21... connected.
     83Logging in as anonymous ... Logged in!
     84==> SYST ... done.    ==> PWD ... done.
     85==> TYPE I ... done.  ==> CWD (1) /centos/8/x86_64 ... done.
     86==> SIZE pb.repo ... 188
     87==> PASV ... done.    ==> RETR pb.repo ... done.
     88Length: 188 (unauthoritative)
     89
     90pb.repo                                                               100%[=========================================================================================================================================================================>]     188  --.-KB/s    in 0s     
     91
     922020-08-19 15:29:17 (30.7 MB/s) - 'pb.repo' saved [188]
     93
     94[root@fe4902a26572 /]# mv pb.repo /etc/yum.repos.d/
     95/etc/yum.repos.d/CentOS-PowerTools.repo
     96[root@fe4902a26572 /]# yum install -y project-builder
     97
     98
     99
     100
     101Installing from APT
     102
     103The ftp site is also set up as an apt repository. You can install and update your mindi/mondo packages using apt. First create a file in your apt repo directory (most probably /etc/apt/sources.list.d) like the following (you may download it from our ftp server in each debian|ubuntu/version directory). Note that this sample is for debian. You will need to edit a bit for other distros.
     104
     105[root@tesla sources.list.d]# cat mondorescue.sources.list
     106deb ftp://ftp.mondorescue.org//debian 8 contrib
     107deb-src ftp://ftp.mondorescue.org//debian 8 contrib
     108
     109Such a file is now automatically produced by project-builder and available on the ftp server at the same place as the packages. E.g. for Debian 8 x86_64 download it from ​ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
     110
     111If you want to contribute to the testing of MondoRescue, also download the corresponding repo file under the test directory and the same subtree. In the above case it's ​ftp://ftp.mondorescue.org/test/debian/8/mondorescue-test.sources.list
     112
     113Now just use the commands:
     114
     115# cd /etc/apt/sources.list.d
     116# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
     117# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey
     118# apt-key add mondorescue.pubkey
     119# rm -f mondorescue.pubkey
     120# apt-get update
     121# apt-get install mondo
     122
     123apt will discover that mindi is a dependency for mondo and add it to your list.
     124
     125Here is a sequence of a successful installation of the stable version of mondo in a Debian 8 container
     126
     127$ docker run -ti --rm debian:8
     128root@907ee4f96ec1:/# cd /etc/apt/sources.list.d
     129root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get update     
     130Ign http://deb.debian.org jessie InRelease             
     131Get:1 http://deb.debian.org jessie-updates InRelease [16.3 kB]
     132Get:2 http://deb.debian.org jessie Release.gpg [1652 B]                                                           
     133Get:3 http://security.debian.org jessie/updates InRelease [44.9 kB]               
     134Get:4 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]
     135Get:5 http://deb.debian.org jessie Release [77.3 kB]                             
     136Get:6 http://security.debian.org jessie/updates/main amd64 Packages [903 kB]
     137Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
     138Fetched 10.1 MB in 5s (1806 kB/s) 
     139Reading package lists... Done
     140root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get install -y wget
     141Reading package lists... Done
     142Building dependency tree       
     143Reading state information... Done
     144The following extra packages will be installed:
     145  ca-certificates libicu52 libidn11 libpsl0 libssl1.0.0 openssl
     146The following NEW packages will be installed:
     147  ca-certificates libicu52 libidn11 libpsl0 libssl1.0.0 openssl wget
     1480 upgraded, 7 newly installed, 0 to remove and 13 not upgraded.
     149Need to get 9381 kB of archives.
     150After this operation, 35.7 MB of additional disk space will be used.
     151Get:1 http://security.debian.org/debian-security/ jessie/updates/main libssl1.0.0 amd64 1.0.1t-1+deb8u12 [1049 kB]
     152Get:2 http://deb.debian.org/debian/ jessie/main libicu52 amd64 52.1-8+deb8u7 [6807 kB]
     153Get:3 http://security.debian.org/debian-security/ jessie/updates/main libidn11 amd64 1.29-1+deb8u3 [137 kB]
     154Get:4 http://security.debian.org/debian-security/ jessie/updates/main wget amd64 1.16-1+deb8u6 [496 kB]
     155Get:5 http://deb.debian.org/debian/ jessie/main libpsl0 amd64 0.5.1-1 [41.6 kB]
     156Get:6 http://security.debian.org/debian-security/ jessie/updates/main openssl amd64 1.0.1t-1+deb8u12 [666 kB]
     157Get:7 http://security.debian.org/debian-security/ jessie/updates/main ca-certificates all 20141019+deb8u4 [185 kB]
     158Fetched 9381 kB in 3s (2750 kB/s)   
     159debconf: delaying package configuration, since apt-utils is not installed
     160Selecting previously unselected package libssl1.0.0:amd64.
     161(Reading database ... 7627 files and directories currently installed.)
     162Preparing to unpack .../libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb ...
     163Unpacking libssl1.0.0:amd64 (1.0.1t-1+deb8u12) ...
     164Selecting previously unselected package libidn11:amd64.
     165Preparing to unpack .../libidn11_1.29-1+deb8u3_amd64.deb ...
     166Unpacking libidn11:amd64 (1.29-1+deb8u3) ...
     167Selecting previously unselected package libicu52:amd64.
     168Preparing to unpack .../libicu52_52.1-8+deb8u7_amd64.deb ...
     169Unpacking libicu52:amd64 (52.1-8+deb8u7) ...
     170Selecting previously unselected package libpsl0:amd64.
     171Preparing to unpack .../libpsl0_0.5.1-1_amd64.deb ...
     172Unpacking libpsl0:amd64 (0.5.1-1) ...
     173Selecting previously unselected package wget.
     174Preparing to unpack .../wget_1.16-1+deb8u6_amd64.deb ...
     175Unpacking wget (1.16-1+deb8u6) ...
     176Selecting previously unselected package openssl.
     177Preparing to unpack .../openssl_1.0.1t-1+deb8u12_amd64.deb ...
     178Unpacking openssl (1.0.1t-1+deb8u12) ...
     179Selecting previously unselected package ca-certificates.
     180Preparing to unpack .../ca-certificates_20141019+deb8u4_all.deb ...
     181Unpacking ca-certificates (20141019+deb8u4) ...
     182Setting up libssl1.0.0:amd64 (1.0.1t-1+deb8u12) ...
     183debconf: unable to initialize frontend: Dialog
     184debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
     185debconf: falling back to frontend: Readline
     186debconf: unable to initialize frontend: Readline
     187debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
     188debconf: falling back to frontend: Teletype
     189Setting up libidn11:amd64 (1.29-1+deb8u3) ...
     190Setting up libicu52:amd64 (52.1-8+deb8u7) ...
     191Setting up libpsl0:amd64 (0.5.1-1) ...
     192Setting up wget (1.16-1+deb8u6) ...
     193Setting up openssl (1.0.1t-1+deb8u12) ...
     194Setting up ca-certificates (20141019+deb8u4) ...
     195debconf: unable to initialize frontend: Dialog
     196debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
     197debconf: falling back to frontend: Readline
     198debconf: unable to initialize frontend: Readline
     199debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
     200debconf: falling back to frontend: Teletype
     201Updating certificates in /etc/ssl/certs... 152 added, 0 removed; done.
     202Processing triggers for libc-bin (2.19-18+deb8u10) ...
     203Processing triggers for ca-certificates (20141019+deb8u4) ...
     204Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done.
     205Running hooks in /etc/ca-certificates/update.d....done.
     206root@907ee4f96ec1:/etc/apt/sources.list.d# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
     207converted 'ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list' (ANSI_X3.4-1968) -> 'ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list' (UTF-8)
     208--2019-11-11 00:12:35--  ftp://ftp.mondorescue.org/debian/8/mondorescue.sources.list
     209           => 'mondorescue.sources.list'
     210Resolving ftp.mondorescue.org (ftp.mondorescue.org)... 185.170.48.239
     211Connecting to ftp.mondorescue.org (ftp.mondorescue.org)|185.170.48.239|:21... connected.
     212Logging in as anonymous ... Logged in!
     213==> SYST ... done.    ==> PWD ... done.
     214==> TYPE I ... done.  ==> CWD (1) /debian/8 ... done.
     215==> SIZE mondorescue.sources.list ... 100
     216==> PASV ... done.    ==> RETR mondorescue.sources.list ... done.
     217Length: 100 (unauthoritative)
     218
     219mondorescue.sources.list                                       100%[=============================================================================================================>]     100  --.-KB/s   in 0s     
     220
     2212019-11-11 00:12:36 (17.7 MB/s) - 'mondorescue.sources.list' saved [100]
     222root@907ee4f96ec1:/etc/apt/sources.list.d# wget ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey     
     223converted 'ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey' (ANSI_X3.4-1968) -> 'ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey' (UTF-8)
     224--2019-11-11 00:13:43--  ftp://ftp.mondorescue.org/debian/8/mondorescue.pubkey
     225           => 'mondorescue.pubkey'
     226Resolving ftp.mondorescue.org (ftp.mondorescue.org)... 185.170.48.239
     227Connecting to ftp.mondorescue.org (ftp.mondorescue.org)|185.170.48.239|:21... connected.
     228Logging in as anonymous ... Logged in!
     229==> SYST ... done.    ==> PWD ... done.
     230==> TYPE I ... done.  ==> CWD (1) /debian/8 ... done.
     231==> SIZE mondorescue.pubkey ... 30123
     232==> PASV ... done.    ==> RETR mondorescue.pubkey ... done.
     233Length: 30123 (29K) (unauthoritative)
     234
     235mondorescue.pubkey                                             100%[=============================================================================================================>]  29.42K  --.-KB/s   in 0.07s 
     236
     2372019-11-11 00:13:43 (449 KB/s) - 'mondorescue.pubkey' saved [30123]
     238root@907ee4f96ec1:/etc/apt/sources.list.d# apt-key add mondorescue.pubkey
     239OK
     240root@907ee4f96ec1:/etc/apt/sources.list.d# rm mondorescue.pubkey
     241root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get update
     242Get:1 ftp://ftp.mondorescue.org 8 InRelease
     243Ign ftp://ftp.mondorescue.org 8 InRelease
     244Hit http://security.debian.org jessie/updates InRelease
     245Ign http://deb.debian.org jessie InRelease
     246Hit http://deb.debian.org jessie-updates InRelease                             
     247Get:2 ftp://ftp.mondorescue.org 8 Release.gpg [931 B]                           
     248Hit http://deb.debian.org jessie Release.gpg                                 
     249Hit http://deb.debian.org jessie Release               
     250Get:3 ftp://ftp.mondorescue.org 8 Release [7749 B]           
     251Get:4 http://security.debian.org jessie/updates/main amd64 Packages [903 kB]
     252Ign ftp://ftp.mondorescue.org 8 Release                               
     253Get:5 ftp://ftp.mondorescue.org 8/contrib Sources [17.0 kB]           
     254Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [20 B]     
     255Get:7 http://deb.debian.org jessie/main amd64 Packages [9098 kB]               
     256Get:8 ftp://ftp.mondorescue.org 8/contrib amd64 Packages [8504 B]
     257Fetched 10.0 MB in 5s (1841 kB/s)                             
     258Reading package lists... Done
     259root@907ee4f96ec1:/etc/apt/sources.list.d# apt-get install -y mondo