Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13
Well, here is the idea.. I want to switch from Gentoo to Debian. I dont have inet on this pc. But I want a minimal system. So, I did get ...
  1. #1
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422

    dpkg..

    Well, here is the idea..
    I want to switch from Gentoo to Debian.
    I dont have inet on this pc.
    But I want a minimal system.
    So, I did get a netinstall system.
    Well, done.
    Well, install worked.. but now I need to install xfce and other programs.
    So, I was looking at the package system.
    So I found out that I had to use Dpkg.
    So I downloaded all the packages I need from the website.
    Jobs Done. so I was hoping that
    Code:
    dpkg -i *
    worked.
    But, well it doesnt.
    Is there a easy way to install lots of files from a CD??
    Im sorry for this low level question.

    Anyone who can help me?

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  2. #2
    Linux Newbie hughitt1's Avatar
    Join Date
    Oct 2005
    Location
    Baltimore, MD USA
    Posts
    167
    Hi,

    From the documentation, it looks like if you use the recursive switch along with the name of the directory containing the packages, it should install multiple packages.

    e.g.
    Code:
    dpkg -iR /media/cdrom/dists/
    Hope that helps. Goodluck!

  3. #3
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    ok, I am really sorry.
    I have read the documentation a couple of times and I didnt see that... (I think its my dyslexia)...
    I really am sorry, I should have read better.

    So when I do that it will look for dependences?

    Thanks alot, ill try asap.
    New Users, please read this..
    Google first, then ask..

  4. #4
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Just a side note, I hope this helps...

    Have you heard of AptOnCD? It was written for Ubuntu but I'm sure it would work for Debian. It allows you to build a repository CD based on an existing install.

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    There is another way too. Check this thread.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    @devils_casper That looks like the best way.. ^^ but, I still have to find out how to install packages with that way. Instead of upgrading them. But I think I can find a way..
    @bigtomrodney I think It will, not sure though. Since I dont have room for a Graphical End. Well Ill look into it. Thanks!
    @hughitt1 I tryed that, and it fails since of to many errors. I have no idea wjy since I downloaded all the files that the debian site said I was needing. Anywho I think that the other ways are better. Thanks Though!!!

    Edit:
    I am trying Devils Way now,
    I got a list of all the Packages. Downloaded everything with wget -i. (Cygwin ^^)
    And well now I am installing all the packages with dpgk -i *.deb
    Hope that works.
    Already got once stopped since of to many errors. but that was when i did dpgk -i *
    So I hope this does work.

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

  7. #7
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Sorry I reply on myself.
    But I just cant figure out how to do this?
    I tried apt-get with changing sources.list...
    I tried dselect. I tried the way of Devil and Bigtom.. Well Devils just doesn't work. (Since it only has a GUI..)
    And, I tryed my own way.
    Ive been googling.. I think i just should stick to Gentoo. but that DualBoot keeps acting up.
    And I dont like the Source-Only thing. Since I install a lot of programs. And I update everyday.
    And Debian does have the innit and service scripts I likes so.
    Anyhow, does anyone have a better idea for me?

    And, I know this is for a diffrent topic.. But what is
    Code:
    atkbd.c Spurious ACK on isa0060/serio0.
    for error?
    Since it keeps coming up. And I googled it and they say you have to reinstall the kernel then. But its just the base kernel. And I always have that when I install debian.. (Never succeeded.. )
    New Users, please read this..
    Google first, then ask..

  8. #8
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    what part of Devils way breaks for you, because although I have never used it, it looks to be pretty straight forward.

    as for your error, are you using any serial ports? one post I ready suggested besides recompiling your kernel is to disable the serial ports

  9. #9
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Well devils way is to upgrade a system.
    And when I do the same thing.
    But at the end instad of apt-get upgrade
    apt-get install xfce4 for example it gives the error that it cant find other dependency's.
    New Users, please read this..
    Google first, then ask..

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Did you copy all downloaded packages in /var/cache/apt/archives folder?
    Some Windows Machines do not assign correct filenames to downloaded packages. Make sure that dowloading package name and saved filename must match.
    Your machine must be connected to internet atleast once to update sources. Execute this
    Code:
    su 
    apt-get update
    It will recreate source database with latest version available over internet. it will take a few seconds only. Follow instructions given on that thread and download packages. Copy packages in /var/cache/apt/archives folder and execute apt-get install <package> command to install those.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

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