Re: [Bug 658865] Re: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed"
My comments are years old, so I can't recall the details of the error, but the combinations of the two sets of instructions for adding additional packages, and burning a USB from a CD, don't jibe, leaving users in the lurch. One or the other set of instructions should be updated to reflect this. I switched to Arch years ago, simply because their documentation is superb! On Tue, Jun 12, 2018 at 11:25 AM Phillip Susi wrote: > Setting up a USB stick with files in the wrong place is not a bug in > ubiquity. > > > ** Changed in: ubiquity (Ubuntu) >Status: Confirmed => Invalid > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/658865 > > Title: > Install from USB fails: "An attempt to configure apt to install > additional packages from the CD failed" > > Status in Estobuntu: > New > Status in ubiquity package in Ubuntu: > Invalid > Status in Baltix: > New > > Bug description: > Please note that removing /usr/lib/ubiquity/apt- > setup/generators/40cdrom from your system may cause the installer to > crash at a later stage. > > Original report follows: > > Binary package hint: ubiquity > > Description of problem: > When trying to install Ubuntu 10.10 from USB, ubiquity crashes with this > message: "An attempt to configure apt to install additional packages from > the CD failed." > > Root of problem: > The problem is that the file structure on the usb differs to what is on > a livecd and apt-setup is unaware of this. > > WORKAROUND: > > There appear to be two alternatives: > > a) Remove the script that causes the error, when installing from a Live > setup ("Try Ubuntu"): > sudo rm /usr/lib/ubiquity/apt-setup/generators/40cdrom > > b) Create the files as they are expected: > > To resolve this, simply copy the contents of filesystem.squashfs on > the iso into the usb stick. Luckily the parts it is reading from this > appear to be just apt config files so the fact that you lose symbolic > links or permissions on a FAT32 usb stick shouldn't matter. > > On your current Linux installation: (If you don't have one you could > use a live cd off a different usb stick) > 1. Create USB stick. > 2. Type in a terminal: > sudo mkdir iso > sudo mkdir source > sudo mount -o loop pathtoiso/ubuntu-10.10-desktop-amd64.iso iso > sudo mount -t squashfs -o loop iso/casper/filesystem.squashfs source > sudo cp -pLr source/* pathtomountedusbstick > > (Thanks Klaas Hartmann for the workaround :)) > > Architecture: i386 > DistroRelease: Ubuntu 10.10 > LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) > Package: ubiquity 2.4.8 > PackageArchitecture: i386 > ProcEnviron: >LANG=en_US.UTF-8 >SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4 > Tags: maverick > Uname: Linux 2.6.35-22-generic i686 > UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare > > To manage notifications about this bug go to: > https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions > -- bdown...@gmail.com -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658865 Title: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed" To manage notifications about this bug go to: https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 658865] Re: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed"
Phillip Susi writes: > Setting up a USB stick with files in the wrong place is not a bug in > ubiquity. > > > ** Changed in: ubiquity (Ubuntu) >Status: Confirmed => Invalid I did have old files which caused bug (long time ago, I hope my memory is correct:), but ubiquity should handle situation better. I believe many users experience same problem. For me this is solved, because I know now what to clean. But others don't, so this will reappear again and again until ubiquity is fixed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658865 Title: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed" To manage notifications about this bug go to: https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 658865] Re: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed"
Carl Muehlbauer <658...@bugs.launchpad.net> writes: > I've been struggling for days to load Ubuntu 15.10 and /or Mint 17.2 on > a new HP Pavilion. Everything functioned perfectly from the jump drive > until I started to load to the hard drive. Finally found this page, > removed the 40cdrom file and I am happy to say that the install of 15.10 > appears to be successful. I am not computer literate, but I have been > using Ubuntu as my home office operating system for about 8 years, with > no issues. This one had me stumped until i found this page. Thanks to > all who posted the fix. This appears to be a problem that could have > been fixed months ago. Can anyone get this to the top and get it fixed?? > Thanks again for all of the help. This should have been fixed years ago:) For me this happened because I had extra files in my USB stick. With clean stick everything worked. Did you have clean USB stick? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658865 Title: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed" To manage notifications about this bug go to: https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 658865] Re: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed"
Me too. I was shocked to see it fail in a final version through USB install, which is nowadays one of the most popular installation options. On 4 April 2014 03:51, Eric Ongerth <658...@bugs.launchpad.net> wrote: > Same as above, this is still a problem when installing 14.04 final beta > from a USB stick created with either unetbootin or ubuntu's own Startup > Disk Creator. Same solution as above worked for me. > > I want to recommend Ubuntu to my friends who are discontinuing Windows > but it's hard to believe I have to give them these special instructions > so that they can install it from a downloaded ISO and a USB stick. I > hope it is clear that this is a very very popular path for installation > and it should not be broken. It's surprising this has been an open > issue for over three years. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/658865 > > Title: > Install from USB fails: "An attempt to configure apt to install > additional packages from the CD failed" > > Status in Estobuntu -- oma eesti opsüsteem: > New > Status in "ubiquity" package in Ubuntu: > Confirmed > Status in Baltix GNU/Linux: > New > > Bug description: > Please note that removing /usr/lib/ubiquity/apt- > setup/generators/40cdrom from your system may cause the installer to > crash at a later stage. > > Original report follows: > > Binary package hint: ubiquity > > Description of problem: > When trying to install Ubuntu 10.10 from USB, ubiquity crashes with this > message: "An attempt to configure apt to install additional packages from > the CD failed." > > Root of problem: > The problem is that the file structure on the usb differs to what is on > a livecd and apt-setup is unaware of this. > > WORKAROUND: > > There appear to be two alternatives: > > a) Remove the script that causes the error, when installing from a Live > setup ("Try Ubuntu"): > sudo rm /usr/lib/ubiquity/apt-setup/generators/40cdrom > > b) Create the files as they are expected: > > To resolve this, simply copy the contents of filesystem.squashfs on > the iso into the usb stick. Luckily the parts it is reading from this > appear to be just apt config files so the fact that you lose symbolic > links or permissions on a FAT32 usb stick shouldn't matter. > > On your current Linux installation: (If you don't have one you could > use a live cd off a different usb stick) > 1. Create USB stick. > 2. Type in a terminal: > sudo mkdir iso > sudo mkdir source > sudo mount -o loop pathtoiso/ubuntu-10.10-desktop-amd64.iso iso > sudo mount -t squashfs -o loop iso/casper/filesystem.squashfs source > sudo cp -pLr source/* pathtomountedusbstick > > (Thanks Klaas Hartmann for the workaround :)) > > Architecture: i386 > DistroRelease: Ubuntu 10.10 > LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) > Package: ubiquity 2.4.8 > PackageArchitecture: i386 > ProcEnviron: >LANG=en_US.UTF-8 >SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4 > Tags: maverick > Uname: Linux 2.6.35-22-generic i686 > UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare > > To manage notifications about this bug go to: > https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658865 Title: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed" To manage notifications about this bug go to: https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 658865] Re: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed"
"Thomas C." <658...@bugs.launchpad.net> writes: > I have the same problem on a modified usb stick from 11.10, but > currently dont understand why it fail: > > I debugged it and found out, that it fail on "apt-cdrom add" command on > the bottom of the script. Do you have: 'apt-setup: warning: /usr/lib/ubiquity/apt-setup/generators/40cdrom returned error code 1; discarding output' in syslog? What is before it? - jkn -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/658865 Title: Install from USB fails: "An attempt to configure apt to install additional packages from the CD failed" To manage notifications about this bug go to: https://bugs.launchpad.net/estobuntu/+bug/658865/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs