Update

From Gnuffy

Jump to: navigation, search

Update your package list

  spaceman -y

Synchronizes your list of available packages with the current list from the pkglist-server

Update a single package

To update a single package only, run

  spaceman -i [pkgname]

and spaceman installs the new version (incl. missing dependencies) and removes the old version.

Search for all available updates

To search for any available updates for packages installed on your system, run

  spaceman -u

or

  spaceman -uy

in case you want to update (sync) your list of available packages first.


and spaceman searches for updates. While it searches, it shows some symbols, that might confuse you if you don't know their meaning. Each symbol represents an update candidate - a package from the current package list with a different version than the same package installed on your system. There are four different symbols:

.

means the package is not an update - the version is lower than your installed version.


i

means the package is an update but ignored, because it is registered in /etc/spaceman/ignored.updates


+

means the package is an available update, but offered by a different repository than you used when you installed the package. This package will appear in the list, but will not be selected by default.

+

means the package is an update offered by the same repository you used when you installed the package. This package will appear in the list and is selected by default.

These symbols are not that important. Searching for updates takes a while and printing out symbols about what happens just signals you that actually something happens while you are waiting.

Spaceman considers any package with a higher $pkgver as update. Packages with the same version but higher $pkgrel are considered as update, if the package offered is from the same repository that have been used for installation.

Selecting updates to install

If spaceman finds any updates, it shows you a list to select the updates you want. As said above, any updates coming from the same repository you used when you installed a package is preselected. The list shows six columns: bin/src shows you if the package is offered as binary and/or source version only (by default spaceman installs the binary package if available, but builds from source if no binary package is offered). The second column is the package name. Third column is the offered version and pkgrel. Fourth column is the repository the package is offered by. Fifth column shows the current version, which means the version installed at the moment on your system. Last column show the current repository, where your installed version has come from. Hint: If you cannot see all columns, you can use your cursor-left/right-keys to scroll columns.

You can select/deselect packages to update by using you cursor-up/down- and space-key or by pressing the number/letter given at the beginning of each row. If you don't want to chose updates manually, it is normally safe to continue without changes since this will install preselected packages, which are offered by the same repositories you originally installed from.

Ignored updates

If you haven't selected all available updates the next list is the list of not selected updates. Here you can chose packages you do not want at all. This means they are going to be registered in /etc/spaceman/ignored.updates and will not show again in the list of available updates next time you run "spaceman -u". Once a specific package is ignored, the only way to unignore it, is to edit /etc/spaceman/ignored.updates manually with your texteditor.

Personal tools