GithubHelp home page GithubHelp logo

Comments (15)

boredland avatar boredland commented on May 28, 2024 1

Well, I manually removed the conflicting files and upgraded glibc, does that fit for you? Probably that was the reason glibc was on the ignore list after all.

from manjaro-docker.

boredland avatar boredland commented on May 28, 2024

Ya, that is very broken. Will attempt a fix.

from manjaro-docker.

boredland avatar boredland commented on May 28, 2024

I think this should work now with the latest glibc. Would you mind checking this again?

from manjaro-docker.

sileshn avatar sileshn commented on May 28, 2024

glibc is updated successfully.

There is a new issue. bsdtar now displays bsdtar: Failed to set default locale when run. It started from builds from 27th Feb.

Output of locale.

locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

from manjaro-docker.

Menci avatar Menci commented on May 28, 2024

I set LocalSignatureLevel to Never with sed, and upgraded glibc manually. Then it works.

I think we should stop setting glibc in IgnorePkgs.

from manjaro-docker.

boredland avatar boredland commented on May 28, 2024

I removed glibc from ignorepkgs. So I am very confused about what you say.

from manjaro-docker.

Menci avatar Menci commented on May 28, 2024

OK now the latest Docker image works. Thanks.

(I forgot to pull a new image at my previous reply 5 hrs ago.)

from manjaro-docker.

boredland avatar boredland commented on May 28, 2024

Failed to set default locale

I have no idea why an update would cause that, but guess running locale-gen would fix it? Will try and rebuild with that.

from manjaro-docker.

sileshn avatar sileshn commented on May 28, 2024

Failed to set default locale

I have no idea why an update would cause that, but guess running locale-gen would fix it? Will try and rebuild with that.

Yes, that should work. But the issue is that all locales in the locale.gen file are disabled, so running locale-gen has no effect. I enabled en_US.UTF-8 UTF-8 and generated locales again and the problem was gone.

from manjaro-docker.

boredland avatar boredland commented on May 28, 2024

well, would you mind creating a PR with your changes? Just replace this line here:
https://github.com/manjaro/manjaro-docker/blob/main/Dockerfile#L63

from manjaro-docker.

sileshn avatar sileshn commented on May 28, 2024

I have sent you a PR. You may make changes if required.

I have personally tested that it works by building a docker image.

from manjaro-docker.

boredland avatar boredland commented on May 28, 2024

Nice, so in latest, everything should work ootb.

from manjaro-docker.

sileshn avatar sileshn commented on May 28, 2024

Yup

from manjaro-docker.

Menci avatar Menci commented on May 28, 2024

I believe there're still something broken here in the latest image:

# docker pull manjarolinux/base
Using default tag: latest
latest: Pulling from manjarolinux/base
27e6315a22dc: Pull complete
11997a376c61: Pull complete
8c7d44d573ce: Pull complete
f7048776e89e: Pull complete
26ffe553b3b8: Pull complete
5556144558ca: Pull complete
fdb8e3c357e2: Pull complete
Digest: sha256:51edbf31ba25e783f5312433ebcfc32eba45e828396f950a7acc2c22b09f3771
Status: Downloaded newer image for manjarolinux/base:latest
docker.io/manjarolinux/base:latest
# docker run -it --rm manjarolinux/base
[root@1e3535d8f65f /]# pamcna^C
[root@1e3535d8f65f /]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (34) ca-certificates-mozilla-3.75-1  e2fsprogs-1.46.5-3  elfutils-0.186-5  expat-2.4.6-1  gdbm-1.23-1  glib2-2.70.4-1  glibc-2.35-2  gpgme-1.17.0-2  iana-etc-20220205-1
              json-c-0.15-3  libarchive-3.6.0-1  libcap-2.63-2  libcap-ng-0.8.2-7  libelf-0.186-5  libmpc-1.2.1-2  libnghttp2-1.47.0-1  libnsl-2.0.0-2  libsecret-0.20.5-1
              libsysprof-capture-3.42.1-3  libxcrypt-4.4.28-2  libxml2-2.9.13-1  linux-api-headers-5.16.8-1  mpfr-4.1.0.p13-2  ncurses-6.3-2  nettle-3.7.3-1.1  python-idna-3.3-4
              python-pyparsing-3.0.0-1  python-requests-2.27.1-1  python-setuptools-1:59.3.0-1  sqlite-3.38.0-1  systemd-libs-250.3-4  tpm2-tss-3.2.0-1  util-linux-2.37.4-1
              util-linux-libs-2.37.4-1

Total Download Size:    26.54 MiB
Total Installed Size:  137.76 MiB
Net Upgrade Size:        5.45 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 glibc-2.35-2-aarch64                                                              8.9 MiB  10.4 MiB/s 00:01 [################################################################] 100%
 glib2-2.70.4-1-aarch64                                                            2.5 MiB  31.6 MiB/s 00:00 [################################################################] 100%
 util-linux-2.37.4-1-aarch64                                                       2.3 MiB  23.9 MiB/s 00:00 [################################################################] 100%
 sqlite-3.38.0-1-aarch64                                                        1600.6 KiB  19.5 MiB/s 00:00 [################################################################] 100%
 ncurses-6.3-2-aarch64                                                          1359.1 KiB  17.5 MiB/s 00:00 [################################################################] 100%
 libxml2-2.9.13-1-aarch64                                                       1217.3 KiB  16.5 MiB/s 00:00 [################################################################] 100%
 linux-api-headers-5.16.8-1-any                                                 1106.9 KiB  14.2 MiB/s 00:00 [################################################################] 100%
 e2fsprogs-1.46.5-3-aarch64                                                     1100.1 KiB  14.9 MiB/s 00:00 [################################################################] 100%
 tpm2-tss-3.2.0-1-aarch64                                                        722.4 KiB  9.80 MiB/s 00:00 [################################################################] 100%
 python-setuptools-1:59.3.0-1-any                                                533.5 KiB  6.85 MiB/s 00:00 [################################################################] 100%
 systemd-libs-250.3-4-aarch64                                                    517.6 KiB  7.02 MiB/s 00:00 [################################################################] 100%
 elfutils-0.186-5-aarch64                                                        496.5 KiB  5.77 MiB/s 00:00 [################################################################] 100%
 libarchive-3.6.0-1-aarch64                                                      471.3 KiB  6.77 MiB/s 00:00 [################################################################] 100%
 libelf-0.186-5-aarch64                                                          438.6 KiB  5.95 MiB/s 00:00 [################################################################] 100%
 nettle-3.7.3-1.1-aarch64                                                        422.0 KiB  6.06 MiB/s 00:00 [################################################################] 100%
 gpgme-1.17.0-2-aarch64                                                          409.3 KiB  5.55 MiB/s 00:00 [################################################################] 100%
 iana-etc-20220205-1-any                                                         374.4 KiB  5.38 MiB/s 00:00 [################################################################] 100%
 util-linux-libs-2.37.4-1-aarch64                                                373.8 KiB  5.07 MiB/s 00:00 [################################################################] 100%
 ca-certificates-mozilla-3.75-1-aarch64                                          334.0 KiB  4.08 MiB/s 00:00 [################################################################] 100%
 mpfr-4.1.0.p13-2-aarch64                                                        298.5 KiB  3.64 MiB/s 00:00 [################################################################] 100%
 gdbm-1.23-1-aarch64                                                             252.8 KiB  3.43 MiB/s 00:00 [################################################################] 100%
 libsecret-0.20.5-1-aarch64                                                      172.0 KiB  2.21 MiB/s 00:00 [################################################################] 100%
 python-pyparsing-3.0.0-1-any                                                    151.3 KiB  1645 KiB/s 00:00 [################################################################] 100%
 expat-2.4.6-1-aarch64                                                           102.2 KiB  1419 KiB/s 00:00 [################################################################] 100%
 python-requests-2.27.1-1-any                                                     89.0 KiB  1236 KiB/s 00:00 [################################################################] 100%
 libnghttp2-1.47.0-1-aarch64                                                      88.0 KiB  1223 KiB/s 00:00 [################################################################] 100%
 libxcrypt-4.4.28-2-aarch64                                                       85.8 KiB  1262 KiB/s 00:00 [################################################################] 100%
 libcap-2.63-2-aarch64                                                            80.0 KiB  1110 KiB/s 00:00 [################################################################] 100%
 python-idna-3.3-4-any                                                            70.8 KiB  1042 KiB/s 00:00 [################################################################] 100%
 libmpc-1.2.1-2-aarch64                                                           68.0 KiB   894 KiB/s 00:00 [################################################################] 100%
 json-c-0.15-3-aarch64                                                            50.9 KiB   636 KiB/s 00:00 [################################################################] 100%
 libsysprof-capture-3.42.1-3-aarch64                                              45.0 KiB   625 KiB/s 00:00 [################################################################] 100%
 libcap-ng-0.8.2-7-aarch64                                                        40.6 KiB   461 KiB/s 00:00 [################################################################] 100%
 libnsl-2.0.0-2-aarch64                                                           20.7 KiB   287 KiB/s 00:00 [################################################################] 100%
 Total (34/34)                                                                    26.5 MiB  4.58 MiB/s 00:06 [################################################################] 100%
(34/34) checking keys in keyring                                                                             [################################################################] 100%
(34/34) checking package integrity                                                                           [################################################################] 100%
(34/34) loading package files                                                                                [################################################################] 100%
(34/34) checking for file conflicts                                                                          [################################################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /usr/include/bits/struct_stat.h exists in filesystem
glibc: /usr/include/bits/types/struct___jmp_buf_tag.h exists in filesystem
glibc: /usr/include/bits/types/struct_timeb.h exists in filesystem
glibc: /usr/share/locale/sr/LC_MESSAGES/libc.mo exists in filesystem
Errors occurred, no packages were upgraded.
[root@1e3535d8f65f /]#

I can't do pacman -Syu in a fresh container of latest image. glibc failed to commit since there're conflicting files.

from manjaro-docker.

sileshn avatar sileshn commented on May 28, 2024

I don't know why you are getting those errors. I built a docker image after resetting to commit id to e8bbcb1 and had no issues updating as you can see below. So don't know how the image uploaded to docker hub would be any different.

You can see the output here.

from manjaro-docker.

Related Issues (13)

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.