Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 63

Thread: Apt-get / dpkg tutorial

  1. #21
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY, USA
    Posts
    1,256
    BTW, is there anyway to use apt-get to install something to the ramdisk temporarily while running off the KNOPPIX CD, maybe to tmp? Apparently you can install some things that way, look at fabianx's nvidia installer script which works for cdd and hdd installs. I suppose it would depend on what files need to be installed and updated so it would be application specific, right?

    My kid at college has an old Gateway desktop in his dorm room that runs fine with the CD but the hdd is dead. Well, he's too cheap to get a new hdd, so he'd like to install the nvidia drivers and bzflag this way. Can this be done?

    Why don't you just type apt-get install and press <Tab>?
    It will list everything available to install.
    BTW, I can't get this to work. Does this work? The best I can do to see available apps to install is apt-cache search xxxx - is that all I can do?

    TIA,

  2. #22
    Senior Member
    Join Date
    Nov 2003
    Posts
    1,323
    BTW, is there anyway to use apt-get to install something to the ramdisk temporarily while running off the KNOPPIX CD, maybe to tmp?
    Sorry, not a clue. Why not just try it out, after all, it won't break anything on the ramdisk.


    Why don't you just type apt-get install and press <Tab>?

    BTW, I can't get this to work.
    You have to press tab three times (I think) and choose "y"
    Just press tab until it does something

  3. #23
    Junior Member
    Join Date
    Jan 2004
    Location
    Atlanta, Ga.
    Posts
    1

    Through a proxy

    Well, I had to look for this online, so I thought this would be a good place for it, as well.

    Should you require to use apt through a proxy, you just need to set an enviroment variable:

    export http_proxy='http://proxy.site.domainort@userassword'

    If your proxy doesn't use a username/password, just leave the '@' symbol and everything after it off.

    Hope that helps someone.

  4. #24
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203

    Keep em comming

    This topic sounded really good!!!
    Coming from the RPM world i lack a certain aptitude with debian.

    I wanna change my sources but I was a bit worried about breaking the knoppix specific stuff.

    I messed about and wrecked kde and it won't come back, mainly because some packages are on hold.
    Its no big deal becuase its a new install, I only been using Knoppix for a week but I have to say Im impressed as hell.

    I downloaded the latest 3.3 to fix a screwed Mandrake install and seeing the new feature list and the fact it supported my 1GB memory I went ahead with a HDD install......

    The hardware detection is amazing.... quite why debian are looking at anaconda is beyond me when knoppix does it 10x better.

    Anyway, I'd really like to FIX the KDE and learn something in the meantime ... I just wanna know which sources to add and what needs to be on hold and hopefully this thread can grow ......

  5. #25
    Junior Member registered user
    Join Date
    Jan 2004
    Location
    france
    Posts
    18

    Re: Through a proxy

    Quote Originally Posted by Kick the Donkey
    Should you require to use apt through a proxy, you just need to set an enviroment variable:

    export http_proxy='http://proxy.site.domainort@userassword'
    Hope that helps someone.
    I used this for yum yesterday.. but I think its only fedora/redhat yum specific. I could be wrong though.

  6. #26
    Senior Member registered user
    Join Date
    Jan 2004
    Location
    Paris, France
    Posts
    203

    Nope

    Its bash specific, its a part of the bash shell, ftp_proxy works too.

  7. #27
    Junior Member registered user
    Join Date
    Jan 2004
    Posts
    15
    Quote Originally Posted by Superstoned
    THATS how you learn, not by asking us...
    Well, what are you good for then?

    Seriously, can anyone tell me what this means (and sorry for bringing up such an old thread):

    W: Couldn't stat source package list http://non-us.debian.org ./ Packages (/var/lib/apt/lists/non-us.debian.org_%7ekitame_mozilla_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Pac kages) - stat (2 No such file or directory)


    I thought I'd start with something simple so I installed kmoon. It seems to have installed fine, but I'm puzzled over the output I got above.

    Also can anyone tell me why, after I'd installed Knoppix to my hd and tried to run one of Kano's bash scripts (fix-all-global.bash) as root I got permission denied?

    Lastly, I want advice. I understand that Knoppix uses a mix of Sarge and Sid. Would it save me from problems down the line if I upgrade fully to Sid or try to downgrade to Sarge? If the latter, how? Google only revealed that it *is* possible, but not how; there seems to be some sort of trick to it. The man pages were no help either.

  8. #28
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by Mistshadow
    Quote Originally Posted by Superstoned
    THATS how you learn, not by asking us...
    Well, what are you good for then?

    Seriously, can anyone tell me what this means (and sorry for bringing up such an old thread):

    W: Couldn't stat source package list http://non-us.debian.org ./ Packages (/var/lib/apt/lists/non-us.debian.org_%7ekitame_mozilla_._Packages) - stat (2 No such file or directory)
    W: Couldn't stat source package list http://people.debian.org sid/i386/ Packages (/var/lib/apt/lists/people.debian.org_%7ebranden_packages_sid_i386_Pac kages) - stat (2 No such file or directory)


    I thought I'd start with something simple so I installed kmoon. It seems to have installed fine, but I'm puzzled over the output I got above.

    Also can anyone tell me why, after I'd installed Knoppix to my hd and tried to run one of Kano's bash scripts (fix-all-global.bash) as root I got permission denied?

    Lastly, I want advice. I understand that Knoppix uses a mix of Sarge and Sid. Would it save me from problems down the line if I upgrade fully to Sid or try to downgrade to Sarge? If the latter, how? Google only revealed that it *is* possible, but not how; there seems to be some sort of trick to it. The man pages were no help either.
    You need to put a # character in front of the line(s) that are causing the warnings in the /etc/apt/sources.list. For Kano's script did you chmod +x name_of_script.sh to make it executable if so tells us exactly the steps you were using. If you want to go with either the testing or unstable you should comment out (put # character in front of the line) the other lines for the branches that you do not want then apt-get -s dist-upgrade if the output of the simulation looks good then remove the -s from the line to actually upgrade this done after an apt-get update to refresh the apt packages cache.

  9. #29
    Junior Member
    Join Date
    Mar 2004
    Location
    British Columbia, Canada
    Posts
    1

    Re: wrong attitude

    Quote Originally Posted by turbine
    "THATS how you learn, not by asking us... "

    This is definitely the wrong attitude, held by many in the linux community, and a definite detrement to a more widespread acceptance and usage of linux and in this case knoppix. Don't forget a lot of people are looking in on these posts, people who are considering becoming knoppix users. We don't want to discourage them with bad manners, condescending attitudes, snobbish behaviour, etc. Always be as helpful and courteous as possible, otherwise remain silent.
    Thanks for pointing that comment out. As a new knoppix user, I can deffinately say that I'd be leary to ask for help after reading that. These forums are an excellent way to learn about knoppix, but some of the information is confusing to a newbie. Asking questions is a great way to learn things.

  10. #30
    Junior Member
    Join Date
    Mar 2004
    Posts
    2
    This probably won't be of interest to the seasoned Linux user, but for us just getting into it, this could be a bit helpful. I had run many apt-get installs. I was excited, but overwhelmed at the 19,000 + install packages listed. In a shell when you type apt-get install and tab 3 times, you get a huge list of packages all in text and not easy to decipher without doing some searching on the net for a description.

    I tripped over a package called 'kpackage'. I had no idea what it was, but figured it had to do with package handling. A couple of days later I saw it in my menu and clicked on it. This is a great program that list out the install packages and gives you a brief explaination of what it is and what other supporting installs you will need to get it working correctly. You put a checkmark by the package you want to install and click install.

    I am by no means steering anyone away from working in a shell. It seems to be the foundation of Linux and deffinately needs to be practiced.

    Hope this helps someone..................anyone.

Page 3 of 7 FirstFirst 12345 ... LastLast

Similar Threads

  1. Knoppix Tutorial
    By schock in forum News
    Replies: 10
    Last Post: 11-04-2004, 09:00 AM
  2. apt-get / dpkg error: unable to access dpkg status area
    By Nitromethane1261 in forum General Support
    Replies: 2
    Last Post: 09-15-2004, 12:09 AM
  3. Tutorial
    By Firezone2k in forum General Support
    Replies: 1
    Last Post: 11-26-2003, 05:46 AM
  4. linux tutorial
    By senorian in forum The Lounge
    Replies: 0
    Last Post: 04-12-2003, 08:40 PM
  5. Tutorial Knoppix?
    By mabhatter in forum Ideas
    Replies: 1
    Last Post: 03-04-2003, 07:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Intel Xeon E5-2689v4 10 Core 3.1G - SR2T7 picture

Intel Xeon E5-2689v4 10 Core 3.1G - SR2T7

$125.00



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$242.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$539.99



Intel 6 Core i5-8600 3.1GHZ Desktop Processor SR3X0 picture

Intel 6 Core i5-8600 3.1GHZ Desktop Processor SR3X0

$50.00



Intel Core i5-6500 Quad-Core Processor 3.2 GHz 6MB LGA1151 picture

Intel Core i5-6500 Quad-Core Processor 3.2 GHz 6MB LGA1151

$23.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$364.99



Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc... picture

Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...

$399.99



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$519.99



AMD Ryzen 7 2700X CPU Processor 3.7GHz AM4 picture

AMD Ryzen 7 2700X CPU Processor 3.7GHz AM4

$74.99



AMD EPYC 7282 cpu processor 16 cores 32 threads 2.8GHZ up to 3.2GHZ 120w picture

AMD EPYC 7282 cpu processor 16 cores 32 threads 2.8GHZ up to 3.2GHZ 120w

$78.00