LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 07-19-2005, 11:13 PM   #1
tstrickland
Member
 
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36

Rep: Reputation: 15
Question How to install deb package


I just set up Knoppix as a single-user, dual-boot system and I want to install synaptic. I downloaded the synaptic deb package to a file. Here's what I did and the results:

knoppix@1[~]$ su
root@1[knoppix]# dir
Desktop none thunderbird
firefox-1.0.5.installer.tar.gz office thunderbird-1.0.5.tar.gz
firefox-installer synaptic_0-1.57.2-1_i386.deb tmp
root@1[knoppix]# apt-get install synaptic_0-1.57.2-1_i386.deb
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package synaptic_0-1.57.2-1_i386.deb
root@1[knoppix]#

It says it can't find the package which is shown in the directory listing.

What am I doing wrong and what should I do?

Thanks!





 
Old 07-19-2005, 11:20 PM   #2
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
apt-get is the package handler - meaning it will download and install the files for you. If you want to use that specific package then I suggest "dpkg -i synaptic_0-1.57.2-1_i386.deb". However, if you have an open internet connection faster than say....56k, I would just use Apt-get to download the file. Now - I'm not sure but I do believe that Synaptic has an installation candidate and all you would have to do would be a simple "apt-get install synaptic".

Hope this has helped....If I made no sense - let me know so I can try again.

EDIT - I neglected to mention that Apt-get installs from central repositories, so you don't have to go searching for the file....Just thought I would make that clear.

Last edited by xpromisex; 07-19-2005 at 11:22 PM.
 
Old 07-20-2005, 09:23 AM   #3
tstrickland
Member
 
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36

Original Poster
Rep: Reputation: 15
xproomisex,

I tried it and here's what I got:

knoppix@1[~]$ apt-get install synaptic
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
knoppix@1[~]$ su
root@1[knoppix]# apt-get install synaptic
Reading Package Lists... Done
Building Dependency Tree... Done
Package synaptic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package synaptic has no installation candidate
root@1[knoppix]#

Now what?
 
Old 07-20-2005, 11:20 AM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
as root run the following commands:

Code:
apt-get update
apt-cache search synaptic
apt-get install ((what ever the results of the package was from the search))
that should help you install it. apt-cache search is a great tool for figuring out exactly what you can grab and install with the proper name by the respository you are using.
 
Old 07-20-2005, 07:02 PM   #5
tstrickland
Member
 
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36

Original Poster
Rep: Reputation: 15
Unhappy Now I Have Another Problem

I followed the recommendations of Lleb_KCir and they worked!! I now have synaptic installed. However, I now have another problem. Synaptic, my printer configuration, and probably other applications are now password-protected. This is a Knoppix system that doesn't have a password, or at least I never set one up. I tried several guesses but none worked. I'm locked out of these applications.

Any suggestions?
 
Old 07-20-2005, 09:03 PM   #6
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Okay - Try this.

1 - Hit Ctrl + Alt + F1 to go to a nongraphical login.
2 - at the login, type "root" and see if it will let you in (it should - the synaptic install didn't set up a password, just enabled its use)
3 - If it lets you login as root, type "passwd root" and follow the directions
4 - hit Ctrl + Alt + F7 to get back to the X server.

Good Luck.
 
Old 07-20-2005, 10:25 PM   #7
tstrickland
Member
 
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36

Original Poster
Rep: Reputation: 15
Smile Problem Solved

xpromisex,

Your recommendation worked! Now I can get in to synaptic, etc. so now I am a happy camper

Many thanks! BTW, how did you learn all this stuff?

It's people like you that keep me from giving up on Linux.

Tom
 
Old 07-21-2005, 12:27 AM   #8
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
Re: Problem Solved

Quote:
Originally posted by tstrickland
xpromisex,

Your recommendation worked! Now I can get in to synaptic, etc. so now I am a happy camper

Many thanks! BTW, how did you learn all this stuff?

It's people like you that keep me from giving up on Linux.

Tom
glad it is working for you.

i learned by doing exactly what you are doing. tring to accomplish a task, coming here asking for help, and following instructions. as i learned more i have started being able to ask questions better of google and LQ to get even faster results in most cases.
 
Old 07-21-2005, 04:47 PM   #9
xpromisex
Member
 
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447

Rep: Reputation: 30
Much like was stated above, I learned alot through Linux Questions, Google, and Wiki's.

The reason I knew the answer to that particular question was...well, I'd had it happen to me before, that was what I came up with to fix it.

I'm glad we can keep you "on the bandwagon". If you want a customizable OS, this is it. Just keep at it, and I'll help you as much as I can. (granted that you do a bit of the research yourself on google and the like)
 
Old 07-21-2005, 05:34 PM   #10
tstrickland
Member
 
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36

Original Poster
Rep: Reputation: 15
Thank you

Thank you all for your help! Linux is very complicated, but with all the help available, I keep making slow but steady progress.


 
Old 07-21-2005, 06:39 PM   #11
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
that is how you grow in skills. nice and steady. you will hit hurdles that seem unsurmountable, but giving time you will get over them.
 
  


Reply



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
Is there any way to install .deb package to Fedora kartik_mistry Debian 5 06-18-2009 05:07 PM
NFS DEB Package? Al Hawley MEPIS 3 07-11-2005 10:16 AM
Can I install a .deb package into Vector? Fritz_Monroe Linux - Newbie 2 05-31-2005 05:52 PM
Can't install gimp from .deb package friedknut Debian 4 08-13-2004 04:08 PM
Can apt4rpm use deb repositories or install .deb packages? raylpc Linux - General 0 08-18-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:33 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
Open Source Consulting | Domain Registration