$21 GRAYBYTE WORDPRESS FILE MANAGER $76

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/lib/python3.6/site-packages/dnf/cli/commands/

HOME
Current File : /lib/python3.6/site-packages/dnf/cli/commands//distrosync.py
# distrosync.py
# distro-sync CLI command.
#
# Copyright (C) 2012-2016 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions of
# the GNU General Public License v.2, or (at your option) any later version.
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY expressed or implied, including the implied warranties of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
# Public License for more details.  You should have received a copy of the
# GNU General Public License along with this program; if not, write to the
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.  Any Red Hat trademarks that are incorporated in the
# source code or documentation are not subject to the GNU General Public
# License and may only be used or replicated with the express permission of
# Red Hat, Inc.
#

from __future__ import absolute_import
from dnf.cli import commands
from dnf.i18n import _


class DistroSyncCommand(commands.Command):
    """A class containing methods needed by the cli to execute the
    distro-synch command.
    """

    aliases = ('distro-sync', 'distrosync', 'distribution-synchronization', 'dsync')
    summary = _('synchronize installed packages to the latest available versions')

    @staticmethod
    def set_argparser(parser):
        parser.add_argument('package', nargs='*', help=_('Package to synchronize'))

    def configure(self):
        demands = self.cli.demands
        demands.sack_activation = True
        demands.available_repos = True
        demands.resolving = True
        demands.root_user = True
        commands._checkGPGKey(self.base, self.cli)
        commands._checkEnabledRepo(self.base, self.opts.package)

    def run(self):
        return self.base.distro_sync_userlist(self.opts.package)

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
14 Aug 2025 9.25 PM
root / root
0755
__pycache__
--
14 Aug 2025 9.25 PM
root / root
0755
__init__.py
31.37 KB
12 Apr 2021 10.26 PM
root / root
0644
alias.py
6.922 KB
12 Apr 2021 10.26 PM
root / root
0644
autoremove.py
2.975 KB
12 Apr 2021 10.26 PM
root / root
0644
check.py
7.062 KB
12 Apr 2021 10.26 PM
root / root
0644
clean.py
4.363 KB
12 Apr 2021 10.26 PM
root / root
0644
deplist.py
1.475 KB
12 Apr 2021 10.26 PM
root / root
0644
distrosync.py
1.905 KB
12 Apr 2021 10.26 PM
root / root
0644
downgrade.py
2.271 KB
12 Apr 2021 10.26 PM
root / root
0644
group.py
14.653 KB
11 Mar 2025 4.47 PM
root / root
0644
history.py
17.536 KB
11 Mar 2025 4.47 PM
root / root
0644
install.py
7.581 KB
12 Apr 2021 10.26 PM
root / root
0644
makecache.py
1.856 KB
12 Apr 2021 10.26 PM
root / root
0644
mark.py
3.453 KB
12 Apr 2021 10.26 PM
root / root
0644
module.py
16.462 KB
12 Apr 2021 10.26 PM
root / root
0644
reinstall.py
4.091 KB
12 Apr 2021 10.26 PM
root / root
0644
remove.py
6.479 KB
12 Apr 2021 10.26 PM
root / root
0644
repolist.py
12.619 KB
12 Apr 2021 10.26 PM
root / root
0644
repoquery.py
33.712 KB
12 Apr 2021 10.26 PM
root / root
0644
search.py
6.158 KB
12 Apr 2021 10.26 PM
root / root
0644
shell.py
9.605 KB
12 Apr 2021 10.26 PM
root / root
0644
swap.py
2.362 KB
12 Apr 2021 10.26 PM
root / root
0644
updateinfo.py
18.549 KB
12 Apr 2021 10.26 PM
root / root
0644
upgrade.py
4.623 KB
12 Apr 2021 10.26 PM
root / root
0644
upgrademinimal.py
1.757 KB
12 Apr 2021 10.26 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF