| Summary: | Update candidate: DNF package manager stack | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Neal Gompa <ngompa13> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | bequimao.de, lewyssmith, smelror, sysadmin-bugs, tarazed25 |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-64-OK MGA6-32-OK | ||
| Source RPM: | libsolv, libdnf, dnf, dnf-plugins-core, dnf-plugins-extras | CVE: | |
| Status comment: | |||
| Bug Depends on: | |||
| Bug Blocks: | 21827 | ||
|
Description
Neal Gompa
2017-10-26 19:17:56 CEST
Neal Gompa
2017-10-26 19:19:16 CEST
Blocks:
(none) =>
21827
Ulrich Beckmann
2017-10-26 19:31:04 CEST
CC:
(none) =>
bequimao.de System MGA6 x86_64 Installed the new packages. $ rpm -qa | grep dnf python3-dnf-plugins-core-2.1.5-1.mga6 python2-dnf-2.7.5-1.mga6 mageia-dnf-conf-1.0-1.mga6 dnf-yum-2.7.5-1.mga6 lib64dnf1-0.11.1-1.mga6 dnf-2.7.5-1.mga6 dnf-conf-2.7.5-1.mga6 python3-dnf-2.7.5-1.mga6 dnf-plugins-core-2.1.5-1.mga6 $ dnf --refresh update It found new packages for Opera and Vivaldi. The previous version didn't include Vivaldi and I am pleased. Cheers, Stig CC:
(none) =>
smelror Mageia 6 for x86_64
Starting point:
$ rpm -qa | grep dnf
dnf-2.6.2-1.mga6
python3-dnf-2.6.2-1.mga6
dnf-conf-2.6.2-1.mga6
mageia-dnf-conf-1.0-1.mga6
dnf-plugins-core-2.1.3-1.mga6
lib64dnf1-0.9.3-1.mga6
python3-dnf-plugins-core-2.1.3-1.mga6
Enabled updates testing and ran MageiaUpdate.
Tried updating the packages by running a list and got as far as:
The following packages can't be installed because they depend on packages
that are older than the installed ones:
libsolv0-0.6.28-1.1.mga6
libdnf1-0.9.3-1.mga6
Continue installation anyway? (Y/n)
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "Core 32bit Release (distrib31)")
libassuan0 2.4.3 1.mga6 i586
libgpgme11 1.8.0 11.mga6 i586
libnghttp2_14 1.9.2 1.mga6 i586
librepo0 1.7.20 2.mga6 i586
libssh2_1 1.7.0 2.mga6 i586
(medium "Core 32bit Updates (distrib32)")
libcurl4 7.54.1 2.2.mga6 i586
1.7MB of additional disk space will be used.
696KB of packages will be retrieved.
The following packages can't be installed because they depend on packages
that are older than the installed ones:
libsolv0-0.6.28-1.1.mga6
libdnf1-0.9.3-1.mga6
libdnf-gir1.0-0.9.3-1.mga6
Continue installation anyway? (Y/n)
The following package has to be removed for others to be upgraded:
urpmi-debuginfo-install-1-16.mga6.noarch
(due to conflicts with dnf-utils) (y/N) y
So, got there in the end.
Tried out some of the examples in the Mageia Wiki. Apologies for the verbatim report - did not know what was important.
# dnf install ri-li
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
Failed to synchronize cache for repo '_dnf_local', disabling.
Last metadata expiration check: 0:36:10 ago on Mon 30 Oct 2017 18:09:13 GMT.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
ri-li x86_64 2.0.1-13.mga6 mageia-x86_64 13 M
Transaction Summary
================================================================================
Install 1 Package
Total download size: 13 M
Installed size: 134 M
Is this ok [y/N]: y
Downloading Packages:
ri-li-2.0.1-13.mga6.x86_64.rpm 13 MB/s | 13 MB 00:01
--------------------------------------------------------------------------------
Total 9.5 MB/s | 13 MB 00:01
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
snapper: creating pre_snapshot failed: error.unknown_config: org.freedesktop.DBus.Error.Failed
Running transaction
Preparing : 1/1
Installing : ri-li-2.0.1-13.mga6.x86_64 1/1
Running scriptlet: ri-li-2.0.1-13.mga6.x86_64 1/1
Verifying : ri-li-2.0.1-13.mga6.x86_64 1/1
DEBUG:dnf.plugin:Completion plugin: Generating completion cache...
New leaves:
ri-li.x86_64
DEBUG:dnf.plugin:local: Copying '/var/cache/dnf/mageia-x86_64-1504d44e4c5fa801/packages/ri-li-2.0.1-13.mga6.x86_64.rpm' to local repo
DEBUG:dnf.plugin:local: Rebuilding local repo
DEBUG:dnf.plugin:snapper: skipping post_snapshot because creation of pre_snapshot failed
Installed:
ri-li.x86_64 2.0.1-13.mga6
INFO:dnf:
Installed:
ri-li.x86_64 2.0.1-13.mga6
Complete!
INFO:dnf:Complete!
DDEBUG:dnf:Cleaning up.
DDEBUG:dnf:/var/cache/dnf/mageia-x86_64-1504d44e4c5fa801/packages/ri-li-2.0.1-13.mga6.x86_64.rpm removed
# dnf reinstall ri-li
This worked - similar transaction messages.
# dnf remove ri-li
# dnf remove ri-li
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
ri-li x86_64 2.0.1-13.mga6 @_dnf_local 134 M
Transaction Summary
================================================================================
Remove 1 Package
Freed space: 134 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
snapper: creating pre_snapshot failed: error.unknown_config: org.freedesktop.DBus.Error.Failed
Running transaction
Preparing : 1/1
Erasing : ri-li-2.0.1-13.mga6.x86_64 1/1
Verifying : ri-li-2.0.1-13.mga6.x86_64 1/1
Configuration file '/etc/fstab'
-rw-r--r-- 1 root root 29 Aug 31 2016 /etc/fstab.rpmnew
-rw-rw-r-- 1 root root 524 Sep 25 06:56 /etc/fstab
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
M : merge configuration files
Z : background this process to examine the situation
S : skip this file
The default action is to keep your current version.
*** aliases (Y/I/N/O/D/M/Z/S) [default=N] ?
Your choice:
Configuration file '/etc/rpm/macros'
-rw-r--r-- 1 root root 112 Jul 10 11:47 /etc/rpm/macros.rpmnew
-rw-r--r-- 1 root root 27 Oct 14 07:03 /etc/rpm/macros
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
M : merge configuration files
Z : background this process to examine the situation
S : skip this file
The default action is to keep your current version.
*** aliases (Y/I/N/O/D/M/Z/S) [default=N] ?
Your choice:
DEBUG:dnf.plugin:Completion plugin: Generating completion cache...
DEBUG:dnf.plugin:snapper: skipping post_snapshot because creation of pre_snapshot failed
Removed:
ri-li.x86_64 2.0.1-13.mga6
INFO:dnf:
Removed:
ri-li.x86_64 2.0.1-13.mga6
Complete!
INFO:dnf:Complete!
DDEBUG:dnf:Cleaning up.
# dnf makecache
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
Last metadata expiration check: 0:04:44 ago on Mon 30 Oct 2017 18:47:11 GMT.
Metadata cache created.
# dnf check-update --refresh
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
Last metadata expiration check: 0:00:00 ago on Mon 30 Oct 2017 18:52:58 GMT.
# dnf history list
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
ID | Command line | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
9 | remove ri-li | 2017-10-30 18:49 | Erase | 1
8 | reinstall ri-li | 2017-10-30 18:47 | Reinstall | 1
7 | install ri-li | 2017-10-30 18:45 | Install | 1 <
6 | install evolution | 2017-10-07 07:35 | Install | 6 ><
5 | remove xfburn | 2017-10-05 22:24 | Erase | 1 >
4 | upgrade --refresh | 2017-10-05 20:56 | Update | 3
3 | remove ri-li | 2017-10-05 20:53 | Erase | 1
2 | reinstall ri-li | 2017-10-05 20:53 | Reinstall | 1
1 | install ri-li | 2017-10-05 20:52 | Install | 1
# dnf history info 6
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
Transaction ID : 6
Begin time : Sat 07 Oct 2017 07:35:29 BST
Begin rpmdb : 3557:fac6ba9d8100dfadae889df38f3c2bad15798b50
End time : Sat 07 Oct 2017 07:35:44 BST (15 seconds)
End rpmdb : 3563:479ba3b329389d9ca7951459576c5a4523a10a7e
User : System <unset>
Return-Code : Success
Command Line : install evolution
Transaction performed with:
Upgraded dnf-2.6.2-1.mga6.noarch (unknown)
Upgraded 1:rpm-4.13.0.1-3.1.mga6.x86_64 (unknown)
Packages Altered:
Install evolution-3.22.6-2.mga6.x86_64 @mageia-x86_64
Install gtkspell3-3.0.9-3.mga6.x86_64 @mageia-x86_64
Install lib64cryptui0-3.12.2-6.mga6.x86_64 @mageia-x86_64
Install lib64gtkspell3_0-3.0.9-3.mga6.x86_64 @mageia-x86_64
Install lib64pst4-1:0.6.61-12.mga6.x86_64 @mageia-x86_64
Install libcryptui-3.12.2-6.mga6.x86_64 @mageia-x86_64
$ dnf search python
Returned a list of 49 packages referring to python.
The commandline help system works fine.
$ dnf repolist
(7, 'Failed to connect to 127.0.0.1 port 9050: Connection refused')
Disabling torproxy plugin: cannot connect to the Tor network
_dnf_local 1.5 MB/s | 1.5 kB 00:00
Last metadata expiration check: 0:00:00 ago on Mon 30 Oct 2017 19:02:43 GMT.
repo id repo name status
WineHQ WineHQ packages (Fedora 24) 324
_dnf_local _dnf_local 1
mageia-x86_64 Mageia 6 - x86_64 28,136
mageia-x86_64-nonfree Mageia 6 - x86_64 - Nonfree 130
updates-x86_64 Mageia 6 - x86_64 - Updates 1,415
updates-x86_64-nonfree Mageia 6 - x86_64 - Nonfree - Updates 10
To an untrained eye this all looks good but I have no idea what this Tor network is or why dnf tries to connect to it.CC:
(none) =>
tarazed25 You have the torproxy plugin installed, which is why it's attempting to connect to a local tor proxy setup on your computer. Ah. Thanks Neal. (Incidentally, WineHQ now offers official Mageia 6 packages: https://wiki.winehq.org/Mageia )
Len Lawrence
2017-10-30 23:50:16 CET
Whiteboard:
(none) =>
MGA6-64-OK Mageia 6 on i586 in virtualbox
Installed all the 32-bit components using urpmi.
Ran the updates, which all went smoothly, then immediately removed python3-dnf-plugin-torproxy.
# dnf config-manager --set-enabled mageia-i586-tainted
# ydnf config-manager --set-enabled mageia-i586 tainted-updates
# dnf install ri-li
Mageia Cauldron - i586 4.1 MB/s | 39 MB 00:09
Mageia 6 - i586 - Tainted 1.2 MB/s | 226 kB 00:00
Mageia 6 - i586 - Updates 4.9 MB/s | 9.0 MB 00:01
Mageia 6 - i586 2.1 MB/s | 33 MB 00:15
Mageia Cauldron - i586 - Updates 98 kB/s | 8.1 kB 00:00
Failed to synchronize cache for repo '_dnf_local', disabling.
Last metadata expiration check: 0:00:00 ago on Thu 02 Nov 2017 16:43:38 GMT.
Dependencies resolved.
=================================================================================
Package Arch Version Repository Size
=================================================================================
Installing:
ri-li i586 2.0.1-13.mga6 cauldron-i586 13 M
Transaction Summary
=================================================================================
Install 1 Package
Total download size: 13 M
Installed size: 134 M
Is this ok [y/N]: y
Downloading Packages:
ri-li-2.0.1-13.mga6.i586.rpm 3.5 MB/s | 13 MB 00:03
---------------------------------------------------------------------------------
Total 3.3 MB/s | 13 MB 00:04
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
snapper: creating pre_snapshot failed: error.unknown_config: org.freedesktop.DBus.Error.Failed
Running transaction
Preparing : 1/1
Installing : ri-li-2.0.1-13.mga6.i586 1/1
Running scriptlet: ri-li-2.0.1-13.mga6.i586 1/1
Verifying : ri-li-2.0.1-13.mga6.i586 1/1
New leaves:
ri-li.i586
DEBUG:dnf.plugin:Completion plugin: Generating completion cache...
Installed:
ri-li.i586 2.0.1-13.mga6
INFO:dnf:
Installed:
ri-li.i586 2.0.1-13.mga6
Complete!
INFO:dnf:Complete!
DDEBUG:dnf:Cleaning up.
DDEBUG:dnf:/var/cache/dnf/cauldron-i586-e01c4b106f6d8f2e/packages/ri-li-2.0.1-13.mga6.i586.rpm removed
[root@menkib dnf]# dnf reinstall ri-li
_dnf_local 1.5 MB/s | 1.5 kB 00:00
Last metadata expiration check: 0:00:00 ago on Thu 02 Nov 2017 16:45:10 GMT.
Dependencies resolved.
=================================================================================
Package Arch Version Repository Size
=================================================================================
Reinstalling:
ri-li i586 2.0.1-13.mga6 cauldron-i586 13 M
Transaction Summary
=================================================================================
Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
ri-li-2.0.1-13.mga6.i586.rpm 4.8 MB/s | 13 MB 00:02
---------------------------------------------------------------------------------
Total 3.7 MB/s | 13 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
snapper: creating pre_snapshot failed: error.unknown_config: org.freedesktop.DBus.Error.Failed
Running transaction
Preparing : 1/1
Reinstalling : ri-li-2.0.1-13.mga6.i586 1/2
Erasing : ri-li-2.0.1-13.mga6.i586 2/2
Running scriptlet: ri-li-2.0.1-13.mga6.i586 2/2
Verifying : ri-li-2.0.1-13.mga6.i586 1/2
Verifying : ri-li-2.0.1-13.mga6.i586 2/2
Reinstalled:
ri-li.i586 2.0.1-13.mga6
INFO:dnf:
Reinstalled:
ri-li.i586 2.0.1-13.mga6
Complete!
INFO:dnf:Complete!
DDEBUG:dnf:Cleaning up.
DDEBUG:dnf:/var/cache/dnf/cauldron-i586-e01c4b106f6d8f2e/packages/ri-li-2.0.1-13.mga6.i586.rpm removed
****************************************
After that removed ri-li again and refreshed the cache. Checked for updates.
# dnf check-update --refresh
A long list. Cauldron was mentioned many times. mageiawelcome labels this distribution as Mageia 6. Not sure what this means. When upgrade is used only mga7 packages are specified, as expected.
Example of cache entry for check-update:
python2-lxml.i586 3.8.0-2.mga7 cauldron-i586
python-lxml.i586 3.6.0-1.mga6 @System
****************************************
Does this mean that the packages are exactly equivalent I wonder or is it the upgrade path?
# dnf history list
ID | Command line | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
3 | remove ri-li | 2017-11-02 16:45 | Erase | 1
2 | reinstall ri-li | 2017-11-02 16:45 | Reinstall | 1
1 | install ri-li | 2017-11-02 16:44 | Install | 1
'dnf help' works fine.
$ dnf search <whatever>
Finds all available packages in enabled repositories and Cauldron with names containing the search-term.
$ dnf repolist
Last metadata expiration check: 0:03:36 ago on Thu 02 Nov 2017 17:13:37 GMT.
repo id repo name status
_dnf_local _dnf_local 1
cauldron-i586 Mageia Cauldron - i586 28,676
cauldron-updates-i586 Mageia Cauldron - i586 - Updates 11
mageia-i586 Mageia 6 - i586 28,137
mageia-i586-tainted Mageia 6 - i586 - Tainted 348
updates-i586 Mageia 6 - i586 - Updates 1,741
These quick checks would indicate that all is working as designed.
Len Lawrence
2017-11-02 18:19:50 CET
Whiteboard:
MGA6-64-OK =>
MGA6-64-OK MGA6-32-OK
Lewis Smith
2017-11-02 19:56:22 CET
Keywords:
(none) =>
advisory, validated_update For reference:
>A long list. Cauldron was mentioned many times. mageiawelcome labels this >distribution as Mageia 6. Not sure what this means. When upgrade is used only >mga7 packages are specified, as expected.
>Example of cache entry for check-update:
>python2-lxml.i586 3.8.0-2.mga7 cauldron->i586
> python-lxml.i586 3.6.0-1.mga6 @System
>****************************************
>Does this mean that the packages are exactly equivalent I wonder or is it the >upgrade path?
This means the Cauldron repos are enabled on your machine (you probably still have mageia-repos-cauldron package still installed) and it considers cauldron packages as update candidates to what you have on your system.
System packages are "@System" repo. Packages installed from disk not in a repo via "dnf install </path/to/package.rpm>" are "@@commandline" repo.
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2017-0103.html Status:
NEW =>
RESOLVED |