Debian confsion - pcmcia services dropped off when doing a dselect operation!
Posted 25 September 2005 - 02:24 AM
I'm using Debian to power an old Dell XPi pentium and it's be quite reasonable until today when I carelessly removed the pcmcia-cs package and am now without a network.
Is there a way of puttin the files on a floppy and installing them in a similar way to that of the "rpm -i [package]" concept?
I don't really want to make install as it would probably get real messy (based entirely on personal experience.) and I feel sure that simply downloading a package that already works would be the best course of action.
Sorry to ask a dumb Q. I shouldn't be at jobs like this so late at night,
(If I can learn that lesson before my grave, I'll be doing well.)
Posted 25 September 2005 - 11:47 AM
dpkg -i <package name>
There may be an issue with dependencies, depending how you removed the package. How did you remove the package? What command(s) did you use?
Posted 25 September 2005 - 06:16 PM
Spot on, I didn't realise that dpkg was able to do such things but I was hoping that such a tool was available.
The dependacies were not an issue because I had removed something that deselected pcmcia-cs as a dependancy. I've been using dselect mostly - to pick and choose packages and then it's very easy to remove any unwanted packages and update existing ones. I tend to use apt-get to install single packages because Dselect has got a little confusing since I requested a system-wide update and now tries to install more packages than there are room for. Untill I get that sorted out, I'll just continue using it to remove packages that take up space - more carefully in future.
It was great to copy the file across (on a floppy,) type the command you described and straight-away afterwards do a sucessfull ping out.
Posted 25 September 2005 - 07:25 PM
fr34k:~# apt-get install libncu[TAB TAB]
libncurses4 libncurses5-dbg libncurses-dev libncurses-ruby1.8 libncursesw5-dbg
libncurses5 libncurses5-dev libncurses-ruby libncursesw5 libncursesw5-dev
fr34k:~# apt-get install libncurses
like command completition
Posted 25 September 2005 - 09:10 PM
I did not know about the tab completion, so that's a tip for me!
If pc-janitor is on a dual boot system and has PartitionMagic, it looks like it's time to enlarge his Linux partition...steal more space from Windows!
Posted 25 September 2005 - 09:40 PM
I do use apt-get, but I didn't get very far with that as I had no network connection. Does Apt work the same way as dpkg does if the package is in the directory you working from?
I'm Linux only. My desktop uses Fedora Core 3 and the Debian installation was the simplest thing for me to get working with a floppy and pcmcia setup on my brother's old Laptop.
However My wife wants our son to uses Dorling Kindersley CD's and I'm feeling the pressure to go out and buy a copy of what I've avoided for so long:-(.
Harsh really, Maisy loved scanning her photos with XP and she's never been as happy with the Gimp.
I'm open to alternatives for the Dorling Kindersly "we need your computer to have a perfectly set up quicktime and directX setup before we'll teach your children the important stuff about life." poser.
Thanks for your help guys. (oh and that's not a new thread, it's just a by the way - I'll do a search for threads that answer it before I shell out for a move away from my bash:-o)
Posted 25 September 2005 - 10:06 PM
If you installed from cdrom disks, then the apt sources include the cdrom disks.
dpkg is local, so you need to have the package(s) that you want to install on the system locally.
apt-get resolves any deprendent packages that may also be needed without you worrying about them and resolve any deprendent packages that may be needed. In your case, you were lucky that only the single package was needed, as pcmcia was working originally.
You may want to try Synaptic to install new packages, which has a nice gui interface. Now that you have a working internet connection, just type as root user in a console;
apt-get install synaptic and it should be installed.
Using Synaptic, you can see what any dependency packages are and take control of the process much easier.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users