[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Changed in: rpmstrap (Debian) Status: New = Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/64032 Title: rpmstrap using /bin/sh when it should use /bin/bash To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rpmstrap/+bug/64032/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Branch linked: lp:ubuntu/hardy/rpmstrap -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Branch linked: lp:ubuntu/gutsy-updates/rpmstrap ** Branch linked: lp:ubuntu/hardy/rpmstrap -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Ubuntu Package Archive Administrators has been unsubscribed from this bug. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Copied to gutsy-updates. Cesare, the subscriber change was a misunderstanding, sorry. ** Changed in: rpmstrap (Ubuntu Gutsy) Status: Fix Committed = Fix Released -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Why were the archive admins unsubscribed? Why was ubuntu-sru subscribed (note that this is in universe)? Has the procedure changed from https://wiki.ubuntu.com/StableReleaseUpdates#Universe ? -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Works for me (in addition to mine): https://bugs.launchpad.net/ubuntu/gutsy/+source/rpmstrap/+bug/64032/comments/22 https://bugs.launchpad.net/ubuntu/gutsy/+source/rpmstrap/+bug/64032/comments/23 https://bugs.launchpad.net/ubuntu/gutsy/+source/rpmstrap/+bug/64032/comments/29 ** Tags added: verification-motu-done ** Tags removed: verification-motu-needed -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
rpmstrap (0.5.2-2ubuntu1) hardy; urgency=low * Add patch 010-fix-shebang.patch (LP: #64032): Change rpmstrap shebang to /bin/bash since it is a bash script * Modify Maintainer value to match Debian-Maintainer-Field Spec * Automatically regenerated debian/control and debian/rules by yada -- Cesare Tirabassi [EMAIL PROTECTED] Tue, 23 Oct 2007 17:25:42 +0200 ** Changed in: rpmstrap (Ubuntu Hardy) Status: Fix Committed = Fix Released -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
It occurred to me to check if there are any similar tools to rpmstrap, but which are still actively supported upstream, and I quickly found mach: http://thomas.apestaart.org/projects/mach/ This covers most of the distributions which rpmstrap does, and a few others. The main comparative omission seem to be SuSE 10.0. And it's packaged for Ubuntu already: http://packages.ubuntu.com/gutsy/admin/mach The distro list in the description seems to be a little out of date - look at the list of files to see an up-to-date list. I've not actually tried mach out yet, but assuming it works as advertised it would probably be more productive to direct effort to fixing any shortcomings mach has compared to rpmstrap. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Confirmed: Fix is working with Fedora Core 4 (Stentz) script (with regard to parsing the array of packages). Output is attached. HOWEVER! The rpm installation actions are failing. I have not yet looked into why. If anyone already knows why, I'd appreciate some info rather than spending too much time on it. Environment: [EMAIL PROTECTED]:~$ uname -a ; dpkg-query -l rpmstrap Linux fai 2.6.22-14-xen #1 SMP Sun Oct 14 23:20:20 GMT 2007 x86_64 GNU/Linux Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name VersionDescription +++-==-==- ii rpmstrap 0.5.2-2ubuntu0 bootstrap a basic RPM-based system ** Attachment added: Output of rpmstrap --verbose stentz /tmp/fc4 http://launchpadlibrarian.net/10112027/rpmstrap.log -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Additional info (verifying that the wget on the array works): [EMAIL PROTECTED]:/tmp/rpmstrap.295074023# ls basesystem-8.0-4.noarch.rpm libacl-2.2.23-5.x86_64.rpm bash-3.0-17.x86_64.rpmlibattr-2.4.16-3.i386.rpm chkconfig-1.3.11.1-1.x86_64.rpm libattr-2.4.16-3.x86_64.rpm cracklib-2.7-28.i386.rpm libgcc-3.4.2-6.fc3.i386.rpm cracklib-2.7-28.x86_64.rpmlibgcc-3.4.2-6.fc3.x86_64.rpm cracklib-dicts-2.7-28.x86_64.rpm libselinux-1.17.14-1.i386.rpm db4-4.2.52-6.i386.rpm libselinux-1.17.14-1.x86_64.rpm db4-4.2.52-6.x86_64.rpm libstdc++-3.4.2-6.fc3.i386.rpm e2fsprogs-1.35-11.2.i386.rpm libstdc++-3.4.2-6.fc3.x86_64.rpm e2fsprogs-1.35-11.2.x86_64.rpmlibtermcap-2.0.8-39.x86_64.rpm ethtool-1.8-4.x86_64.rpm mingetty-1.07-3.x86_64.rpm fedora-release-3-9.x86_64.rpm mktemp-1.5-10.x86_64.rpm filesystem-2.3.0-1.x86_64.rpm ncurses-5.4-13.i386.rpm findutils-4.1.20-7.x86_64.rpm ncurses-5.4-13.x86_64.rpm gawk-3.1.3-9.x86_64.rpm net-tools-1.60-37.x86_64.rpm glib-1.2.10-15.x86_64.rpm pcre-4.5-3.x86_64.rpm glib2-2.4.7-1.i386.rpmpopt-1.9.1-21.i386.rpm glib2-2.4.7-1.x86_64.rpm popt-1.9.1-21.x86_64.rpm glibc-2.3.3-74.i686.rpm psmisc-21.4-4.x86_64.rpm glibc-2.3.3-74.x86_64.rpm sed-4.1.2-4.x86_64.rpm glibc-common-2.3.3-74.x86_64.rpm setup-2.5.44-1.noarch.rpm grep-2.5.1-31.x86_64.rpm shadow-utils-4.0.3-37.x86_64.rpm hwdata-0.145-1.noarch.rpm tar-1.14-4.x86_64.rpm info-4.7-5.x86_64.rpm termcap-5.4-3.noarch.rpm iproute-2.6.9-3.x86_64.rpmtzdata-2004e-2.noarch.rpm iputils-20020927-16.x86_64.rpmwords-2-23.noarch.rpm less-382-4.x86_64.rpm zlib-1.2.1.2-1.i386.rpm libacl-2.2.23-5.i386.rpm zlib-1.2.1.2-1.x86_64.rpm Again, it failure is in rpm/alien (or so it seems, I'm not sure yet) -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Looking at your log, some of the RPM URLs are no longer valid. I suspect if you look at the downloaded RPM files, some probably actually contain HTML 404 pages, or perhaps are just zero size. I'll try one of the newer supported distros (suse10.0) and see if that works, but it looks like the script needs adjusting for current download locations for at least some of the distros (and updating with newer distros ideally). -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Anyone interested in taking this project over, feel free to grab the code and go for it: http://rpmstrap.pimpscript.net/ -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
I've just successfully created a chroot for i686 suse10.0. Looking at /usr/share/doc/rpmstrap/TODO, I think the problem you are seeing is just this: * The x86_64 (and other archs) are buggy or not yet supported. Right now, only i[3456]86 is. These archs should be added. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
[EMAIL PROTECTED]:~/Desktop/20071022$ sudo apt-get install rpmstrap Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: rpmstrap 1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. Need to get 31.5kB of archives. After unpacking 0B of additional disk space will be used. Get:1 http://archive.ubuntu.com gutsy-proposed/universe rpmstrap 0.5.2-2ubuntu0.1 [31.5kB] Fetched 31.5kB in 0s (68.8kB/s) (Reading database ... 136026 files and directories currently installed.) Preparing to replace rpmstrap 0.5.2-2 (using .../rpmstrap_0.5.2-2ubuntu0.1_all.deb) ... Unpacking replacement rpmstrap ... Setting up rpmstrap (0.5.2-2ubuntu0.1) ... [EMAIL PROTECTED]:~/Desktop/20071022$ mkdir rpmstrap [EMAIL PROTECTED]:~/Desktop/20071022$ cd rpmstrap/ [EMAIL PROTECTED]:~/Desktop/20071022/rpmstrap$ rpmstrap --download-only centos4 centos4-rpms [EMAIL PROTECTED]:~/Desktop/20071022/rpmstrap$ ls centos4-rpms [EMAIL PROTECTED]:~/Desktop/20071022/rpmstrap$ ls centos4-rpms audit-1.0.12-1.EL4.i386.rpm audit-libs-1.0.12-1.EL4.i386.rpm basesystem-8.0-4.noarch.rpm bash-3.0-19.2.i386.rpm beecrypt-3.1.0-6.i386.rpm [...] -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Works for me -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Hi Cesare! I read your link briefly. The project is dead? I thought there would be new life for it with the use of Xen. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
I think dead is overstating the case. The original author is no longer interested in maintaining rpmstrap, and it would certainly benefit from updating to support newer RPM-based distros, but that doesn't mean that someone else can't take on the role of maintainer. The page Cesare linked to indicates the original author would welcome someone doing so. I already have too many things on my plate to commit to taking over maintenance myself, but I would find being able to easily set up chroot for different distros useful, so if someone else does so, I should at least be able to test and provide the occasional patch. But I think this is all orthogonal to this bug - the proposed update fixes the problem that this bug is about, and the rpmstrap package is now useful again, albeit for bootstrapping rather old releases on x86 only. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Would it be worthy then to roll it into a Launchpad team and maintain it from there? -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
To test it, please add the following line to your sources.list: deb http://archive.ubuntu.com/ubuntu/ gutsy-proposed universe Then, update and upgrade (or install) rpmstrap. Please provide feedback here. Note that if we don't get 2 positive feedbacks this will not go through. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
I added the line to sources.list and upgraded rpmstrap (but not the other unrelated update from there). This fixes this problem for me. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Accepted into gutsy-proposed, please test. Please note that fix committed should not be set until the package is actually in -proposed (i. e. now), not just in the queue (see SRU procedure). ** Tags added: verification-motu-needed -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
I have succesfull tested the command of comment #4 (see comment #17). Any invocation should do as a test though. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Bug watch added: Debian Bug tracker #417058 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417058 ** Also affects: rpmstrap (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417058 Importance: Unknown Status: Unknown -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Yes, since gutsy is frozen, the patch needs to be redone for gutsy-proposed. I'm unsubscribing u-u-s, please subscribe motu-uvf once the patch is ready. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Changed in: rpmstrap (Debian) Status: Unknown = New -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Dan doesn't seem to be active since April, so I made the necessary corrections myself to be able to get this into gutsy. ** Changed in: rpmstrap (Ubuntu) Assignee: Dan O'Huiginn (daniel-ohuiginn) = (unassigned) Status: In Progress = New -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Just in case, here is the build log. Install log: [EMAIL PROTECTED]:~/rpmstrap$ sudo dpkg -i buildresult/rpmstrap_0.5.2-2ubuntu1_all.deb Selecting previously deselected package rpmstrap. (Reading database ... 92910 files and directories currently installed.) Unpacking rpmstrap (from .../rpmstrap_0.5.2-2ubuntu1_all.deb) ... Setting up rpmstrap (0.5.2-2ubuntu1) ... Run: [EMAIL PROTECTED]:~/rpmstrap$ rpmstrap --download-only centos4 centos4-rpms [EMAIL PROTECTED]:~/rpmstrap$ ll centos4-rpms total 9616 -rw-r--r-- 1 cesare cesare 0 2007-10-18 12:57 audit-1.0.12-1.EL4.x86_64.rpm -rw-r--r-- 1 cesare cesare 0 2007-10-18 12:57 audit-libs-1.0.12-1.EL4.x86_64.rpm cut ** Attachment added: Build log http://launchpadlibrarian.net/10057158/rpmstrap.log -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Changed in: rpmstrap (Ubuntu Gutsy) Assignee: (unassigned) = Cesare Tirabassi (norsetto) Status: New = In Progress -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Ack from motu-uvf. Please use ubuntu0.1 and save ubuntu1 for Hardy. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Changed in: rpmstrap (Ubuntu Gutsy) Assignee: Cesare Tirabassi (norsetto) = (unassigned) Status: In Progress = Fix Committed -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Will this be fixed in gutsy? I can confirm my own experience with the problem. It has to do the the echo -e statements in /usr/lib/rpmstrap/functions which don't work in dash. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
It's not fixed in the gutsy RC. I imagine it should qualify for an incremental update - rpmstrap currently just doesn't work if your /bin/sh is dash, which is the Ubuntu default since edgy. Changing the #! line to #!/bin/bash is pretty safe as the package would have been running with /bin/bash on dapper and earlier anyway. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
I've just resubscribed ubuntu-universe-sponsors. There's a debdiff in comment#6 which fixes this bug. If there's more you need, please say! -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Dan: I don't think Steve saw your last comment - he said: please resubscribe us where there is and looking at the subscribers, I don't see him or Ubuntu-universe-sponsors there currently... I'm tempted to readd them myself, but I'm not sure what the etiquette is here. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
There is nothing for Ubuntu-universe-sponsors to upload, please resubscribe us where there is. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Steve: there's a debdiff in comment 6. Is there something else you need before it is ready for upload? -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Just used it in feisty beta and there the problem still persists. 0.5.2-2 is the version installed there. Robos -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
robos, I'm afraid my patch didn't/won't make it into Feisty. You can apt-get source and apply the debdiff if you like, although it's probably easier just to edit the script in the way Olly describes above. -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
OK, here's a debdiff. I've only altered the main script; there are several other scripts in the package using #!/bin/sh, but I've left them alone for now ** Attachment added: one-line change, plus lots of crud generated by yada http://librarian.launchpad.net/7126955/bash.debdiff -- rpmstrap using /bin/sh when it should use /bin/bash https://bugs.launchpad.net/bugs/64032 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
This is trivial to fix, but first I'd like to get some upstream input on whether making the change is likely to break anything else. Please could (any of) you give some more information on exactly what breaks with the existing package? -- rpmstrap using /bin/sh when it should use /bin/bash https://launchpad.net/bugs/64032 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Never mind about that information; here's what happens in my case. Running first without, and then with bash. [EMAIL PROTECTED]:/tmp# rpmstrap --download-only centos4 centos4-rpms local: 299: -e: bad variable name basename: invalid option -- e Try `basename --help' for more information. wget: option requires an argument -- O Usage: wget [OPTION]... [URL]... Try `wget --help' for more options. basename: invalid option -- e Try `basename --help' for more information. rpmstrap: critical error: Could not obtain -e from http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/ [EMAIL PROTECTED]:/tmp# bash rpmstrap --download-only centos4 centos4-rpms [works OK] [EMAIL PROTECTED]:/tmp# -- rpmstrap using /bin/sh when it should use /bin/bash https://launchpad.net/bugs/64032 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
** Changed in: rpmstrap (Ubuntu) Importance: Undecided = Medium Assignee: (unassigned) = Dan O'Huiginn Status: Unconfirmed = In Progress -- rpmstrap using /bin/sh when it should use /bin/bash https://launchpad.net/bugs/64032 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Indeed - it's just fallout from Ubuntu edgy making /bin/sh invoke dash rather than bash. Linux distros have traditionally always used bash, and coders have either just assumed that would always be true, or accidentally used bash extensions without realising they weren't portable (because they worked fine when the script was tested on Linux). (Rereading that, it sounds a bit negative about /bin/sh being dash - on the contrary I think it's an excellent move - in the long term it'll help make Free Software more portable, and the short term pain can easily be worked around by fixing the #! line to use bash...) The first bashism seems to be: PROGNAME=${0##*/} It seems better not to diverge too much from upstream, so I think just changing the interpreter in the #! line is a better fix than trying to eliminate all the bashisms. It would be good to get this fixed - the fix is low risk (since /bin/sh used to *BE* /bin/bash) and it clearly doesn't work at all right now so it would be hard to make things worse... -- rpmstrap using /bin/sh when it should use /bin/bash https://launchpad.net/bugs/64032 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
I've just run into this too, and can also confirm that using bash instead seems to allow rpmstrap to work correctly (I made a copy earlier on my path than /usr/bin and changed the #! line to #!/bin/bash). -- rpmstrap using /bin/sh when it should use /bin/bash https://launchpad.net/bugs/64032 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 64032] Re: rpmstrap using /bin/sh when it should use /bin/bash
Just confirming this bug. Can be worked around by running: /bin/bash /usr/bin/rpmstrap -- rpmstrap using /bin/sh when it should use /bin/bash https://launchpad.net/bugs/64032 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs