DebianThis forum is for the discussion of Debian Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1- when i do a apt-cache search for the latest kernel release, the most recent kernel i get is 2.4.19. Is this apt-cache updatable or something...
What happens is that xterm comes with the ability to scroll back 64 lines only.
you have to config your ./Xresources, it deletes anything beyond that as in your case.
I just wrote this on another thread explaining how to expand in xterm the amount of lines in order to scrollback:
"That's because it only stores 64 lines by default. Here's my xterm properties:
copy/paste it into your /home/your_user_name/.Xresources file with your favorite editor as root. Save and exit.
after that, still as root, on the terminal type this:
xrdb -merge /home/your_user_name/.Xresources
then logout/login
after you come back, you will be able to scroll back (by pressing the middle button of your mouse on the xterm scrollbar) 20000 lines, you will have a yellow cursor, a scrollbar and a larger, easy to see xterm with a black background and white fonts.
About your second question, sometimes i don't understand , are you referring to the sources list in order to dist-upgrade to a different version? If so:
if you fix the number of lines to scrollback in xterm, following the instructions, and do a:
apt-cache search kernel 2.6
it will bring everything dealing with kernel 2.6, because NOW, it has the space to show it there.
"it will get the packages from ftp.uevora.pt, and i want to change that "
as root:
apt-setup
it will take you to the config page identical to the one you used during the installation. Choose your continent, server, etc. IIRC, it will give you a default Sarge sources.list. change it according to your needs, afterwards, do an
apt-get update
apt-get upgrade (if you want to stay there) OR
apt-get dist-upgrade
(if you want to move up to Sid, and if you have changed the sources.list to sid, obvio)
What happens is that i dont use xterm(i still dont have X), i'm using the console and at the moment i'm replying this post with lynx, which is a very hard task for a newbie like me hehe.
see if you get in, login as username/password, once in, right-click on the desktop and choose xterm. Read the articles listed in my signature so you have a clue what you're doing, and will talk tomorrow.
Maybe i haven't explained very well. I don't have X, because i can't get it my mouse to work. The reason i want to update the kernel is simply to get my mouse to work. Till then, i don't have X, and i don't use xterm. So everything i do is using console and i can't find kernel 2.6.7 in the search.
You can use apt-setup to choose a Debian mirror close to you. Then you can open /etc/apt/sources.list using a text editor (such as nano) and make sure that you've got the repository you want (stable, testing, or unstable).
Then you need to update APT database by doing "apt-get update" (or by launching aptitude and pressing the "u" key). After this "apt-cache search kernel-source | more" should show you the available kernel source packages. (In aptitude the kernel-source packages are under "devel -> main" category.)
You need to point sources.list to testing or unstable to get any results for 2.6.x kernels -- you won't find kernel 2.6.x from stable repositories.
Last edited by Dead Parrot; 07-17-2004 at 10:39 AM.
"I don't have X, because i can't get it my mouse to work. The reason i want to update the kernel is simply to get my mouse to work. Till then, i don't have X, and i don't use xterm. So everything i do is using console and i can't find kernel 2.6.7 in the search."
You should have said that at the beginning.
We still don't know what kernel you actually have, or what mouse, or what errors you were given.
If you have kernel 2.4.x, it should work with my previous postings or the instructions from the articles on my signature, unless it's a usb mouse, something we don't know because you haven't told us.
This thread started with a problem with xterm, when in reality, is a problem of
X/mouse. You have to learn to prioritize, first fix X/mouse, then xterm, after that compile a new kernel or install a kernel-image, we all want to help you, but you don't give any pertinent information, it's like pulling teeth.
Well the main reason is that i want to update my kernel to 2.6.x I have kernel 2.2. I don't understand you're bad mood, because "Dead Parrot" got it at first time, so i think he is a dentist :P
Anyway, continuing with my post:
i've edit /etc/apt/sources.list and added a few mirrors, for example: deb http://ftp.uevora.pt/debian/ unstable main contrib, among others. after doing that and saving the sources.list, i done a apt-update, and i get the following error: "dynamic MMap ran out of room!". So i can't update it.
Any ideas ?
Thanks in advance.
##EDIT## I've now used the forum search and found a possible solution for my problem... shame on me! I'll post feedback or questions in a few moments
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.