• Debootstrapping Debian-testing from http://ftp.fr.debian.org/debian

    From Cindy-Sue Causey@21:1/5 to sbeck@secure.mailbox.org on Tue Jan 12 22:30:02 2016
    On 1/12/16, sbeck@secure.mailbox.org <sbeck@secure.mailbox.org> wrote:
    Hi Debian-testing members,

    (I'm not subscribed to the list, so please CC me. Thanks)

    I have encountered some problems while debootstrapping a Debian-testing installation into a chroot environment. First I debootstrapped first retrieving the files from (1) and then once again from (2), but with the
    same results. I did a check using lintian to learn more about the possibly "faulty" package. On the other hand, I could not retrieve any more files after the first debootstrap base package retrieval session. Is it worth filing a bug report?
    My system: debian-oldstable 32 bits (7.9.) on a 64 bit kernel (4.2.6). debootstrap version 1.0.48+deb7u4


    (1)# debootstrap --arch amd64 stretch /mnt/chroot/stretch_64 http://ftp.fr.debian.org/debian/
    (2)# debootstrap --arch amd64 stretch /mnt/chroot/stretch_64 http://ftp.de.debian.org/debian/


    (Shell output)
    (...)
    W: Failure while installing base packages. This will be re-attempted up
    to five times.
    W: See /mnt/chroot/stretch_64/debootstrap/debootstrap.log for details (possibly the package archive is at fault)
    W: Failure while installing base packages. This will be re-attempted up
    to five times.
    W: See /mnt/chroot/stretch_64/debootstrap/debootstrap.log for details (possibly the package archive is at fault)
    W: Failure while installing base packages. This will be re-attempted up
    to five times.
    W: See /mnt/chroot/stretch_64/debootstrap/debootstrap.log for details (possibly the package archive is at fault)
    W: Failure while installing base packages. This will be re-attempted up
    to five times.
    W: See /mnt/chroot/stretch_64/debootstrap/debootstrap.log for details (possibly the package archive is at fault)
    W: Failure while installing base packages. This will be re-attempted up
    to five times.
    W: See /mnt/chroot/stretch_64/debootstrap/debootstrap.log for details (possibly the package archive is at fault)

    debootstrap.log
    Errors were encountered while processing: /var/cache/apt/archives/ifupdown_0.8.6_amd64.deb (5 times)

    Debootstrap error message --> checking with lintian
    # lintian --check --verbose --show-overrides /mnt/chroot/stretch_64/var/cache/apt/archives/ifupdown_0.8.6_amd64.deb

    N: Using profile debian/main.
    N: Setting up lab in /tmp/temp-lintian-lab-8osJjdfKfW ...
    N: ----
    N: Processing binary package ifupdown (version 0.8.6, arch amd64) ...
    O: ifupdown: init.d-script-possible-missing-stop etc/init.d/networking 1 ----------------------------------------------
    after accessing chroot environment for retrieving additional files (here: ssh)

    < temporarily snipped for brevity >

    E: Failed to fetch http://debootstrap.invalid/pool/main/x/xauth/xauth_1.0.9-1_amd64.deb
    Could not resolve 'debootstrap.invalid'

    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

    CHROOT-me@mymachine:/# apt-get install --fix-missing
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    I have the entire debootstrap log, if it is necessary. Here I just
    extracted the most important information.

    What can I do to install more packages? Should I file a bug report?


    Hi, Stephan.. I just happened to have been in a debootstrap frame of
    mind myself today. I'm used to it working with very little trouble so
    all I can do is pretend I'm wearing your Shoes right now. I looked at
    things like where your command ends ../debian/ and mine is ../debian.
    That didn't make any difference, and I've since also seen that
    trailing "/" in the online Wiki documentation.

    I'm curious about where it seems to be pulling http://debootstrap.invalid/pool/main/ out of its hat. That's the first
    I've ever seen that. The "invalid" part is familiar as something
    referenced within the debootstrap copy's hierarchy of
    /var/lib/apt/lists. AND of course I just looked and can't find an
    example in mine to share... as example. But I HAVE seen the word
    "invalid" in there.. :)

    Can you look in your copy's /var/lib/apt/lists, and see 1) how many
    files are in there and 2) if any reference the word "invalid"?

    THIS IS *NOT* a recommended method BUT... One of the things I have to
    do with mine occasionally is go into that lists directory (*IN
    DEBOOSTRAP'S COPY!*) and delete the two or three smaller files I find
    in there. The ones I target for deletion are the ones that are under
    ~300kb in size.

    It's just something I learned by trial and error via dialup access.
    Those smaller files I delete occasionally are the "invalid" named
    files. The reasons I run into for having to delete those smaller files
    mostly involve errors regarding valid versus invalid release
    signatures at the beginning of the debootstrap process...

    My apologies that I don't have any more than that to offer. I LOVE
    DEBOOTSTRAP, and my sessions go well.. If you're working on it in a
    couple hours, I'll be back inside after finishing up some outside
    evening chores. I'll be happy to take a deeper poke at the problem
    then if no one else has any answers that work.

    Also, you might try over at the Debian-User list. Fair warning is that
    there's still not too many who go the deboostrap route (in case you
    don't receive much response). I'm actually personally trying to change
    that because it's a phenomenal accessibility/usability related Debian installation tool for poverty level computer users.. :)

    Cindy :)

    --
    Cindy-Sue Causey
    Talking Rock, Pickens County, Georgia, USA

    * #RIP, Ian. Thank you and to all who contribute to Debian. It's a Life-affecting, Life-enhancing resource and tool in my usage case. *

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Niels Thykier@21:1/5 to All on Tue Jan 12 23:20:02 2016
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
    Cindy-Sue Causey:
    On 1/12/16, sbeck@secure.mailbox.org <sbeck@secure.mailbox.org> wrote:
    Hi Debian-testing members,

    (I'm not subscribed to the list, so please CC me. Thanks)

    I have encountered some problems while debootstrapping a Debian-testing
    installation into a chroot environment. First I debootstrapped first
    retrieving the files from (1) and then once again from (2), but with the
    same results. I did a check using lintian to learn more about the possibly >> "faulty" package. On the other hand, I could not retrieve any more files
    after the first debootstrap base package retrieval session. Is it worth
    filing a bug report?
    My system: debian-oldstable 32 bits (7.9.) on a 64 bit kernel (4.2.6).
    debootstrap version 1.0.48+deb7u4


    [...]

    Cindy :)



    Hi,

    This is a known and temporary issue.

    The problem is that ifupdown is (temporarily) uninstallable with udev
    (but is installable on its own). It will disappear when the new version
    of udev migrates[1].

    Thanks,
    ~Niels

    [1] https://tracker.debian.org/pkg/systemd




    -----BEGIN PGP SIGNATURE-----

    iQIcBAEBCgAGBQJWlXuZAAoJEAVLu599gGRCMNIP/iX1d/mim7VAI0/hyCClBgr5 XsPIuF9wYgUY/CcNhb2k8pvwV4HGscPngMuFvV0kjkAkTcWFO+3cXkqmMXlDyc4/ uFIhsdIz2fH9hRUoZHw69afDTnsX/s0bG76ihgZIB0JwCVMMRgP8mf6YS3N9aFm+ IfFoOf9sRsXUXUmQn2kVUj9HYKlRVcJGGA1stw9xAf8KklTZ5OOJC3dLcHYDQwpg ccFPjnO1VEo+5Fy8B1eARFbiIHu2lh+/h1quG3RfBtLbm06UwLZV/5rMhwgbtSWY IBvAoZ1l4GICawTk4EGWLFU54EkuCHyu6s5574MDwH3YixBg5X/Ldy8mJtxxA3K1 M0GfKIskm+b7NNtBDJvhkhS4R9edXD5UgEfpZxQiGg+Te5wKdyY6MqtZ95YQ9H1X kL998TZk8MLQINP4643MwdOxV4UXDcQokBWhwEomXgaBM4ZN4enq6Pko9vn1wWjS LZk6uxd9p/IJW9FQa5MrAbqidS7ifd1XOYzVxMzKwMR8FFj0U0E8PT8UE5KXVL/1 fyseGCXfVhETSZQCKzDa4ZllNO5fGdrThZgcDczlGHwRuDhGMh6wg34dC8KIA7GC yeF542MY10vJLCtcC2klEf8BIrEcV5kzBWjrE46hlrwpEt2OW/Ir+5K7wcny7Ocf xxA5tbp1smjiHM/Hz+HU
    =sAYi
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From sbeck@secure.mailbox.org@21:1/5 to All on Wed Jan 13 04:50:02 2016
    Hi Niels,


    Niels Thykier <niels@thykier.net> hat am 12. Januar 2016 um 23:18 geschrieben:


    Cindy-Sue Causey:
    On 1/12/16, sbeck@secure.mailbox.org <sbeck@secure.mailbox.org> wrote:
    Hi Debian-testing members,

    (I'm not subscribed to the list, so please CC me. Thanks)

    I have encountered some problems while debootstrapping a
    Debian-testing
    installation into a chroot environment. First I debootstrapped first
    retrieving the files from (1) and then once again from (2), but with
    the
    same results. I did a check using lintian to learn more about the
    possibly
    "faulty" package. On the other hand, I could not retrieve any more
    files
    after the first debootstrap base package retrieval session. Is it
    worth
    filing a bug report?
    My system: debian-oldstable 32 bits (7.9.) on a 64 bit kernel
    (4.2.6).
    debootstrap version 1.0.48+deb7u4


    [...]

    Cindy :)



    Hi,

    This is a known and temporary issue.

    The problem is that ifupdown is (temporarily) uninstallable with udev
    (but is installable on its own). It will disappear when the new version
    of udev migrates[1].

    Thanks,
    ~Niels

    [1] https://tracker.debian.org/pkg/systemd

    that's where it was at. Thanks. I forgot to search the BTS :-( Now, I have
    read it.
    Does that imply that there is currently no way of installing more than the
    base packages when debootstrapping debian-testing? After the
    debootstrapping (of the base packages) it's apt-get that installs the
    other packages selected by the user. But it failed (in my example,
    installing ssh) outputting "invalid dist" messages/URLs (see my previous
    mail).
    Well, let me check the BTS first! :-)

    Cheers,

    Stephan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From stebe@secure.mailbox.org@21:1/5 to All on Wed Jan 13 04:00:02 2016
    Hi Cindy,

    thanks for your kind reply. Yes, you're positively right, debootstrap is a fantastic installation tool (apt/dpkg as well). I mainly decided to set it
    up for testing purposes. To be able to run more recent versions of
    packages, packages that do not run on your current system, see how it's
    like. Testing the testing version might be an option as well.

    Here's the output
    CHROOT-me@mymachine:/var/lib/apt/lists# ls -l

    -rw-r--r-- 1 root root 205127 Jan 12 02:59 debootstrap.invalid_dists_stretch_Release
    -rw-r--r-- 1 root root 1554 Jan 12 02:59 debootstrap.invalid_dists_stretch_Release.gpg
    -rw-r--r-- 1 root root 37283681 Jan 12 02:24 debootstrap.invalid_dists_stretch_main_binary-amd64_Packages
    -rw-r----- 1 root root 0 Jan 12 06:33 lock
    drwx------ 2 _apt root 48 Jan 12 06:33 partial

    I wonder why it is called "invalid_dists". There are those files you
    mentioned. Simply deleting them without any documentation or information
    might be a workaround, but first I'd like to understand why it failed, why
    the same package, i.e. the network interface configuration tool ifupdown, retrieved from two different debian servers is "faulty". It's something
    about the init.d-script. Ah, now I know where I have to look at
    tomorrow...the lintian tag descriptions!
    And to know why the further retrieval of files after the base package
    system did not work would be interesting, too.

    Well, I will have another session of analyzing log and error files. I may follow your advice to post it on the debian-user list. I couldn't find a debootstrap mailing list, so it seemed to me that Debian-testing was the appropriate place to ask and inform as it concerned stretch.

    Kind regards

    Stephan

    Lörrach (Germany)



    Hi, Stephan.. I just happened to have been in a debootstrap frame of
    mind myself today. I'm used to it working with very little trouble so
    all I can do is pretend I'm wearing your Shoes right now. I looked at
    things like where your command ends ../debian/ and mine is ../debian.
    That didn't make any difference, and I've since also seen that
    trailing "/" in the online Wiki documentation.

    I'm curious about where it seems to be pulling http://debootstrap.invalid/pool/main/ out of its hat. That's the first
    I've ever seen that. The "invalid" part is familiar as something
    referenced within the debootstrap copy's hierarchy of
    /var/lib/apt/lists. AND of course I just looked and can't find an
    example in mine to share... as example. But I HAVE seen the word
    "invalid" in there.. :)

    Can you look in your copy's /var/lib/apt/lists, and see 1) how many
    files are in there and 2) if any reference the word "invalid"?

    THIS IS *NOT* a recommended method BUT... One of the things I have to
    do with mine occasionally is go into that lists directory (*IN
    DEBOOSTRAP'S COPY!*) and delete the two or three smaller files I find
    in there. The ones I target for deletion are the ones that are under
    ~300kb in size.

    It's just something I learned by trial and error via dialup access.
    Those smaller files I delete occasionally are the "invalid" named
    files. The reasons I run into for having to delete those smaller files
    mostly involve errors regarding valid versus invalid release
    signatures at the beginning of the debootstrap process...

    My apologies that I don't have any more than that to offer. I LOVE
    DEBOOTSTRAP, and my sessions go well.. If you're working on it in a
    couple hours, I'll be back inside after finishing up some outside
    evening chores. I'll be happy to take a deeper poke at the problem
    then if no one else has any answers that work.

    Also, you might try over at the Debian-User list. Fair warning is that
    there's still not too many who go the deboostrap route (in case you
    don't receive much response). I'm actually personally trying to change
    that because it's a phenomenal accessibility/usability related Debian installation tool for poverty level computer users.. :)

    Cindy :)

    --
    Cindy-Sue Causey
    Talking Rock, Pickens County, Georgia, USA

    * #RIP, Ian. Thank you and to all who contribute to Debian. It's a Life-affecting, Life-enhancing resource and tool in my usage case. *

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From sbeck@secure.mailbox.org@21:1/5 to All on Wed Jan 13 11:40:02 2016
    Hi Niels,

    Niels Thykier <niels@thykier.net> hat am 13. Januar 2016 um 08:07 geschrieben:


    sbeck@secure.mailbox.org:
    Hi Niels,


    [...]
    that's where it was at. Thanks. I forgot to search the BTS :-( Now, I
    have
    read it.
    Does that imply that there is currently no way of installing more than
    the
    base packages when debootstrapping debian-testing? (...)

    Indeed, I suspect that testing is unbootstrapable atm. (but it will be
    again in a few days). There are a couple of work arounds that may (or
    may not) be suitable for you:

    * bootstrap from snapshot.debian.org
    - Pick a time+date before ifupdown migrated to testing (see [1])
    * bootstrap from stable and upgrade from there
    * bootstrap unstable


    thanks, very kind of you.
    I'll snapshot testing and if it works I'll be --quiet, if not, I'ill put
    the --verbose option. :-)
    Thanks for your kind help, Cindy, too. We may even set up a debootstrap
    team. :-)

    Cheers,

    Stephan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From sbeck@secure.mailbox.org@21:1/5 to All on Wed Jan 13 20:20:02 2016
    Hi Niels, hi Cindy,

    Niels Thykier <niels@thykier.net> hat am 13. Januar 2016 um 08:07 geschrieben:


    sbeck@secure.mailbox.org:
    Hi Niels,

    Hi,

    Indeed, I suspect that testing is unbootstrapable atm. (but it will be
    again in a few days). There are a couple of work arounds that may (or
    may not) be suitable for you:

    * bootstrap from snapshot.debian.org
    - Pick a time+date before ifupdown migrated to testing (see [1])
    * bootstrap from stable and upgrade from there
    * bootstrap unstable

    Thanks,
    ~Niels

    [1] https://tracker.debian.org/pkg/ifupdown

    OK, I checked the snapshot.debian.org option (fine to have it!), but,
    finally, I have chosen the third option you mention and have successfully debootstrapped unstable.

    Thanks again.

    Stephan

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Niels Thykier@21:1/5 to All on Wed Jan 13 08:10:02 2016
    This is an OpenPGP/MIME signed message (RFC 4880 and 3156) sbeck@secure.mailbox.org:
    Hi Niels,


    [...]
    that's where it was at. Thanks. I forgot to search the BTS :-( Now, I have read it.
    Does that imply that there is currently no way of installing more than the base packages when debootstrapping debian-testing? After the
    debootstrapping (of the base packages) it's apt-get that installs the
    other packages selected by the user. But it failed (in my example,
    installing ssh) outputting "invalid dist" messages/URLs (see my previous mail).
    Well, let me check the BTS first! :-)

    Cheers,

    Stephan


    Hi,

    Indeed, I suspect that testing is unbootstrapable atm. (but it will be
    again in a few days). There are a couple of work arounds that may (or
    may not) be suitable for you:

    * bootstrap from snapshot.debian.org
    - Pick a time+date before ifupdown migrated to testing (see [1])
    * bootstrap from stable and upgrade from there
    * bootstrap unstable

    Thanks,
    ~Niels

    [1] https://tracker.debian.org/pkg/ifupdown




    -----BEGIN PGP SIGNATURE-----

    iQIcBAEBCgAGBQJWlfeZAAoJEAVLu599gGRClJkP/3OutlvLse9G0C0bAewtDY8J KM05Wtyq6NVYuGkqDwBeFE0REUV8UhE7G2dKUXt4HkmMCsJPMNi8RJ75UI5EAsxi Ol4eCCoDM9DVk0FlBUUqh3rJqOg/5Pka1ahts3jMQvHvK9OdH3zqfXqlbRAZpSZx Pxq7VZuse4nOGgLDhM620S9jkVFC+d+GCMf6oPSU7W15sfxusxHpGgjoCHaZYNBj 8G6Dkb2o6kKcUv+W7f5FXMHDUcGe2LpglYojVvuiv4fzAnwid9wTWI41QtS7WSZ5 Ae4oG3d7CME9zwSH3VPipqSZo6sG6DqCsnYCcsdx9SZYIB8Ncp6kAVk7Iq6uOCwD cte28wY/+e41IOyzvca5maa2NzJzO+xBkgOfYMsfHbebVgaUPy0vz/WX6ey5tgUA t7aqDDSatNEpoiIP3Z2D//JGyoCjKxa8OvEXJ6z2dw60WNaqhgB+tyTGDEBsY6YH sSzZ0htIREKtY8kkLNAbsri40JXpcpPZkOyGEZLz1LbImF6Q6WMppBZ8cIWI3ypi 3xB2SMGd+F8uQ2r34EhgIJgpEE1AL6vFVF3x7jAKD0N7C1LVP2/9+9iQffzFFe8+ gBgYqHFXDckx6GiIXZeC12JCz1Dw5PFQNT5/M+9JrjTuSsWI5q61Fj+zkvQ493a/ dbdnWasdfE4P4hFgqFPH
    =rEbF
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)