Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grep: /etc/setup/installed.db: No such file or directory #122

Open
dakishin opened this issue Mar 13, 2018 · 1 comment
Open

grep: /etc/setup/installed.db: No such file or directory #122

dakishin opened this issue Mar 13, 2018 · 1 comment

Comments

@dakishin
Copy link

dakishin commented Mar 13, 2018

I try to run apt-cyg on debian from gitlab docker. I use gitlab continious integration.

Running with gitlab-runner 10.6.0-rc1 (0a9d5de9)
on docker-auto-scale 72989761
Using Docker executor with image openjdk:8-jdk ...
Pulling docker image openjdk:8-jdk ...
Using docker image sha256:db77212ffe0598207c9d1024d86b64abc332382ebb459c48fd5d5631a4cf2287 for openjdk:8-jdk ...
Running on runner-72989761-project-5731247-concurrent-0 via runner-72989761-srm-1520963570-4d6c124a...
Cloning repository...
Cloning into '/builds/dakishin/dating_mobile'...
Checking out 9ba5b32f as tests...
Skipping Git submodules setup
$ apt-get --quiet update --yes
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:3 http://security.debian.org stretch/updates InRelease [63.0 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://deb.debian.org/debian stretch-updates/main amd64 Packages [8431 B]
Get:7 http://security.debian.org stretch/updates/main amd64 Packages [429 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [9530 kB]
Fetched 10.2 MB in 1s (8352 kB/s)
Reading package lists...
$ apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1 lynx
Reading package lists...
Building dependency tree...
Reading state information...
tar is already the newest version (1.29b-1.1).
tar set to manually installed.
unzip is already the newest version (6.0-21).
wget is already the newest version (1.18-5+deb9u1).
The following additional packages will be installed:
gcc-6-base lib32gcc1 libc6 libc6-i386 libgcc1 libstdc++6 lynx-common
Suggested packages:
glibc-doc libc-l10n locales
The following NEW packages will be installed:
lib32gcc1 lib32stdc++6 lib32z1 libc6-i386 lynx lynx-common
The following packages will be upgraded:
gcc-6-base libc6 libgcc1 libstdc++6
4 upgraded, 6 newly installed, 0 to remove and 25 not upgraded.
Need to get 8182 kB of archives.
After this operation, 19.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian stretch/main amd64 gcc-6-base amd64 6.3.0-18+deb9u1 [180 kB]
Get:2 http://deb.debian.org/debian stretch/main amd64 libstdc++6 amd64 6.3.0-18+deb9u1 [396 kB]
Get:3 http://deb.debian.org/debian stretch/main amd64 libgcc1 amd64 1:6.3.0-18+deb9u1 [38.0 kB]
Get:4 http://deb.debian.org/debian stretch/main amd64 libc6 amd64 2.24-11+deb9u3 [2693 kB]
Get:5 http://deb.debian.org/debian stretch/main amd64 libc6-i386 amd64 2.24-11+deb9u3 [2597 kB]
Get:6 http://deb.debian.org/debian stretch/main amd64 lib32z1 amd64 1:1.2.8.dfsg-5 [88.6 kB]
Get:7 http://deb.debian.org/debian stretch/main amd64 lynx-common all 2.8.9dev11-1 [1098 kB]
Get:8 http://deb.debian.org/debian stretch/main amd64 lib32gcc1 amd64 1:6.3.0-18+deb9u1 [47.8 kB]
Get:9 http://deb.debian.org/debian stretch/main amd64 lib32stdc++6 amd64 6.3.0-18+deb9u1 [411 kB]
Get:10 http://deb.debian.org/debian stretch/main amd64 lynx amd64 2.8.9dev11-1 [632 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8182 kB in 0s (14.9 MB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29516 files and directories currently installed.)
Preparing to unpack .../gcc-6-base_6.3.0-18+deb9u1_amd64.deb ...
Unpacking gcc-6-base:amd64 (6.3.0-18+deb9u1) over (6.3.0-18) ...
Setting up gcc-6-base:amd64 (6.3.0-18+deb9u1) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29516 files and directories currently installed.)
Preparing to unpack .../libstdc++6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking libstdc++6:amd64 (6.3.0-18+deb9u1) over (6.3.0-18) ...
Setting up libstdc++6:amd64 (6.3.0-18+deb9u1) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29516 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a6.3.0-18+deb9u1_amd64.deb ...
Unpacking libgcc1:amd64 (1:6.3.0-18+deb9u1) over (1:6.3.0-18) ...
Setting up libgcc1:amd64 (1:6.3.0-18+deb9u1) ...
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29516 files and directories currently installed.)
Preparing to unpack .../libc6_2.24-11+deb9u3_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Unpacking libc6:amd64 (2.24-11+deb9u3) over (2.24-11+deb9u1) ...
Setting up libc6:amd64 (2.24-11+deb9u3) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Selecting previously unselected package libc6-i386.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29516 files and directories currently installed.)
Preparing to unpack .../0-libc6-i386_2.24-11+deb9u3_amd64.deb ...
Unpacking libc6-i386 (2.24-11+deb9u3) ...
Selecting previously unselected package lib32z1.
Preparing to unpack .../1-lib32z1_1%3a1.2.8.dfsg-5_amd64.deb ...
Unpacking lib32z1 (1:1.2.8.dfsg-5) ...
Selecting previously unselected package lynx-common.
Preparing to unpack .../2-lynx-common_2.8.9dev11-1_all.deb ...
Unpacking lynx-common (2.8.9dev11-1) ...
Selecting previously unselected package lib32gcc1.
Preparing to unpack .../3-lib32gcc1_1%3a6.3.0-18+deb9u1_amd64.deb ...
Unpacking lib32gcc1 (1:6.3.0-18+deb9u1) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../4-lib32stdc++6_6.3.0-18+deb9u1_amd64.deb ...
Unpacking lib32stdc++6 (6.3.0-18+deb9u1) ...
Selecting previously unselected package lynx.
Preparing to unpack .../5-lynx_2.8.9dev11-1_amd64.deb ...
Unpacking lynx (2.8.9dev11-1) ...
Processing triggers for mime-support (3.60) ...
Setting up libc6-i386 (2.24-11+deb9u3) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Setting up lib32z1 (1:1.2.8.dfsg-5) ...
Setting up lynx-common (2.8.9dev11-1) ...
Setting up lib32gcc1 (1:6.3.0-18+deb9u1) ...
Setting up lynx (2.8.9dev11-1) ...
update-alternatives: using /usr/bin/lynx to provide /usr/bin/www-browser (www-browser) in auto mode
Setting up lib32stdc++6 (6.3.0-18+deb9u1) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
$ lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg
$ install apt-cyg /bin
$ apt-cyg install nano
/bin/apt-cyg: line 1: Looking: command not found
awk: cannot open /etc/setup/setup.rc (No such file or directory)
awk: cannot open /etc/setup/setup.rc (No such file or directory)
/x86_64/setup.bz2: Scheme missing.
Error updating setup.ini, reverting
grep: /etc/setup/installed.db: No such file or directory
Installing nano
Unable to locate package nano
ERROR: Job failed: exit code 1

@rahuldottech
Copy link

You appear to be trying to install and use apt-cyg on linux. apt-cyg is for use with Cygwin on Windows PCs, you already have apt-get on linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants