Giter Site home page Giter Site logo

Comments (4)

jogness avatar jogness commented on August 17, 2024 1

Please see the "pin" attribute of "pkg":

https://elbe-rfs.org/docs/sphinx/article-elbe-schema-reference.html#type-pkg

If two packages have the same version number, they better be identical.

from elbe.

coveritytest avatar coveritytest commented on August 17, 2024

Using <pkg version="x.y.z"> does not work, it ignores the version and fetches a lower version from another mirror. Then it complains during build:

[INFO] Package List validation
[INFO] -----------------------
[INFO] 
[ERROR] Package 'abc' version '0.2-1' does not match installed version 0.1-1

from elbe.

jogness avatar jogness commented on August 17, 2024

Not really working here. Do I have to pin the mirror itself, too? I set the package here:

<pkg pin="0.16-1">package-xy</pkg>

But it still installs the version 0.13-1 from the first mirror.

2023-11-07T15:19:08.1871879Z elbe: 14.7 2023-11-07T15:19:08.1871958Z [INFO] 2023-11-07T15:19:08.1872046Z [INFO] Apt Sources dump 2023-11-07T15:19:08.1872179Z [INFO] ---------------- 2023-11-07T15:19:08.1872262Z [INFO] 2023-11-07T15:19:08.1872456Z [INFO] deb [trusted=yes arch=amd64] http://ftp-stud.hs-esslingen.de/debian bookworm main 2023-11-07T15:19:08.1872686Z deb [trusted=yes] http://ftp.de.debian.org/debian bookworm non-free non-free-firmware 2023-11-07T15:19:08.1872930Z deb [trusted=yes] http://ftp.de.debian.org/debian-security bookworm-security main non-free non-free-firmware 2023-11-07T15:19:08.1873117Z deb [trusted=yes] https://xxx/debian bookworm main 2023-11-07T15:19:08.1874156Z [INFO] 2023-11-07T15:19:08.1874237Z [INFO] 2023-11-07T15:19:08.1874332Z [INFO] Apt Preferences dump 2023-11-07T15:19:08.1874464Z [INFO] -------------------- 2023-11-07T15:19:08.1874557Z [INFO] 2023-11-07T15:19:08.1874641Z [INFO] 2023-11-07T15:19:08.1874722Z Package: package-xy 2023-11-07T15:19:08.1874822Z Pin: release n=0.16-1 2023-11-07T15:19:08.1874953Z Pin-Priority: 991 2023-11-07T15:19:08.1874995Z 2023-11-07T15:19:08.1875025Z 2023-11-07T15:19:08.1875133Z [INFO] 2023-11-07T15:19:08.1875221Z [INFO] Installed Packages List 2023-11-07T15:19:08.1875367Z [INFO] ----------------------- 2023-11-07T15:19:08.1904000Z [INFO] |package-xy|0.13-1|ftp-stud.hs-esslingen.de stable main

What's am I missing?

First, you never need to pin a higher version. Debian will automatically choose the highest version.

Are you sure your custom repository has the package in it? Is the package for the correct architecture? Is the package for the correct suite? Is it possible to install the package (i.e. are all of its dependencies also available)?

On your embedded system, you should be able to manually install your package with:

$ apt install your-package

I expect that also will not work. But it might provide some information about why.

from elbe.

coveritytest avatar coveritytest commented on August 17, 2024

Issue can be closed, it finally worked.

from elbe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.