Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
3
ft` @ s d dl mZ d dl mZ ddlmZ d dlmZ d dlZd dl Zd dl
Z
dd Zd d
Zdd Z
e
dJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dEZdFdG ZdHdI ZdS )a )absolute_import)unicode_literals )transaction)is_py3bytesNc ) C s t j| d}|jtjtjB xztjjD ]l}tj j
rDt|d}y|jd|}W n< t
tjfk
r } ztjjdt| W Y dd}~X nX t|sq,yt|}W n$ tk
r d}tjj|Y nX |d }yy|tj j|}W n, tk
r |tj j|jd}Y nX |tj | } |tj | }
| tjkrd|
rd|d ||jdfkrd|
}W n tttfk
r Y nX t|rt|d}|S W dS )
z-Calculate the release version for the system.)rootzutf-8Zprovidesz Error: %sNz:Error: rpmdb failed to list provides. Try: rpm --rebuilddbversionutf8name)r initReadOnlyTransactionZpushVSFlagsrpmZ_RPMVSF_NOSIGNATURESZ_RPMVSF_NODIGESTSdnfconstZDISTROVERPKGZpycompZPY3bytesZdbMatch TypeErrorerror
exceptionsErrorstrlennext
StopIterationZRPMTAG_PROVIDENAMEindex
ValueErrordecodeZRPMTAG_PROVIDEFLAGSZRPMTAG_PROVIDEVERSIONZRPMSENSE_EQUALKeyError
IndexErrorr )ZinstallroottsZdistroverpkgidxehdrmsgZ
releaseverZoffflagZver r# /usr/lib/python3.6/__init__.pydetect_releasever sB
&
r% c C sp t j }t| V}|j }y|j|}W n8 tjk
r` } ztjj dj
|| W Y dd}~X nX |S Q R X dS )zReturn RPM header of the file.z
{0}: '{1}'N)r r openfilenoZhdrFromFdnor r r
r r format)pathr packageZfdnor r r# r# r$ _headerI s
&r+ c s fdd D S )Nc s i | ]} | D ]
}||qqS r# r# ).0kv)dctr# r$
V s z_invert..r# )r/ r# )r/ r$ _invertU s r1 aarch64alphaalphaev4 alphaev45alphaev5 alphaev56alphaev6 alphaev67 alphaev68alphaev7
alphapca56 armv5tejlarmv5telarmv5tlarmv6larmv7larmv8larmv6hlarmv7hlarmv7hnlarmv8hli386athlongeodei486i586i686ia64mipsmipselmips64mips64elnoarchppcppc64ppc64iseriesppc64p7ppc64pseriesppc64leriscv32riscv64riscv128s390s390xsh3sh4sh4asparcsparc64sparc64vsparcv8sparcv9sparcv9vx86_64amd64ia32e)r2 r3 ZarmZarmhfprG rM rN rO rP rQ rR rS rT rX rY rZ r[ r\ r] r^ r_ ra rg c C s t | S )N)
_BASEARCH_MAP)Zarchr# r# r$ basearchu s rk c C s | | }t |rt|d}|S )z
Returns value of rpm_hdr[key] as a string. Rpm has switched from bytes to str
and we need to handle both properly.
zutf-8)r r )Zrpm_hdrkeyvaluer# r# r$ getheaderz s
rn )r2 )
r3 r4 r5 r6 r7 r8 r9 r: r; r<