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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-19-2005, 11:13 PM
|
#1
|
|
Member
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36
Rep:
|
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!

|
|
|
|
07-19-2005, 11:20 PM
|
#2
|
|
Member
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
|
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.
|
|
|
|
07-20-2005, 09:23 AM
|
#3
|
|
Member
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36
Original Poster
Rep:
|
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?

|
|
|
|
07-20-2005, 11:20 AM
|
#4
|
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Rep:
|
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.
|
|
|
|
07-20-2005, 07:02 PM
|
#5
|
|
Member
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36
Original Poster
Rep:
|
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? 
|
|
|
|
07-20-2005, 09:03 PM
|
#6
|
|
Member
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
|
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.
|
|
|
|
07-20-2005, 10:25 PM
|
#7
|
|
Member
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36
Original Poster
Rep:
|
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
|
|
|
|
07-21-2005, 12:27 AM
|
#8
|
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Rep:
|
Re: Problem Solved
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.
|
|
|
|
07-21-2005, 04:47 PM
|
#9
|
|
Member
Registered: Apr 2004
Location: Statesboro, GA
Distribution: Arch Linux 2007.05 "Duke" (Kernel 2.6.21)
Posts: 447
Rep:
|
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)
|
|
|
|
07-21-2005, 05:34 PM
|
#10
|
|
Member
Registered: Jun 2005
Location: Lewisville, Texas
Posts: 36
Original Poster
Rep:
|
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.

|
|
|
|
07-21-2005, 06:39 PM
|
#11
|
|
Senior Member
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:20 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|