All pastes #1988451 Raw Edit

opensuse package management smar

public text v1 · immutable
#1988451 ·published 2010-11-11 20:41 UTC
rendered paste body
smart channel --add channel_Suse11_3.txt

smart channel --add factory_oss name=factory_oss  type=yast2 baseurl=http://download.opensuse.org/factory/repo/oss/ -y

smart channel --add factory_non-oss name=factory_non-oss  type=yast2 baseurl=http://download.opensuse.org/factory/repo/non-oss/ -y

smart channel --add KDE_KDE4_Unstable name=KDE_KDE4_Unstable type=rpm-md baseurl=http://download.opensuse.org/repositories/KDE:/Unstable:/SC/openSUSE_Factory/ -y

smart channel --add system_packagemanager name=system_packagemanager type=rpm-md  baseurl=http://download.opensuse.org/repositories/system:/packagemanager/openSUSE_Factory/ -y

smart config --set rpm-check - signatures=false
smart config --set
smart channel --disable
smart channel --show

smart update
smart upgrade

smart --gui


Martin-HP:/home/martin # smart
Usage: smart command [options] [arguments]

Action commands:
    update
    install
    reinstall
    upgrade
    remove
    check
    fix
    download
    clean

Query commands:
    search
    query
    info
    stats

Setup commands:
    config
    channel
    priority
    mirror
    flag

Run "smart command --help" for more information.

Options:
  --version             Show program's version number and exit
  --config-file=FILE    Configuration file (default is <data-dir>/config)
  --data-dir=DIR        Data directory (default is /var/lib/smart/)
  --log-level=LEVEL     Set the log level to level (debug, info, warning,
                        error)
  --gui                 Use the default graphic interface
  --shell               Use the default shell interface
  --interface=NAME      Use the given interface
  --ignore-locks        Don't respect locking                                                                                 
  -o OPT, --option=OPT  Set the option given by a name=value pair                                                             
                                                                                                                              
Examples:                                                                                                                     
  smart install --help
  smart install pkgname
  smart --gui
  smart --gui install pkgname
  smart --shell


rpm
rpm -Uhv --force 
rpm --rebuilddb
rpm -qa | grep gnome
rpm -aV


zypper 
Martin-HP:/home/martin # zypper
  Usage:
        zypper [--global-options] <command> [--command-options] [arguments]

  Global Options:
        --help, -h              Help.
        --version, -V           Output the version number.
        --config, -c <file>     Use specified config file instead of the default.
        --quiet, -q             Suppress normal output, print only error
                                messages.
        --verbose, -v           Increase verbosity.
        --no-abbrev, -A         Do not abbreviate text in tables.
        --table-style, -s       Table style (integer).
        --rug-compatible, -r    Turn on rug compatibility.
        --non-interactive, -n   Do not ask anything, use default answers
                                automatically.
        --xmlout, -x            Switch to XML output.

        --reposd-dir, -D <dir>  Use alternative repository definition file
                                directory.
        --cache-dir, -C <dir>   Use alternative directory for all caches.
        --raw-cache-dir <dir>   Use alternative raw meta-data cache directory.
        --solv-cache-dir <dir>  Use alternative solv file cache directory.
        --pkg-cache-dir <dir>   Use alternative package cache directory.

     Repository Options:
        --no-gpg-checks         Ignore GPG check failures and continue.
        --gpg-auto-import-keys  Automatically trust and import new repository
                                signing keys.
        --plus-repo, -p <URI>   Use an additional repository.
        --disable-repositories  Do not read meta-data from repositories.
        --no-refresh            Do not refresh the repositories.
        --no-cd                 Ignore CD/DVD repositories.
        --no-remote             Ignore remote repositories.

     Target Options:
        --root, -R <dir>        Operate on a different root directory.
        --disable-system-resolvables
                                Do not read installed packages.

  Commands:
        help, ?                 Print help.
        shell, sh               Accept multiple commands at once.

     Repository Management:
        repos, lr               List all defined repositories.
        addrepo, ar             Add a new repository.
        removerepo, rr          Remove specified repository.
        renamerepo, nr          Rename specified repository.
        modifyrepo, mr          Modify specified repository.
        refresh, ref            Refresh all repositories.
        clean                   Clean local caches.

     Service Management:
        services, ls            List all defined services.
        addservice, as          Add a new service.
        modifyservice, ms       Modify specified service.
        removeservice, rs       Remove specified service.
        refresh-services, refs  Refresh all services.

     Software Management:
        install, in             Install packages.
        remove, rm              Remove packages.
        verify, ve              Verify integrity of package dependencies.
        source-install, si      Install source packages and their build
                                dependencies.
        install-new-recommends, inr
                                Install newly added packages recommended
                                by installed packages.

     Update Management:
        update, up              Update installed packages with newer versions.
        list-updates, lu        List available updates.
        patch                   Install needed patches.
        list-patches, lp        List needed patches.
        dist-upgrade, dup       Perform a distribution upgrade.
        patch-check, pchk       Check for patches.

     Querying:
        search, se              Search for packages matching a pattern.
        info, if                Show full information for specified packages.
        patch-info              Show full information for specified patches.
        pattern-info            Show full information for specified patterns.
        product-info            Show full information for specified products.
        patches, pch            List all available patches.
        packages, pa            List all available packages.
        patterns, pt            List all available patterns.
        products, pd            List all available products.
        what-provides, wp       List packages providing specified capability.

     Package Locks:
        addlock, al             Add a package lock.
        removelock, rl          Remove a package lock.
        locks, ll               List current package locks.
        cleanlocks, cl          Remove unused locks.

     Other Commands:
        versioncmp, vcmp        Compare two version strings.
        targetos, tos           Print the target operating system ID string.
        licenses                Print report about licenses and EULAs of
                                installed packages.

Type 'zypper help <command>' to get command-specific help.

wget 



fsck -c -y -f /dev/sda5