__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
�

�E�gc@��P�SSKJr SSKJr SSKJr SSKrSSKJ	r	 SSK
r
SSKrSSKrSSK
r
SSKrSSKrSSKrSSKJr \
R&"\
R(S5 \
R*"5urr\(d3S
r\R2"SS5 \
R&"\
R4S5 \R8"S
\
R:"5-5 Sr"SS\R>R@RB5r!"SS\R>R@RD5r""SS\#5r$"SS\#5r%"SS\	5r&\"S5\"S5\"S5\"S5\"S54 "SS\#5r'g! \R0"S	5 S
rGN=f!\
R6a N�f=f) �)�gettext)�ngettext)�get�N)�Enum)�apport_pkgfailure�zgetting the encoding failedzutf-8�LC_CTYPEzC.UTF-8zlocale: '%s' '%s'c���[U5nUS-nUS-S-nUS-S-nUS-nUS:XaSnSSSSS.nUS:�a[S	S
U5U-US'US:�a[SS
U5U-US'US:�a[SSU5U-US'[SSU5U-US'US:�aUSS:XaUS$[S5U-$US:�aUS$US:�aUSS:XaUS$[S5U-$US:�aUS$US$)z:return the time a bit fuzzy (no seconds if time > 60 secs i�Qi��<rrr	)�str_days�	str_hours�str_minutes�str_secondsz%li dayz%li daysrz%li hourz	%li hoursrz
%li minutez%li minutesrz
%li secondz%li secondsrz%(str_days)s %(str_hours)s�z%(str_hours)s %(str_minutes)s)�intr�_)�sec�days�hours�minutes�seconds�maps      �=/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeView.py�FuzzyTimeToStrr;se��	�C��#�	�x��$�

��,��
�%�
�"�W��N�'��"�H�'���\��G�����	
�#�
�A�X��y��T�:�T�A�C�
�O�
�Q�Y��
�;��>��F�C����q�[�!�,�}�g�F��P�C�
����]�G�D�w�N�#�m��
�A�X�
�;��2���:���
�
)�*�S�0�0��q�y��{����q�y�
�=��R���;���
�
,�-��3�3���{��}���	�]�	��c�b^�\rSrSrU4SjrU4SjrU4SjrSrS
U4SjjrSr	Sr
S	rU=r$)�AcquireProgress�c�8>�[[U]5 SUlg)N�)�superr�__init__�	est_speed��self�	__class__s �rr$�AcquireProgress.__init__�s���	�/�4�)�+��D�Nrc�b>�[[U]5 SUlSUlSUlSUlg)Nr"F)r#r�startr%�eta�percent�release_file_download_errorr&s �rr+�AcquireProgress.start�s-���	�/�4�&�(��D�N��D�H��D�L�',�D�$rc�4>�[[U]XX45 U[R:Xao[
R"SU-5 URS5(dURS5(a)SH"nURU5(dMSUl	 g ggg)Nz update_status: dlFailed on '%s' zRelease.gpg�Release)�http�ftp�mirrorT)
r#r�
update_status�apt_pkg�STAT_FAILED�logging�warning�endswith�
startswithr.)r'�uri�descr�
shortDescr�status�netr(s      �rr5�AcquireProgress.update_status�s����	�/�4�.�s�:�N���$�$�$�
�o�o�8�3�>�?�	���m�	$�	$����Y�(?�(?�+�C�
�^�^�C�
 �
 �/3�D�,��+�)@�%rc��g�NT�)r'�args  r�pulse_items�AcquireProgress.pulse_items�s��rc�>�[[U]U5 URUR-S-[URUR-5-UlURUR:�a!URUR-S-Ul
URS:�a4URUR-
[UR5-Ulg)NgY@g@rT)r#r�pulse�
current_bytes�
current_items�float�total_bytes�total_itemsr-�current_cpsr%r,)r'�ownerr(s  �rrI�AcquireProgress.pulse�s����	�/�4�&�u�-��(�(�4�+=�+=�=��F��$�*�*�T�-=�-=�=�>�?�D�L����$�.�.�(����t�'7�'7�7��<�d�n����!���#�#�d�&8�&8�8���(�(�)�*�d�h�rc� �URS:g$)Nr)r%�r's r�isDownloadSpeedEstimated�(AcquireProgress.isDownloadSpeedEstimated�s���N�N�a�� rc���URS:Xa.US-nUS-n[S5[U5[U54-nU$[S5[XR-5-nU$)z get the estimated download time rg�#Ag�SAz_This download will take about %s with a 40Mbit connection and about %s with a 5Mbit connection.z7This download will take about %s with your connection. )r%rr)r'�required_download�	time5Mbit�
time40Mbit�ss     r�estimatedDownloadTime�%AcquireProgress.estimatedDownloadTime�st���~�~���#�]�3�i�$�n�5�j�	
�3�
4�7E�j�7Q�Sa�bk�Sl�6m�
n�a�
�h�	�
C�D�~�Vg�hv�hv�Vv�Gw�w�A��Hr)r%r,r-r.�N)
�__name__�
__module__�__qualname__�__firstlineno__r$r+r5rFrIrTr[�__static_attributes__�
__classcell__)r(s@rrrs+����-���	�!�

�

rrc�0�\rSrSrSrSrSrSrSrSr	g)	�InstallProgress�zVBase class for InstallProgress that supports some fancy
stuff like apport integration
c�x�[RRRR	U5 SUlgr])�apt�progress�baserer$�	master_fdrSs rr$�InstallProgress.__init__�s'���L�L���%�%�.�.�t�4��D�Nrc�J�[R"UR///UR5 UR5 [R"UR[R5up#X R:XaU$M�![Ra,nURS[
R:waeSnAN�SnAff=f![aMnUR
[
R:waeUR
[
R:XaSnAW$SnAN�SnAff=f)z~Wait for child progress to exit.

The return values is the full status returned from os.waitpid()
(not only the return code).
rN)�select�statusfd�select_timeout�error�args�errno�EINTR�update_interface�os�waitpid�	child_pid�WNOHANG�OSError�ECHILD)r'�e�pid�ress    r�
wait_child�InstallProgress.wait_child�s���
���m�m�T�]�]�O�R��T�5H�5H�I��
�
�
!���:�:�d�n�n�b�j�j�A�j�s����&���j�'�
�����������e�k�k�)��*���������E�K�K�'�����E�L�L�(��
�j�)���s0�.B�AC�C�"C�C�
D"�=D�D"c��UR5nUS:Xae[R"[R[R5 UR	UR
5n[R"W5 X l[R""UR%55nU$![a�n[SU5 [R"S5 [SS5nUR[U55 SSS5 O!,(df   O=f[R"UR5 SnAN�SnAff=f)Nrz!Exception during pm.DoInstall(): zException during pm.DoInstall()z./var/run/ubuntu-release-upgrader-apt-exception�w)�fork�signal�SIGPIPE�SIG_IGN�
do_install�writefd�	Exception�printr8�	exception�open�write�strrv�_exit�
RESULT_FAILEDrx�WEXITSTATUSr)r'�pmr}r~r|�fs      r�run�InstallProgress.run�s���
�)�)�+�C�
�a�x�
�m�m�F�N�N�6�>�>�2�#��m�m�D�L�L�)��	�h�h�s�m��N�
�.�.����*�
+�C��J���#�
�1�1�5����;�<�
�B�3�
G�1�
�G�G�C��F�O�H�
G�
G��
����!�!�"�"��#�s0�B(�(
D?�2.D:� D�;	D:�
D	�'D:�:D?c���[RRRR	XU5 [
R"SU<SU<S35 SU;a[RRU5nURS5SR5(a#SRURS5SS5nS	U;aURS	5Sn[X5 g)
zinstall error from a package z!got an error from dpkg for pkg: 'z': '�'�/�-rrNr)
rhrirjrerqr8rv�path�basename�split�isdigit�joinr)r'�pkg�errormsgs   rrq�InstallProgress.error�s����L�L���%�%�+�+�D�x�@��M�M�#�x�P�Q�
�c�z��G�G���S�!�c�
�y�y��~�a�� � �"�"�
�J�J�s�y�y��~�a�b�)�*�c�
�c�z��I�I�c�N�1��c��c�$r)rxrkN)
r^r_r`ra�__doc__r$rr�rqrbrDrrrere�s�����0�&%rrec��\rSrSrSSjrSrg)�DumbTerminal�c�.�SSKnURU5 g)z6expects a command in the subprocess style (as a list) rN)�
subprocess�call)r'�cmd�hiddenr�s    rr��DumbTerminal.call�s�������rrDN�F)r^r_r`rar�rbrDrrr�r��s��rr�c�&�\rSrSrSrSrSrSrg)�SampleHtmlView�c��gr]rD)r'�urls  rr��SampleHtmlView.open�s��rc��gr]rDrSs r�show�SampleHtmlView.show����
rc��gr]rDrSs r�hide�SampleHtmlView.hider�rrDN)r^r_r`rar�r�r�rbrDrrr�r��s��
��rr�c�0�\rSrSrSrSrSrSrSrSr	Sr
S	rg
)�Stepir�r����rDN)r^r_r`ra�PREPARE�MODIFY_SOURCES�FETCH�INSTALL�CLEANUP�REBOOT�NrbrDrrr�r�s%���G��N�
�E��G��G�
�F�	�Arr�zPreparing to upgradezGetting new software channelszGetting new packageszInstalling the upgradeszCleaning upc��\rSrSrSrSrSrSrSSjrSr	S	r
S
rSrSr
S
rSrSSjrSSjrSSjrSrSrSrSSjrSSjrSrSSjrSrg)�DistUpgradeViewiz!abstraction for the upgrade view c��SUlg)NF)�needs_screenrSs rr$�DistUpgradeView.__init__s
��!���rc�R�[RRR5$)z4return a OpProgress() subclass for the given graphic)rhrirj�
OpProgressrSs r�getOpCacheProgress�"DistUpgradeView.getOpCacheProgresss���|�|� � �+�+�-�-rc��[5$)z"return an acquire progress object )rrSs r�getAcquireProgress�"DistUpgradeView.getAcquireProgress���� � rNc��[5$)z!return a install progress object )re)r'�caches  r�getInstallProgress�"DistUpgradeView.getInstallProgress r�rc��[5$r])r�rSs r�getTerminal�DistUpgradeView.getTerminal#s
���~�rc��[5$r])r�rSs r�getHtmlView�DistUpgradeView.getHtmlView%s����rc��g)zGupdate the current status of the distUpgrade based
on the current view
NrD)r'�msgs  r�updateStatus�DistUpgradeView.updateStatus's��	
rc��g)z7provide a visual feedback that the upgrade was aborted NrDrSs r�abort�DistUpgradeView.abort,���rc�J�[5RUR5 g)z�we have 6 steps current for a upgrade:
1. Analyzing the system
2. Updating repository information
3. fetch packages
3. Performing the upgrade
4. Post upgrade stuff
5. Complete
N)�
get_telemetry�	add_stage�name�r'�steps  r�setStep�DistUpgradeView.setStep/s��	��!�!�$�)�)�,�rc��g)z!hide a certain step from the GUI NrDr�s  r�hideStep�DistUpgradeView.hideStep:r�rc��g)z!show a certain step from the GUI NrDr�s  r�showStep�DistUpgradeView.showStep=r�rc��SUl/Ul/Ul/Ul/Ul/Ul/UlUGH=nUR(aURRU5 M2UR(aURRU5 M`UR(aURRU5 M�UR(aoURRRUR5(aUR
RU5 M�URRU5 GMUR (dGM"URRU5 GM@ URUR-UlURR#5 URR#5 URR#5 UR
R#5 URR#5 Sn[%UR5[%UR
5-n[%UR5[%UR5-n	[%UR5n
US:�aU['SSU5U--
nUS-
nU	S:�aU['SSU	5U	--
nUS-
nU
S:�aU['S	S
U
5U
--
nUS-
nUS:�ar[(R*"U5n[-U[.5(aUR1[25nU[5S5U--
nXpR75R9U5-
nX�-S:�aRX�-U-S:�aGUR75R;5(aUS
[5S5--
nO)US
[5S5--
nOUS:�aUS
[5S5--
nX�-U-S:a([5S5n[5S5nUR=X5 gXplg)zXdisplay the list of changed packages (apt.Package) and
return if the user confirms them
r	�
rz"%d package is going to be removed.z$%d packages are going to be removed.� z(%d new package is going to be installed.z*%d new packages are going to be installed.z#%d package is going to be upgraded.z%%d packages are going to be upgraded.z&

You have to download a total of %s. �dz

%sznInstalling the upgrade can take several hours. Once the download has finished, the process cannot be canceled.z{Fetching and installing the upgrade can take several hours. Once the download has finished, the process cannot be canceled.z.Removing the packages can take several hours. rz,The software on this computer is up to date.zRThere are no upgrades available for your system. The upgrade will now be canceled.FT)�confirmChangesMessage�	toInstall�toReinstall�	toUpgrade�toRemove�toRemoveAuto�toDowngrade�marked_install�append�marked_upgrade�marked_reinstall�
marked_delete�_pcache�	_depcache�is_auto_installed�_pkg�marked_downgrade�sort�lenrr6�size_to_str�
isinstance�bytes�decode�ENCODINGrr�r[rTrq)r'�summary�changes�downloadSize�actions�removal_boldr�r��pkgs_remove�	pkgs_inst�pkgs_upgrade�downloadSizeStrs            r�confirmChanges�DistUpgradeView.confirmChanges@s���
&(��"������������
��������C��!�!��n�n�#�#�C�(��#�#��n�n�#�#�C�(��%�%����%�%�c�*��"�"����&�&�8�8����B�B��!�!�(�(��-��
�
�$�$�S�)��%�%�%����%�%�c�*�����$�*:�*:�:����������������
�
��������� ����������$�-�-�(�3�t�/@�/@�+A�A������'�#�d�.>�.>�*?�?�	��4�>�>�*����?���>�@�%�'�)4�5�5�#���*�#��q�=�

��'�'�'0�2�5>�>�>�#���*�#��!��

��?�A�&�(�*6�7�7�#���)�#��!��#�/�/��=�/�
���
/�
/� /� 6� 6�x� @�o�

��=�>����#�

�(�(�*�@�@��N�
N�#�
�
%��*�,�2J�[�2X�\_�1_�
�
$�
$�
&�
?�
?�
A�
A��8�a�"Q�R�R�
R�C�
�8�a�"Q�R�R�
R�C��3�
��8�a�"<�=�=�
=�C�
�$�{�2�a�7��D�E�'��6�7�#�
�*�*�W�
"��%(�"�rc��g)z/ask a Yes/No question and return True on 'Yes' NrD�r'rr��defaults    r�askYesNoQuestion� DistUpgradeView.askYesNoQuestion�r�rc��g)z<ask a Cancel/Continue question and return True on 'Continue'NrDrs    r�askCancelContinueQuestion�)DistUpgradeView.askCancelContinueQuestion�r�rc�P�[S5n[S5nURX5$)z1generic ask about the restart, can be overridden zReboot requiredzMThe upgrade is finished and a reboot is required. Do you want to do this now?)rr)r'rr�s   r�confirmRestart�DistUpgradeView.confirmRestart�s/���%�&�������$�$�W�2�2rc�h�[S5n[S5n[S5nURXU5$)NzAction requiredz9Exit all other instances of Ubuntu WSL before continuing.z'Unsaved progress may otherwise be lost.�r�information�r'rr��extendeds    r�adviseExitOtherWSL�"DistUpgradeView.adviseExitOtherWSL�s6���%�&���K�L���>�?������h�7�7rc�h�[S5n[S5n[S5nURXU5$)NzWSL restart requiredz!Exit this instance of Ubuntu WSL.z"The upgrade will then be complete.r(r*s    r�adviseRestartWSL� DistUpgradeView.adviseRestartWSL�s6���*�+���3�4���9�:������h�7�7rc��g)zdisplay a error NrD�r'rr��extended_msgs    rrq�DistUpgradeView.error�r�rc��g)zdisplay a information msgNrDr2s    rr)�DistUpgradeView.information�r�rc��g)zDprocess gui events (to keep the gui alive during a long
computation NrDrSs r�
processEvents�DistUpgradeView.processEvents�s��	
rc��g)zGdo a progress pulse (e.g. bounce a bar back and forth, show
a spinner)
NrD)r'�finisheds  r�
pulseProgress�DistUpgradeView.pulseProgress�s��r)r�r�r�r�r�r�r�r�r]rC)�No)�Cancelr�)r^r_r`rar�r$r�r�r�r�r�r�r�r�r�r�rrr"r%r,r/rqr)r8r<rbrDrrr�r�su��(�
�.�!�!�� �
�

�

�
�
�37�W�r
�
�3�8�
8�

�
�
�rr�)(�DistUpgradeGettextrrr�	telemetryrr�rh�enumrrsrvr6�localer8r�rn�DistUpgradeApportr�	setlocale�LC_ALL�getdefaultlocale�coderr��putenvr
rq�info�	getlocalerrirjrre�objectr�r�r�r�rDrr�<module>rMs���,-�(�+�
���	��
��
�
�0��
���V�]�]�B�'��.�.�0��T�8���H��I�I�j�)�$�
�������)�4����
 �6�#3�#3�#5�
5�6�A�H2
�c�l�l�'�'�7�7�2
�l>%�c�l�l�'�'�7�7�>%�@�6���V��
�4�
�����#�$��������M��	�j�f�j��Y����3�4��H���<�<�
��
�s�1E6�F�6F�F%�$F%

Filemanager

Name Type Size Permission Actions
DistUpgradeApport.cpython-313.pyc File 6.12 KB 0644
DistUpgradeCache.cpython-313.pyc File 59.35 KB 0644
DistUpgradeConfigParser.cpython-313.pyc File 4.2 KB 0644
DistUpgradeController.cpython-313.pyc File 101.91 KB 0644
DistUpgradeFetcher.cpython-313.pyc File 7.21 KB 0644
DistUpgradeFetcherCore.cpython-313.pyc File 12.6 KB 0644
DistUpgradeFetcherKDE.cpython-313.pyc File 10.51 KB 0644
DistUpgradeGettext.cpython-313.pyc File 2.68 KB 0644
DistUpgradeMain.cpython-313.pyc File 10.22 KB 0644
DistUpgradeQuirks.cpython-313.pyc File 49.98 KB 0644
DistUpgradeVersion.cpython-313.pyc File 186 B 0644
DistUpgradeView.cpython-313.pyc File 21.06 KB 0644
DistUpgradeViewGtk3.cpython-313.pyc File 48.36 KB 0644
DistUpgradeViewKDE.cpython-313.pyc File 53.71 KB 0644
DistUpgradeViewNonInteractive.cpython-313.pyc File 17.46 KB 0644
DistUpgradeViewText.cpython-313.pyc File 13.41 KB 0644
GtkProgress.cpython-313.pyc File 4.58 KB 0644
MetaRelease.cpython-313.pyc File 18.05 KB 0644
QUrlOpener.cpython-313.pyc File 3 KB 0644
ReleaseNotesViewer.cpython-313.pyc File 8.47 KB 0644
ReleaseNotesViewerWebkit.cpython-313.pyc File 2.53 KB 0644
SimpleGtk3builderApp.cpython-313.pyc File 2.36 KB 0644
SimpleGtkbuilderApp.cpython-313.pyc File 2.34 KB 0644
__init__.cpython-313.pyc File 151 B 0644
apt_btrfs_snapshot.cpython-313.pyc File 17.36 KB 0644
dist-upgrade.cpython-313.pyc File 347 B 0644
telemetry.cpython-313.pyc File 4.72 KB 0644
utils.cpython-313.pyc File 22.68 KB 0644
xorg_fix_proprietary.cpython-313.pyc File 5.96 KB 0644
Filemanager