Bug 32873

Summary: rpm-4.13 is installable without upgrading apt, though incompatible
Product: Sisyphus Reporter: Ivan Zakharyaschev <imz>
Component: rpmAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: at, glebfm, imz, ldv, placeholder, vt
Version: unstable   
Hardware: all   
OS: Linux   

Description Ivan Zakharyaschev 2016-12-09 17:10:31 MSK
rpm-4.13.0-alt3.x86_64

With apt-get install, rpm-4.13 is installable without upgrading apt, though incompatible.

Here is what happened:

[root@prodesk0 ~]# apt-get update; apt-get install rpm
Get:1 http://ftp.altlinux.org ALTLinux/Sisyphus/x86_64-i586 release [573B]
Get:2 http://ftp.altlinux.org x86_64 release [915B]
Get:3 http://ftp.altlinux.org noarch release [709B]
Fetched 2197B in 0s (5166B/s)
Get:1 http://ftp.altlinux.org ALTLinux/Sisyphus/x86_64-i586/classic pkglist [14.3MB]
Get:2 http://ftp.altlinux.org ALTLinux/Sisyphus/x86_64-i586/classic release [152B]                                                                                                                                                                                            
Get:3 http://ftp.altlinux.org x86_64/classic pkglist [19.1MB]                                                                                                                                                                                                                 
Get:4 http://ftp.altlinux.org x86_64/classic release [147B]                                                                                                                                                                                                                   
Get:5 http://ftp.altlinux.org noarch/classic pkglist [4777kB]                                                                                                                                                                                                                 
Get:6 http://ftp.altlinux.org noarch/classic release [147B]                                                                                                                                                                                                                   
Fetched 38.2MB in 48s (794kB/s)                                                                                                                                                                                                                                               
Reading Package Lists... Done
Building Dependency Tree... Done
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  librpm librpm7 librpmbuild librpmbuild7 python-module-rpm rpm-build rpm-plugin-selinux
The following packages will be upgraded
  librpm librpmbuild python-module-rpm rpm rpm-build
The following NEW packages will be installed:
  librpm7 librpmbuild7 rpm-plugin-selinux
5 upgraded, 3 newly installed, 0 removed and 138 not upgraded.
Need to get 1721kB of archives.
After unpacking 3905kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
[root@prodesk0 ~]# apt-get install rpm apt
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apt-repo-tools apt-rsync libapt librpm librpm7 librpmbuild librpmbuild7 python-module-rpm rpm-build rpm-plugin-selinux synaptic
The following packages will be upgraded
  apt apt-repo-tools apt-rsync libapt librpm librpmbuild python-module-rpm rpm rpm-build synaptic
The following NEW packages will be installed:
  librpm7 librpmbuild7 rpm-plugin-selinux
10 upgraded, 3 newly installed, 0 removed and 133 not upgraded.
Need to get 3681kB of archives.
After unpacking 3907kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://ftp.altlinux.org x86_64/classic librpmbuild7 4.13.0-alt3 [132kB]
Get:2 http://ftp.altlinux.org x86_64/classic python-module-rpm 4.13.0-alt3 [122kB]
Get:3 http://ftp.altlinux.org x86_64/classic rpm-plugin-selinux 4.13.0-alt3 [78.6kB]
Get:4 http://ftp.altlinux.org x86_64/classic librpm7 4.13.0-alt3 [328kB]
Get:5 http://ftp.altlinux.org x86_64/classic librpmbuild 4.0.4-alt100.97 [139kB]
Get:6 http://ftp.altlinux.org x86_64/classic rpm-build 4.0.4-alt100.97 [149kB]
Get:7 http://ftp.altlinux.org x86_64/classic rpm 4.13.0-alt3 [477kB]
Get:8 http://ftp.altlinux.org x86_64/classic librpm 4.0.4-alt100.97 [294kB]
Get:9 http://ftp.altlinux.org x86_64/classic synaptic 0.58-alt15.qa1 [1237kB]
Get:10 http://ftp.altlinux.org x86_64/classic apt-repo-tools 0.6.0.20-alt1 [34.8kB]
Get:11 http://ftp.altlinux.org x86_64/classic apt-rsync 0.5.15lorg2-alt54 [41.6kB]
Get:12 http://ftp.altlinux.org x86_64/classic libapt 0.5.15lorg2-alt54 [299kB]
Get:13 http://ftp.altlinux.org x86_64/classic apt 0.5.15lorg2-alt54 [348kB]
Fetched 3681kB in 4s (796kB/s)
Committing changes...
Preparing...                                                                                                                                                        ################################################################################################### [100%]
 1: librpm                                                                                                                                                          ################################################################################################### [  7%]
 2: librpmbuild                                                                                                                                                     ################################################################################################### [ 15%]
 3: librpmbuild7                                                                                                                                                    ################################################################################################### [ 23%]
 4: librpm7                                                                                                                                                         ################################################################################################### [ 30%]
 5: rpm                                                                                                                                                             ################################################################################################### [ 38%]
 6: libapt                                                                                                                                                          ################################################################################################### [ 46%]
 7: apt                                                                                                                                                             ################################################################################################### [ 53%]
 8: python-module-rpm                                                                                                                                               ################################################################################################### [ 61%]
 9: rpm-plugin-selinux                                                                                                                                              ################################################################################################### [ 69%]
10: rpm-build                                                                                                                                                       ################################################################################################### [ 76%]
11: synaptic                                                                                                                                                        ################################################################################################### [ 84%]
12: apt-repo-tools                                                                                                                                                  ################################################################################################### [ 92%]
13: apt-rsync                                                                                                                                                       ################################################################################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
[root@prodesk0 ~]# rebuilding database /var/lib/rpm started
rebuilding database /var/lib/rpm finished
delayed execution of posttrans filetriggers started
delayed execution of posttrans filetriggers finished
Comment 1 Repository Robot 2016-12-13 20:46:40 MSK
rpm-4.13.0-alt4 -> sisyphus:

* Tue Dec 13 2016 Gleb F-Malinovskiy <glebfm@altlinux> 4.13.0-alt4
- rpmspec: restored support of BuildRequires(pre) (ALT#32870),
  and Serial (ALT#32888) tags.
- rpmspec: fixed support of long lines in specfile.
- rpm: restored --with{,out} and --{en,dis}able aliases for rpmbuild.
- Added conflict to apt < 0.5.15lorg2-alt54 (ALT#32873).
- Fixed retrieving of remote files.
- Dropped R: curl (it is optional).
- Fixed encoding of translataed manpages.
- Changed rpmlog to write to stderr.
- Fixed support of APT external tags (ALT#32887).
- Define RPM_INSTALL_{NAME,ARG1,ARG2} env variables only for per-package
  scripts (ALT#32890).