LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2015, 12:42 PM   #1
soonermike
LQ Newbie
 
Registered: Jul 2015
Posts: 5

Rep: Reputation: Disabled
Unhappy Program install problem


Attempting to install a tar.gz file I keep getting the following error"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."
I have attempted to run dpkg --configure-a and it comes back "dpkg -- command not found".
I am fairly new so I tried putting a sudo apt in front of it and it gets more confused. I'm stumpted please help. By the way the file name is "scangearmp-source-1.70-1.tar.gz", its a canon printer file.
 
Old 09-01-2015, 12:50 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Quote:
Originally Posted by soonermike View Post
Attempting to install a tar.gz file I keep getting the following error"E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report."
I have attempted to run dpkg --configure-a and it comes back "dpkg -- command not found".
I am fairly new so I tried putting a sudo apt in front of it and it gets more confused. I'm stumpted please help. By the way the file name is "scangearmp-source-1.70-1.tar.gz", its a canon printer file.
Hi...

Just to make sure, was the command spaced properly or was that just a typo where the "-a" is? You can see the difference here...

Quote:
dpkg --configure -a
Quote:
dpkg --configure-a
Regards...
 
Old 09-01-2015, 12:54 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Why are you using dpkg to install a tarball in the first place? Every tarball I've ever worked with contained source code that needed to be compiled with a "./configure && make && make install" or similar. dpkg, rpm, etc. are nowhere in the mix.
 
Old 09-01-2015, 01:00 PM   #4
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Quote:
Originally Posted by suicidaleggroll View Post
Why are you using dpkg to install a tarball in the first place? Every tarball I've ever worked with contained source code that needed to be compiled with a "./configure && make && make install" or similar. dpkg, rpm, etc. are nowhere in the mix.
Hi all...

Unless it's something like this.

Regards...
 
Old 09-01-2015, 01:07 PM   #5
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,258

Rep: Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947Reputation: 1947
Quote:
Originally Posted by ardvark71 View Post
Hi all...

Unless it's something like this.

Regards...
His file has "source" in the name. I found a copy of it here:
http://support-th.canon-asia.com/con...100331302.html

Sure enough it contains source code. Here are the contents of INSTALL:
Code:
To build and install scangearmp:                                                                                  
                                                                                                                  
        ./autogen.sh                                                                                              
        make                                                                                                                
        make install                                                                                                        
                                                                                                                            
Appendix:                                                                                                                   
                                                                                                                            
        * You can also set the following path.                                                                                     
           --prefix                                                                                                                
                scangearmp                     : default ... /usr/local                                                            
           --enable-libpath                                                                                                        
                *.tbl,*.DAT,...                : default ... /usr/lib                                                              
           --enable-saneconfpath                                                                                                   
                *.conf(ex.canon_mfp.conf)      : default ... /usr/lib/bjlib                                                        
                                                                                                                                         
       Example:                                                                                                                          
                                                                                                                                         
           ./autogen.sh --enable-libpath=/usr/lib                                                                                        
           make                                                                                                                          
           make install
 
Old 09-01-2015, 01:10 PM   #6
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 614
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Usually you need to navigate to the directory containing the source code, and run
Code:
./configure
make
make install clean
But in your case it looks like
Code:
./autogen.sh
make
make install clean
 
Old 09-01-2015, 01:16 PM   #7
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: Oregon, USA
Distribution: Lubuntu 14.04, Windows Vista
Posts: 5,152
Blog Entries: 3

Rep: Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691Reputation: 691
Quote:
Originally Posted by suicidaleggroll View Post
His file has "source" in the name. I found a copy of it here:
http://support-th.canon-asia.com/con...100331302.html

Sure enough it contains source code. Here are the contents of INSTALL:
Code:
To build and install scangearmp:                                                                                  
                                                                                                                  
        ./autogen.sh                                                                                              
        make                                                                                                                
        make install                                                                                                        
                                                                                                                            
Appendix:                                                                                                                   
                                                                                                                            
        * You can also set the following path.                                                                                     
           --prefix                                                                                                                
                scangearmp                     : default ... /usr/local                                                            
           --enable-libpath                                                                                                        
                *.tbl,*.DAT,...                : default ... /usr/lib                                                              
           --enable-saneconfpath                                                                                                   
                *.conf(ex.canon_mfp.conf)      : default ... /usr/lib/bjlib                                                        
                                                                                                                                         
       Example:                                                                                                                          
                                                                                                                                         
           ./autogen.sh --enable-libpath=/usr/lib                                                                                        
           make                                                                                                                          
           make install
Hi...

Thanks, you got it! Straight tarball.

@soonermike: You don't use the command "dpkg" here. To make it easier, you can use the commands mentioned here (but don't use "sudo.")

Regards...

Last edited by ardvark71; 09-01-2015 at 01:26 PM. Reason: Correction.
 
  


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
problem after make install in OTCL and C++ linkage program chenil Linux - Newbie 8 04-06-2013 08:05 AM
problem to install program it-secret Linux - Newbie 7 08-23-2012 12:11 AM
Program install problem dhusr Linux - Newbie 2 01-04-2011 04:08 PM
Program Install Problem (LXSplit) GNewbie Ubuntu 2 07-09-2008 01:47 PM
problem compiling mpi program(not while install) gamekiller Programming 3 10-03-2007 12:17 AM


All times are GMT -5. The time now is 10:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration