Linux Debian support - Debian Newbie ( From Amiga and x86 SuSE ) questions

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > February 2005 > Debian Newbie ( From Amiga and x86 SuSE ) questions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Debian Newbie ( From Amiga and x86 SuSE ) questions
Ruediger

2005-02-17, 5:46 pm

Hello alltogether,

Yeah, one answer might be : Read the FAQ's.. Fine. When I would knew where I
find them and if ( as some are working already ) , what my real problem is
so that I knew where to look.

What happens:

A fresh install from Knoppix ( Linux-User DVD from mid 2004 ) on a Athlon
1200.
Weird things:

1) I did apt-get dist-upgrade, and the system is now labelled as testing /
unstable version. AFAIK unstable / testing is the most recent version of
Debian?

2) A dozen runs with netinstaller-CD for testing unstable brought up a
version with KDE 3.0 and a 2.2 kernel ; Knoppix installed at 2.4 kernel and
KDE 3.1. What to do to upgrade to Kernel 2.6 and KDE 3.3 and get LILO to
work correctly afterwards? I assumed that apt-get dist-upgrade would do
that, followed by a lilo in the bash, but I ended with more or less the
same system as before.

3) My entire sytem is german.. except for KDM, which keeps on greeting me
in.... Huh.. Hvratsky? Hungary? I have no clue! I want stubborn german, or
maybe even english! Konfiguring KDM from kcontrol didn't changed anything.

4) Wanting to play ArmyOps221 I got told that OpenGL is not installed...
Humm. I have direct Rendering and all 3D acceleration enabled, so it must
be the software which is not installed. Unlike gentoo's "emerge opengl"
apt-get install opengl tells me that there is no package of that name.
Yuck. So how to get that installed?

5) Every cold start Debian starts up and then stops with a black screen
after loading the kernel... two or three presses of the reset-button make
the system start smoothly with no errors

6) "DMA not activated on your drives". Fine. I'm working on that, I'm
optimistic, as I found it on gentoo by myself, too. Hints welcome, though,
as there are several files located in both init.d and rcS.d referencing to
hdparm and I don't want to shoot any config-files I better leave untouched.
Currently I solved it by typing it in bootmic.sh ... is that the correct
place?

7) Runlevel and services... Okay.. We have no insserv, no runlevel-editor
for dummies and rc-update doesn't exist, either.... how do I get lisa /
reslisa to work? I'm already pissed cause SuSE 9.2 seems to have forgotten
about the tool you need when you want to get KDE to work smoothly with the
network, but, okay, It's now Novell, not SuSE anymore...
How to get lisa started in runlevels 3 and 5 ? Or shall I put that, too,
into bootmisc.sh???

Help welcome, and, count it as 8) How do I install the man-pages? neither
apt-get install manpages or docs or info or manuals were found.

And I'm not very good at guessing names for packages I expect to be in the
base-install, so I never cared about them....

Be well, and I hope to read from one or the other soon
--
Sincerely

Ruediger

Andreas Janssen

2005-02-18, 7:45 am

Hello

Ruediger (<ruediger.leibrandt@gmx.de> ) wrote:

> Yeah, one answer might be : Read the FAQ's.. Fine. When I would knew
> where I find them and if ( as some are working already ) , what my
> real problem is so that I knew where to look.
>
> What happens:
>
> A fresh install from Knoppix ( Linux-User DVD from mid 2004 ) on a
> Athlon 1200.
> Weird things:
>
> 1) I did apt-get dist-upgrade, and the system is now labelled as
> testing / unstable version. AFAIK unstable / testing is the most
> recent version of Debian?


Unstable has newer packages (mostly some days newer), but is a little
more, well, unstable. Packages in Testing habe been tested for a while
in unstable, before they are allowed to go to Testing. Check
your /etc/apt/sources.list to see which sources you use. As far as I
know, the /etc/issue file from unstable always says testing/unstable.
The one from Testing right now says "Debian GNU/Linux 3.1". There is
also information available on the Debian web site.

> 2) A dozen runs with netinstaller-CD for testing unstable brought up a
> version with KDE 3.0 and a 2.2 kernel ; Knoppix installed at 2.4
> kernel and KDE 3.1.


I don't know where you got the installer images from, and what mirrors
you use, but current versions of the Debian installer for Sarge use
kernel 2.4 by default (and have been for months), and offer kernel 2.6
as a alternative. The current version of KDE in Testing is 3.3.2.

> What to do to upgrade to Kernel 2.6 and KDE 3.3 and get LILO to work
> correctly afterwards? I assumed that apt-get dist-upgrade would do
> that, followed by a lilo in the bash, but I ended with more or less
> the same system as before.


Then your sources.list was set up incorrectly. Also, if you want easy
kernel upgrades on Debian, use grub instead of lilo, then you only need
to install the kernel-image-2.6-... package you want and everything
else will be taken care of.

> 3) My entire sytem is german.. except for KDM, which keeps on greeting
> me in.... Huh.. Hvratsky? Hungary? I have no clue! I want stubborn
> german, or maybe even english! Konfiguring KDM from kcontrol didn't
> changed anything.


Try to do it again. You can also try to remove unnecessary kde-i18n
packages. You only need kde-i18n-de.

> 4) Wanting to play ArmyOps221 I got told that OpenGL is not
> installed... Humm. I have direct Rendering and all 3D acceleration
> enabled, so it must be the software which is not installed. Unlike
> gentoo's "emerge opengl" apt-get install opengl tells me that there is
> no package of that name. Yuck. So how to get that installed?


Depends on your card. For ATI and Nvidia cards you need drivers from the
manufacturers. There are packages for the nvidia driver in unstable
(the packages in Testing are incomplete right now). If you have a
nvidia card, install module-assistant and create a package of the
nvidia-kernel driver for your kernel. After doing that and installing
it, make sure nvidia-kernel-common and nvidia-glx are also installed.
Change the driver for your card from "nv" to "nvidia" in
your /etc/X11/XF86Config-4.

> 5) Every cold start Debian starts up and then stops with a black
> screen after loading the kernel... two or three presses of the
> reset-button make the system start smoothly with no errors


Sounds like a hardware problem to me. But this is not much more than a
guess.

> 6) "DMA not activated on your drives". Fine. I'm working on that, I'm
> optimistic, as I found it on gentoo by myself, too. Hints welcome,
> though, as there are several files located in both init.d and rcS.d
> referencing to hdparm and I don't want to shoot any config-files I
> better leave untouched. Currently I solved it by typing it in
> bootmic.sh ... is that the correct place?


In Debian testing and unstable, hdparm has its own init
script /etc/init.d/hdparm which is linked to /etc/rcS.d/S??hdparm, so
it is started at bootup, even if you only go to single user mode. To
configure it, change the config file /etc/hdparm.conf. However first
you need to make sure you have a kernel that supports your chipset - if
you use 2.2 on a fairly recent motherboard, it probably won't do that.
Try to use

# hdparm -d1 /dev/hda

If you get a message that says "operation not permitted" (or something
like that), you are probably missing driver support.

> 7) Runlevel and services... Okay.. We have no insserv, no
> runlevel-editor for dummies and rc-update doesn't exist, either....
> how do I get lisa / reslisa to work?


Check if the package has an init script in /etc/init.d. If it does, make
a symlink to the runlevel directory. You probably want this to come up
after the networking script is run. There is also a package/program
that helps you configure these things, it is calles sysv-rc-conf. Also
note that on Debian systems, the default runlevel is 2, not 5.

> Help welcome, and, count it as 8) How do I install the man-pages?
> neither apt-get install manpages or docs or info or manuals were
> found.


apt-cache search man page

However, the english man pages normally are included in the package they
refer to. E.g. the lspci man page is in the pciutils package.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Bill Marcum

2005-02-18, 5:45 pm


On Thu, 17 Feb 2005 23:56:41 +0100, Ruediger
<ruediger.leibrandt@gmx.de> wrote:
>
> 2) A dozen runs with netinstaller-CD for testing unstable brought up a
> version with KDE 3.0 and a 2.2 kernel ; Knoppix installed at 2.4 kernel and
> KDE 3.1. What to do to upgrade to Kernel 2.6 and KDE 3.3 and get LILO to
> work correctly afterwards? I assumed that apt-get dist-upgrade would do
> that, followed by a lilo in the bash, but I ended with more or less the
> same system as before.
>

Edit /etc/apt/sources.list and change "stable" or "woody" to "testing",
"sarge" or "unstable".

> 3) My entire sytem is german.. except for KDM, which keeps on greeting me
> in.... Huh.. Hvratsky? Hungary? I have no clue! I want stubborn german, or
> maybe even english! Konfiguring KDM from kcontrol didn't changed anything.
>

maybe "dpkg-reconfigure locales"

>
> 5) Every cold start Debian starts up and then stops with a black screen
> after loading the kernel... two or three presses of the reset-button make
> the system start smoothly with no errors


That sounds like a hardware problem. Have you tried memtest86? Or
maybe you need a driver for your video card.

>
> 7) Runlevel and services... Okay.. We have no insserv, no runlevel-editor
> for dummies and rc-update doesn't exist, either.... how do I get lisa /
> reslisa to work? I'm already pissed cause SuSE 9.2 seems to have forgotten
> about the tool you need when you want to get KDE to work smoothly with the
> network, but, okay, It's now Novell, not SuSE anymore...
> How to get lisa started in runlevels 3 and 5 ? Or shall I put that, too,
> into bootmisc.sh???
>

In Debian, runlevels 2 to 5 are all the same, unless you change them
using update-rc.d or manually changing the links in /etc/rc?.d.

> Help welcome, and, count it as 8) How do I install the man-pages? neither
> apt-get install manpages or docs or info or manuals were found.
>

Some packages have separate *-doc packages, for licensing or other
reasons (the GNU Free Documentation License somehow does not meet Debian
standards).

> And I'm not very good at guessing names for packages I expect to be in the
> base-install, so I never cared about them....
>

aptitude is a good tool for searching for packages, or you can search
packages.debian.org.

> Be well, and I hope to read from one or the other soon

Peter J Ross

2005-02-18, 5:45 pm

On Thursday 17 February, Ruediger wrote in alt.os.linux.debian:

> Hello alltogether,


> Yeah, one answer might be : Read the FAQ's.. Fine. When I would knew where I
> find them and if ( as some are working already ) , what my real problem is
> so that I knew where to look.


> What happens:


> A fresh install from Knoppix ( Linux-User DVD from mid 2004 ) on a Athlon
> 1200.
> Weird things:


> 1) I did apt-get dist-upgrade, and the system is now labelled as testing /
> unstable version. AFAIK unstable / testing is the most recent version of
> Debian?


What's in your /etc/apt/sources.list? For a successful upgrade to
unstable you should start with something like this:

deb ftp://ftp.de.debian.org/debian/ testing main
# deb ftp://ftp.de.debian.org/debian/ unstable main [commented
out because you don't want it yet]

[I'm assuming you want to use a German mirror; check that the one I've
suggested actually exists.]

You then need to run

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

You may need to repeat the second and third steps if packages are
being held back.

After that you should have upgraded to testing. Then uncomment the
reference to unstable in sources.list and repeat the three apt-get
steps, or, to be safe, keep testing until everything else is working.
(testing has KDE 3.3 and kernel 2.6.8 available.)

> 2) A dozen runs with netinstaller-CD for testing unstable brought up a
> version with KDE 3.0 and a 2.2 kernel ;


The latest versions in unstable are KDE 3.3.2 and kernel 2.6.10. You
seem somehow to have downgraded to a Debian stable kernel, and I
wasn't aware that KDE 3.0 was in any current version of Debian.

> Knoppix installed at 2.4 kernel and
> KDE 3.1. What to do to upgrade to Kernel 2.6 and KDE 3.3


See above.

> and get LILO to
> work correctly afterwards?


As root, edit /etc/lilo.conf to include sections for any kernels that
are in /boot/. Then run lilo and reboot. For example, this is my
lilo.conf:

boot=/dev/hda
default=Debian-2.6.10-3
install=menu
lba32
map=/boot/map
prompt
read-only
root=/dev/hda1
timeout=100
vga=791
image=/boot/vmlinuz-2.6.10-pjr20050210
label=Debian-2.6.10-3
image=/boot/vmlinuz-2.6.10-pjr050120
label=Debian-2.6.10-2
image=/boot/vmlinuz-2.6.10-pjr050116
label=Debian-2.6.10-1

Your boot=, root= and image= sections will be different, but you ought
to have equivalents for most of the lines I have.

> I assumed that apt-get dist-upgrade would do
> that,


Not if you haven't edited sources.list and run apt-get update.

> followed by a lilo in the bash,


Not if you haven't edited lilo.conf.

[I can't help with 3, 4, 5 and 6]

> 7) Runlevel and services... Okay.. We have no insserv, no runlevel-editor
> for dummies and rc-update doesn't exist, either.... how do I get lisa /
> reslisa to work? I'm already pissed cause SuSE 9.2 seems to have forgotten
> about the tool you need when you want to get KDE to work smoothly with the
> network, but, okay, It's now Novell, not SuSE anymore...
> How to get lisa started in runlevels 3 and 5 ? Or shall I put that, too,
> into bootmisc.sh???


Try installing the KDE Sysv-Init editor if you want a fairly painless
way of doing this. Note that runlevels 2 to 5 are identical in Debian
by default.

> Help welcome, and, count it as 8) How do I install the man-pages? neither
> apt-get install manpages or docs or info or manuals were found.


The packages may appear after apt-get update, as I suggested above.

# apt-get install manpages-de
# apt-get install info
# apt-get install debian-reference-de
[assuming you want German versions]

The last isn't essential but it's useful.

> And I'm not very good at guessing names for packages I expect to be in the
> base-install, so I never cared about them....


If you install aptitude or synaptic or dselect as a front-end to apt,
you ought to be able to find which important packages are missing more
easily.

I suspect that premature use of apt-get dist-upgrade may have removed
a lot of stuff.

> Be well, and I hope to read from one or the other soon


I hope this is some use.

PJR :-)
--
alt.usenet.kooks award-winners and FAQ:
http://www.insurgent.org/~kook-faq/

[To reply by email, remove "NOSPAM".]
Ruediger

2005-02-18, 5:45 pm

Okay, your collected help brought me a lot further:

1) an empty /etc/apt/sources.list is of no real use for upgrading anything.

By the way: How do I uninstall packages through apt? I assume apt-get remove
( or delete ) <packagename>?

2) Thanks for the hints with Lilo, I made a setup-file with 10 entries,
containing all kernels I found on both the knoppix and the
netinstaller-CD's, of latter I just finished downloading a recent version.
I will try to get grub installed, though, as I have more experience with it
from my time using Suse ( Don't bang at SuSE... it's just trying to be
compatible.. Actually it worked better on my Notebook than the included
Widow experimental did... =) As soon as I get fluent with debian I'll put
it on my notebook, too. )

8) Okay! Hey! The manpages are installing! Hoorrraayy!


The help on 7) is good, but I will need a while I think until I find out how
to make my own init-scripts for things like mlnet, as it didn't generate
any init-file =( that there is no differnce in the runlevels.. well, I'm a
lazy mouse-mover anyway ;)

My troubles with 3) I hope to see solved when the netinstaller finished
upgrading my system.
Oh, it is installing grub , nice =) .. and a 2.6 kernel... Yummy

about 5) I have a NVidia Geforce 2 GTS, and installed the original NVidia
drivers from www.nvidia.com. it shows its logo on startup, and I have
accellerated graphics, just, it kept on telling me opengl is missing :/
Well, see again when the netinstaller is done...


Many thanks to all of you, your emails are printed for refenrence and help.
I'm eager to write y'all what happens after the next installation-run ;)

> Hello alltogether,
>
> Yeah, one answer might be : Read the FAQ's.. Fine. When I would knew where
> I find them and if ( as some are working already ) , what my real problem
> is so that I knew where to look.
>
> What happens:
>
> A fresh install from Knoppix ( Linux-User DVD from mid 2004 ) on a Athlon
> 1200.
> Weird things:
>
> 1) I did apt-get dist-upgrade, and the system is now labelled as testing /
> unstable version. AFAIK unstable / testing is the most recent version of
> Debian?
>
> 2) A dozen runs with netinstaller-CD for testing unstable brought up a
> version with KDE 3.0 and a 2.2 kernel ; Knoppix installed at 2.4 kernel
> and KDE 3.1. What to do to upgrade to Kernel 2.6 and KDE 3.3 and get LILO
> to work correctly afterwards? I assumed that apt-get dist-upgrade would do
> that, followed by a lilo in the bash, but I ended with more or less the
> same system as before.
>
> 3) My entire sytem is german.. except for KDM, which keeps on greeting me
> in.... Huh.. Hvratsky? Hungary? I have no clue! I want stubborn german, or
> maybe even english! Konfiguring KDM from kcontrol didn't changed anything.
>
> 4) Wanting to play ArmyOps221 I got told that OpenGL is not installed...
> Humm. I have direct Rendering and all 3D acceleration enabled, so it must
> be the software which is not installed. Unlike gentoo's "emerge opengl"
> apt-get install opengl tells me that there is no package of that name.
> Yuck. So how to get that installed?
>
> 5) Every cold start Debian starts up and then stops with a black screen
> after loading the kernel... two or three presses of the reset-button make
> the system start smoothly with no errors
>
> 6) "DMA not activated on your drives". Fine. I'm working on that, I'm
> optimistic, as I found it on gentoo by myself, too. Hints welcome, though,
> as there are several files located in both init.d and rcS.d referencing to
> hdparm and I don't want to shoot any config-files I better leave
> untouched. Currently I solved it by typing it in bootmic.sh ... is that
> the correct place?
>
> 7) Runlevel and services... Okay.. We have no insserv, no runlevel-editor
> for dummies and rc-update doesn't exist, either.... how do I get lisa /
> reslisa to work? I'm already pissed cause SuSE 9.2 seems to have forgotten
> about the tool you need when you want to get KDE to work smoothly with the
> network, but, okay, It's now Novell, not SuSE anymore...
> How to get lisa started in runlevels 3 and 5 ? Or shall I put that, too,
> into bootmisc.sh???
>
> Help welcome, and, count it as 8) How do I install the man-pages? neither
> apt-get install manpages or docs or info or manuals were found.
>
> And I'm not very good at guessing names for packages I expect to be in the
> base-install, so I never cared about them....
>
> Be well, and I hope to read from one or the other soon


--
Sincerely

Ruediger

Tommi Jensen

2005-02-20, 5:46 pm

Ruediger wrote:
> Hello alltogether,
>


> 1) I did apt-get dist-upgrade, and the system is now labelled as testing /
> unstable version. AFAIK unstable / testing is the most recent version of
> Debian?

stable<-testing<-unstable

> KDE 3.1. What to do to upgrade to Kernel 2.6 and KDE 3.3 and get LILO to

kernel:
apt-cache search kernel-image |grep 2.6
KDE, probably unstable. debian is alot about stability and `if it's not
broken don't fix it' - so, updates (save security and _really_ needed
things) are usually not put into stable. testing is always striving to
_become_ stable - and is hence somewhat conservative about what's added
and what's not. if you want the "latest and greatest(tm)" - you'll have
to run unstable, along with the unpleasantries it'll sometimes include.
(b0rken packages, dependencies), though from my experience -
debian/unstable is more stable than any rh .0 release to date (which
would make it ever).

> 4) Wanting to play ArmyOps221 I got told that OpenGL is not installed...
> Humm. I have direct Rendering and all 3D acceleration enabled, so it must
> be the software which is not installed. Unlike gentoo's "emerge opengl"
> apt-get install opengl tells me that there is no package of that name.
> Yuck. So how to get that installed?

apt-cache search opengl |more

> 7) Runlevel and services... Okay.. We have no insserv, no runlevel-editor
> for dummies and rc-update doesn't exist, either.... how do I get lisa /

update-rc.d

> reslisa to work? I'm already pissed cause SuSE 9.2 seems to have forgotten
> about the tool you need when you want to get KDE to work smoothly with the
> network, but, okay, It's now Novell, not SuSE anymore...

don't know what lisa is, try apt-cache............ (I think you're
catching on now ;))

> How to get lisa started in runlevels 3 and 5 ? Or shall I put that, too,
> into bootmisc.sh???

update-rc.d


> Help welcome, and, count it as 8) How do I install the man-pages? neither
> apt-get install manpages or docs or info or manuals were found.

that's strange? are you talking things such as: apt-cache show manpages-dev?

> And I'm not very good at guessing names for packages I expect to be in the
> base-install, so I never cared about them....

apt-cache search ;)


> Be well, and I hope to read from one or the other soon


as a few final hints:
apt-get -y install apt-howto && cd /usr/share/doc/Debian/apt-howto/

ofcourse, you could vouch for the apt-howto-de if you just want german,
the apt-howto metapackage installs _lots_.

dpkg-deb -c /path/to/deb (apt'ed files are in /var/lib/apt/archives/),
lists contents of a package.


and welcome to debian.

hth,
/Tommi
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com