Installing alien package

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Future package management system wish: more)
(Future package management system wish: chg)
Line 18: Line 18:
 
*Not tested
 
*Not tested
 
*Tested
 
*Tested
** Breaks og permanently damages the installation (system can not (re)boot,...)
+
** Damage-level:
** Do non-permanent damage (uninstall recovers the installation)
+
*** Breaks og permanently damages the installation (system can not (re)boot,...)
** Superficially works
+
*** Do non-permanent damage (uninstall recovers the installation)
** Unstable
+
** Feedback:
** Testing
+
*** Superficially works
** Stable
+
*** Works great
** Works great
+
** Designed to work with this fundamental distribution with the version number/revision:
** Designed to work with this fundamental distribution with the version number/revision - "native".
+
*** Unstable
 +
*** Testing
 +
*** Stable
 
** ...
 
** ...
  
 
[[Category:Package management| ]]
 
[[Category:Package management| ]]

Revision as of 11:26, 26 July 2009

Problem

The problem is that some packages exist in both the fundamental distribution - and other repositories - with same names, but (newer) with other dependencies, other source code includes and other compilation options, which can and often will break the installation.

So e.g. do not use "opkg upgrade" when non-distribution (e.g. non-OM2009) repositories are included. It often breaks the installation.

Solution hack?

Please surround the non-distribution package (alien) install with:

  1. Addition of the required repository
  2. opkg update # Update database.
  3. Install the package(s)
  4. remove the non-distribution repository from opkg. E.g. "rm /etc/opkg/opkg-feed.conf"
  5.  ? Is this required?: opkg update # Update database with only the fundamental distribution packages?

Future package management system wish

Wish: Actually the package management system should cope with it. The fundamental distribution with a given version number/revision should have higher precedence, and other repositories should have lesser precedence. Maybe the best would be that the package had a distribution list in which it can be "fundamental".

Maybe the package management system should consult a check post, so an installer can be informed before installation of the package on the given fundamental distribution:

  • Not tested
  • Tested
    • Damage-level:
      • Breaks og permanently damages the installation (system can not (re)boot,...)
      • Do non-permanent damage (uninstall recovers the installation)
    • Feedback:
      • Superficially works
      • Works great
    • Designed to work with this fundamental distribution with the version number/revision:
      • Unstable
      • Testing
      • Stable
    • ...
Personal tools

Problem

The problem is that some packages exist in both the fundamental distribution - and other repositories - with same names, but (newer) with other dependencies, other source code includes and other compilation options, which can and often will break the installation.

So e.g. do not use "opkg upgrade" when non-distribution (e.g. non-OM2009) repositories are included. It often breaks the installation.

Solution hack?

Please surround the non-distribution package (alien) install with:

  1. Addition of the required repository
  2. opkg update # Update database.
  3. Install the package(s)
  4. remove the non-distribution repository from opkg. E.g. "rm /etc/opkg/opkg-feed.conf"
  5.  ? Is this required?: opkg update # Update database with only the fundamental distribution packages?

Future package management system wish

Wish: Actually the package management system should cope with it. The fundamental distribution with a given version number/revision should have higher precedence, and other repositories should have lesser precedence. Maybe the best would be that the package had a distribution list in which it can be "fundamental".

Maybe the package management system should consult a check post, so an installer can be informed before installation of the package on the given fundamental distribution:

  • Not tested
  • Tested
    • Breaks og permanently damages the installation (system can not (re)boot,...)
    • Do non-permanent damage (uninstall recovers the installation)
    • Superficially works
    • Unstable
    • Testing
    • Stable
    • Works great
    • Designed to work with this fundamental distribution with the version number/revision - "native".
    • ...