Bug ID 929434
Summary rpmconf has issues with unicode.
Classification openSUSE
Product openSUSE Factory
Version 201503*
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee bnc-team-screening@forge.provo.novell.com
Reporter zaitor@opensuse.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I suspect there is a missing Requires here, but no clue which one :-)


drude:~ # zypper in rpmconf
Loading repository data...
Reading installed packages...
Resolving package dependencies...

The following 3 NEW packages are going to be installed:
  python3-rpm python3-rpmconf rpmconf 

3 new packages to install.
Overall download size: 98.7 KiB. Already cached: 0 B  After the operation,
additional 274.2 KiB will be used.
Continue? [y/n/? shows all options] (y): 
Retrieving package python3-rpmconf-1.0.7-1.6.noarch                            
                                                                               
(1/3),  29.1 KiB ( 65.1 KiB unpacked)
Retrieving: python3-rpmconf-1.0.7-1.6.noarch.rpm
..............................................................................................................................................[done]
Retrieving package python3-rpm-4.12.0.1-5.1.x86_64                             
                                                                               
(2/3),  46.9 KiB (167.1 KiB unpacked)
Retrieving: python3-rpm-4.12.0.1-5.1.x86_64.rpm
...............................................................................................................................................[done]
Retrieving package rpmconf-1.0.7-1.6.noarch                                    
                                                                               
(3/3),  22.7 KiB ( 42.0 KiB unpacked)
Retrieving: rpmconf-1.0.7-1.6.noarch.rpm
......................................................................................................................................................[done]
Checking for file conflicts:
..................................................................................................................................................................[done]
(1/3) Installing: python3-rpmconf-1.0.7-1.6
...................................................................................................................................................[done]
(2/3) Installing: python3-rpm-4.12.0.1-5.1
....................................................................................................................................................[done]
(3/3) Installing: rpmconf-1.0.7-1.6
...........................................................................................................................................................[done]
drude:~ # rpmconf 
usage: rpmconf [-h] [-a] [-c] [-d] [-D] [-f EDITOR] [-Z]
               [-o [PACKAGE [PACKAGE ...]]] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -a, --all             Check configuration files of all packages.
  -c, --clean           Find and delete orphaned .rpmnew and .rpmsave files.
  -d, --debug           Dry run. Just show which file will be deleted.
  -D, --diff            Non-interactive diff mode. Useful to audit configs.
                        Use with -a or -o options.
  -f EDITOR, --frontend EDITOR
                        Define which frontend should be used for merging. For
                        list of valid types see man page.
  -Z                    Display SELinux context of old and new file.
  -o [PACKAGE [PACKAGE ...]], --owner [PACKAGE [PACKAGE ...]]
                        Check only configuration files of given package.
  -v, --version         Display rpmconf version.
drude:~ # rpmconf -d -a
Traceback (most recent call last):
  File "/usr/sbin/rpmconf", line 63, in <module>
    main()
  File "/usr/sbin/rpmconf", line 60, in main
    rconf.run()
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 88, in run
    self._handle_package(pkg_hdr)
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 241, in
_handle_package
    for conf_file in self.get_list_of_config(package):
  File "/usr/lib/python3.4/site-packages/rpmconf/rpmconf.py", line 117, in
get_list_of_config
    for rpm_file in files:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe5 in position 27:
invalid continuation byte


You are receiving this mail because: