Giter Site home page Giter Site logo

Comments (3)

xilabao avatar xilabao commented on June 12, 2024 1

@Ankita-020696 the program was stopped at below position, you can comment out the "exit 1" and install the "generic_packages" manually.

# grep -C1 "Cannot install some packages" lkp-exec/install
        $LKP_SRC/distro/installer/$distro $generic_packages || {
                echo "Cannot install some packages in $LKP_SRC/distro/depends/${script}"
                exit 1

from lkp-tests.

Ankita-020696 avatar Ankita-020696 commented on June 12, 2024

@Ankita-020696 the program was stopped at below position, you can comment out the "exit 1" and install the "generic_packages" manually.

# grep -C1 "Cannot install some packages" lkp-exec/install
        $LKP_SRC/distro/installer/$distro $generic_packages || {
                echo "Cannot install some packages in $LKP_SRC/distro/depends/${script}"
                exit 1

Is there any generic way so that without commenting, I can use same source for both distributions?

Thanks

from lkp-tests.

xilabao avatar xilabao commented on June 12, 2024

If you met the problem like the below one, you can add the mapping in distro/adaptation/$SYSTEM

commit 699cd9ff57e1935abe3dee1471df5a1dc668cb2b
Author: Tyler Hicks <[email protected]>
Date:   Mon Jan 6 17:31:09 2020 +0000

    distro/adaptation: which is provided by debianutils in Debian/Ubuntu
    
    Fix the following lkp install error:
    
    $ lkp install
    Use: /home/ubuntu/lkp-tests/distro/installer/ubuntu install bc gawk gzip kmod time which automake bison bsdtar|libarchive-tools build-essential bzip2 ca-certificates cpio fakeroot flex gcc git libc6-dev libc6-dev:i386 libipc-run-perl libklibc-dev libssl-dev libtool linux-libc-dev linux-libc-dev:i386 linux-tools-generic make openssl patch rsync ruby ruby-dev wget
    ...
    E: Unable to locate package which
    Cannot install some packages in /home/ubuntu/lkp-tests/distro/depends/lkp
    
    Fixes: 431fc13342bd ("distro/depends/lkp: fix "tests/wrapper: line 23: which: command not found"")
    Signed-off-by: Tyler Hicks <[email protected]>

diff --git a/distro/adaptation/ubuntu b/distro/adaptation/ubuntu
index 76d1ab53..c28eccd3 100644
--- a/distro/adaptation/ubuntu
+++ b/distro/adaptation/ubuntu
@@ -20,3 +20,4 @@ libgflags2v5:libgflags-dev
 perl-modules-5.24:perl-modules-5.26
 libperl5.24:libperl5.26
 pmdk:pmdk-tools
+which: debianutils

from lkp-tests.

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.