LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 08-28-2010, 04:38 PM   #1
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 55
Trying to build APT: "configure: error: cannot run /bin/bash buildlib/config.sub"


I am trying to build APT from source to replace the buggy APT in Ubuntu 10.04 only to run into the error described in the thread title.

I tried Googling it and all I got were a bunch of hard-to-read IRC logs.

When I clicked "Properties" after right-clicking config.sub in Nautilius, I found out that it was a broken symlink to /usr/share/misc/config.sub.

How do I install that /usr/share/misc/config.sub file (and the other config.guess file that also showed up as broken link) without APT?
 
Old 08-29-2010, 10:25 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Assuming you don't want to compile your dependencies from source as well, you'll have to find a way to fetch the required .deb file(s) and install them manually with dpkg. The same goes for any dependencies of those files.

According to apt-file, that file is provided by the package autotools-dev, at least on Debian. For that matter you generally need to have -dev packages installed for all libraries that the program you're installing depends on.
 
Old 08-29-2010, 10:33 AM   #3
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 55
The problem is that my APT (and for that matter dpkg) has an infinite loop in it. This means that trying to install anything from a .deb file will always hang at "Unpacking" - very painstaking indeed. I may have to reinstall Ubuntu 10.10 Alpha 3 altogether (still have my Live USB) and go from there. I may have to wait for an APT update before I go any further, perhaps when the Ubuntu community removes the infinite loop.
 
Old 08-29-2010, 12:11 PM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950Reputation: 1950
Well, that's a problem then. But if dpkg alone is affected, then doesn't that make it a dpkg problem, rather than apt?

I can't say if it would work, but you might be able to temporarily replace your binaries with those from a similar working system. IOW, manually replace the /usr/bin executables themselves from a recent live disk or something. If the dependencies aren't too far off they might run.

Of course there's also the risk that it will hose things even further, but it is an idea.
 
Old 08-29-2010, 12:23 PM   #5
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 55
See this bug report for information on my problem.
 
Old 08-29-2010, 12:27 PM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Do you have an older version of apt in /var/cache/apt/archives? If you do try using dpkg to remove the current one then install the older version.

Or download aptitude and use it.
 
Old 08-29-2010, 06:06 PM   #7
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Original Poster
Rep: Reputation: 55
I also seem to have a similar problem with Ubiquity.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"dpkg error in --configure" in most all (508) programs after "apt-get dist-upgrade" fluffymuffins Debian 3 08-09-2010 04:47 AM
my apt-get does not work :(: "dpkg: error processing python-kaa-base (--configure):" frenchn00b Debian 3 04-22-2008 04:30 PM
error: "c compiler cannot create executables" when trying to run ./configure fedoraemu Linux - Software 2 04-24-2007 08:43 PM
software configure:3474: error: cannot run /bin/sh ./config.sub jialin Debian 0 10-01-2005 08:38 PM
why did bash 2.05b install delete /bin/bash & "/bin/sh -> bash"? johnpipe Linux - Software 2 06-06-2004 07:42 PM


All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration