From Paldo

Jump to: navigation, search

paldo has it's own package management system called upkg. This article should help you to get an overview of the possibilities upkg provides.

[edit] Translations

  • English

[edit] Upkg command reference

Command Description Example
Package Installation
upkg-add adds a package upkg-add jre
upkg-build builds a package upkg-build jre
upkg-buildd package build daemon
upkg-install installs a package upkg-install jre
upkg-reinstall reinstalls a package upkg-reinstall jre
Package Deinstallation
upkg-remove removes a package upkg-remove jre
Package Monitoring
upkg-check checks whether a package is correctly installed upkg-check jre
upkg-list lists all installed packages on your paldo system upkg-list
upkg-search searches for a file upkg-search java
upkg-show shows all files of an installed package upkg-show jre
System Installation
upkg-bootstrap installs paldo system upkg-bootstrap --branch=stable paldo-desktop
upkg-chroot command to change into the root folder upkg-chroot /upkg
upkg-repair-index repairs upkg package index upkg-repair-index
upkg-upgrade upgrades your paldo system upkg-upgrade
upkg-repo lists repository sources
upkg-sync synchronizes package repositories
upkg-xref lists all installed files and the corresponding package

[edit] Upkg tip - remove multiple packages at once

Sometimes you need to remove multiple packages from a system. Invoking upkg-remove foo for every package is a bit annoying. However it is not yet possible to remove multiple packages using wildcards in the package name paramter. You can however use the following steps to remove multiple packages using upkg in one move. Let's say, you run a 2.6.23.x kernel and would like to remove all 2.6.22.x kernel images as an example.

  • cd /var/lib/upkg/packages
  • find . -name '*linux-2.6-2.6.22.*.select' | xargs rm
  • upkg-upgrade

The important step is to remove the .select file of the unwanted packages and then run upkg-upgrade to get the packages removed.

Personal tools