Xiaoqiang0 (Talk | contribs) |
Xiaoqiang0 (Talk | contribs) (→package && pattern && patch) |
||
| Line 11: | Line 11: | ||
==zypper== | ==zypper== | ||
===package && pattern && patch === | ===package && pattern && patch === | ||
| - | '''Package''' - a type of file format where software programs and installation material is grouped together | + | '''Package''' - Software package, which is a type of file format where software programs and installation material is grouped together. Patches and patternsare also commonly referred to as different types of packages. |
| - | ''' | + | '''Patch''' - Represents a package or a group of packages needed to install an update (a bug fix mostly). |
| + | |||
| + | '''patterns''' - Represents a group of packages. Just like the group concept in yum repo. It’s a group of packages belong to one type. Such as Graphics, development, etc | ||
| - | |||
=== Repository Management === | === Repository Management === | ||
All software on MeeGo is divided into RPM packages, which can be installed, upgraded, or removed. This part describes how to manage packages using both zypper and the PackageKit suite of graphical package management tools.
Contents |
The whole stack has RPM at the lowest level.RPM is type of package management system. On top of RPM is Zypp software management library for RPM-based systems. It's also know by it‘s package name, libzypp.
on top of libzypp, there are various user interfaces or Package Management UI, like Zypper and YaST, the PackageKit Zypp backend, which enables the use of any PackageKit application.
Package - Software package, which is a type of file format where software programs and installation material is grouped together. Patches and patternsare also commonly referred to as different types of packages.
Patch - Represents a package or a group of packages needed to install an update (a bug fix mostly).
patterns - Represents a group of packages. Just like the group concept in yum repo. It’s a group of packages belong to one type. Such as Graphics, development, etc
There are several ways in which you can choose packages for installation or removal.
zypper in gnome-packagekit zypper in qt
zypper in 'zypper<0.12.10' zypper in zypper.i586=0.12.11
zypper in -n ftp
zypper in oss:zypper
zypper in *meegotouch*
zypper install pkgname
zypper remove pkgname
zypper search --help zypper se -dC --match-words RSI # look for RSI acronym (case-sensitively), also in summaries and descriptions zypper se 'yast*' # show all packages starting with 'yast' (beware of shell expansion, quote the strings if unsure!) zypper se -r packman # list all packages from 'packman' repository zypper se -i sqlite # show all installed packages containing 'sqlite' in their name zypper se -t pattern -r repo-oss # list all patterns available in the 'repo-oss' repository zypper se -t product # list all available products
In order to obtaining information about packages, the following command can be used:
zypper info PackageKit #displays detailed information about package named 'PackageKit' zypper info -t patch MozillaFirefox # show information about 'MozillaFirefox' patch zypper patch-info MozillaFirefox # the same as above zypper info -t pattern lamp_server # show info about 'lamp_server' pattern zypper info -t product openSUSE-FTP # show info about specified product
Gnome PackageKit can be available on NetBook and IVI.
In the Software Updates window, all available updates are listed along with the names of the packages being updated (minus the .rpm suffix, but including the CPU architecture), a short summary of the package, and, usually, short descriptions of the changes the update provides. Any updates you do not wish to install can be de-selected here by unchecking the checkbox corresponding to the update.
PackageKit's Software Update GUI window is a separate application from its Add/Remove Software application, although the two have intuitively similar interfaces.
For Package Management component issue, please catch more logs and attach them when you reporting a bug. For PackageKit or Package Manager UI issue Steps to get logs:
#killall -9 packagekitd #/usr/libexec/packagekitd -v >packagekitd.log
For Zypper issue while you using zypper command, using the following steps to get logs:
#rm /var/log/zypper.log -f
#export ZYPP_LIBSAT_FULLLOG=1 #zypper xxx yyy
or using the following log level
#export ZYPP_FULLLOG=1 #zypper xxx yyy