Coder Social home page Coder Social logo

Comments (4)

tianon avatar tianon commented on July 19, 2024

The official Ubuntu 10.04 server installer (ubuntu-12.04.4-server-amd64.iso) ...

So which is it that has the issue? 10.04, or 12.04? We don't actually support a 10.04 image in the main "ubuntu" images anymore, so I'm going to assume you mean 12.04 and go from there.

Here's what I get:

$ docker run -it --rm ubuntu:12.04 bash -c 'apt-get update && apt-get install -y libc6'
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]
Get:3 http://archive.ubuntu.com precise-security Release.gpg [198 B]
Get:4 http://archive.ubuntu.com precise-proposed Release.gpg [198 B]
Get:5 http://archive.ubuntu.com precise Release [49.6 kB]
Get:6 http://archive.ubuntu.com precise-updates Release [49.6 kB]
Get:7 http://archive.ubuntu.com precise-security Release [49.6 kB]
Get:8 http://archive.ubuntu.com precise-proposed Release [49.6 kB]
Get:9 http://archive.ubuntu.com precise/main Sources [1175 kB]
Get:10 http://archive.ubuntu.com precise/restricted Sources [5306 B]
Get:11 http://archive.ubuntu.com precise/universe Sources [6239 kB]
Get:12 http://archive.ubuntu.com precise/main amd64 Packages [1640 kB]         
Get:13 http://archive.ubuntu.com precise/restricted amd64 Packages [9098 B]    
Get:14 http://archive.ubuntu.com precise/universe amd64 Packages [6167 kB]     
Get:15 http://archive.ubuntu.com precise/main i386 Packages [1641 kB]          
Get:16 http://archive.ubuntu.com precise/restricted i386 Packages [9108 B]     
Get:17 http://archive.ubuntu.com precise/universe i386 Packages [6180 kB]      
Get:18 http://archive.ubuntu.com precise-updates/main Sources [581 kB]         
Get:19 http://archive.ubuntu.com precise-updates/restricted Sources [8429 B]   
Get:20 http://archive.ubuntu.com precise-updates/universe Sources [132 kB]     
Get:21 http://archive.ubuntu.com precise-updates/main amd64 Packages [1064 kB] 
Get:22 http://archive.ubuntu.com precise-updates/restricted amd64 Packages [16.4 kB]
Get:23 http://archive.ubuntu.com precise-updates/universe amd64 Packages [315 kB]
Get:24 http://archive.ubuntu.com precise-updates/main i386 Packages [1104 kB]  
Get:25 http://archive.ubuntu.com precise-updates/restricted i386 Packages [16.3 kB]
Get:26 http://archive.ubuntu.com precise-updates/universe i386 Packages [323 kB]
Get:27 http://archive.ubuntu.com precise-security/main Sources [134 kB]        
Get:28 http://archive.ubuntu.com precise-security/restricted Sources [2258 B]  
Get:29 http://archive.ubuntu.com precise-security/universe Sources [35.0 kB]   
Get:30 http://archive.ubuntu.com precise-security/main amd64 Packages [526 kB] 
Get:31 http://archive.ubuntu.com precise-security/restricted amd64 Packages [5282 B]
Get:32 http://archive.ubuntu.com precise-security/universe amd64 Packages [120 kB]
Get:33 http://archive.ubuntu.com precise-security/main i386 Packages [564 kB]  
Get:34 http://archive.ubuntu.com precise-security/restricted i386 Packages [5273 B]
Get:35 http://archive.ubuntu.com precise-security/universe i386 Packages [127 kB]
Get:36 http://archive.ubuntu.com precise-proposed/main amd64 Packages [183 kB] 
Get:37 http://archive.ubuntu.com precise-proposed/restricted amd64 Packages [651 B]
Get:38 http://archive.ubuntu.com precise-proposed/main i386 Packages [215 kB]  
Get:39 http://archive.ubuntu.com precise-proposed/restricted i386 Packages [649 B]
Fetched 28.7 MB in 20s (1397 kB/s)                                             
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

So maybe you just need to docker pull ubuntu to make sure you've got the latest updates to the image?

If you're looking for 10.04 specifically, you should check out the "ubuntu-debootstrap" image instead, which includes a 10.04 tag that will be supported until its EOL.

from docker-brew-ubuntu-core.

tianon avatar tianon commented on July 19, 2024

See also moby/moby#1724 for a nice long discussion about why you shouldn't apt-get upgrade in a container.

from docker-brew-ubuntu-core.

albers avatar albers commented on July 19, 2024

So which is it that has the issue? 10.04, or 12.04?

Oh, I'm so sorry. This was a stupid copy & paste error that even survived several proof readings.
Sorry for the inconvenience.

The issue is about 10.04. Both ISO and docker image had this version.
I'll check your advices and respond in more detail tomorrow when I'm back at work.

from docker-brew-ubuntu-core.

albers avatar albers commented on July 19, 2024

We don't actually support a 10.04 image in the main "ubuntu" images anymore

I did not know this. I thought all listed tags referred to supported images.
So this issue is obsolete, thanks for clarifying this.

I just tried the ubuntu-debootstrap image as you suggested and had no issues with libc6.
I had to add a mkdir /var/lib/apt/lists/partial step, though:

FROM ubuntu-debootstrap:10.04
RUN mkdir /var/lib/apt/lists/partial
RUN apt-get update
RUN apt-get install -y libc6

Thanks for your support.

from docker-brew-ubuntu-core.

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.