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.
You should not have more than one Debian repository. That is probably the source of your problem. You should include contrib and non-free, and a multimedia repo, as well. I would also recommend testing for a newbie rather than unstable, but that's up to you.
If your downloads are going slow just change your sources.list to a different country code or a different mirror.
You could also try installing apy-spy then running it.
Apt-spy: Parses a list of mirrors and tests each of the mirrors for bandwidth.
Writes a /etc/apt/sources.list file based on the responses it gets.
Or netselect-apt will choose the fastest Debian mirror by downloading the full
mirror list and uses netselect to find the best one. netselect-apt writes a
sources.list(5) file that can be used with apt(8).
Thanks. I added the sourcelist rick suggested. I did apt-get update, it went fast with no errors like before.
But now, when I try to install anything it tells me it depends on other packages, and there is a long long list of programs that will be removed in order to proceed with the installation.
Firefox, i.e., if I try to install it from Synaptic, the list of programs that will be removed is huge, and it's basically my whole system...
Use aptitude from the command line instead of apt-get or synaptic. There is probably a way to accomplish the same thing from apt-get or synaptic, but I don't know it.
Also, if you installed sarge or testing and are moving up the tree to testing or unstable, there are a ton of packages to be pulled and replaced. That is the normal behavior. Apt will rock it. I use straight ap, and not aptitude, but I expect both of them will do the upgrade smoothly.
It will rip out nearly everything, and replace it with the new versions for your new version.
rickh: Thank you very much for good help.- I will try that in a bit and come back with issues if they occur.
Jim: You could help me get the unstable Debian right, with all the newest apps and progs? It was called Etch or something, then I need to add some unstable sources right? And if you look at the sources I have, can you tell me if they are right or wrong, and maybe even give me the right ones?
Sure. The speed of the sources I can't comment on, as I'm in New York City USA, and you're in Norway, but if you want to post your /etc/apt/sources.list file, I'll be glad to suggest what changes you should make to get unstable/sid setup and running.
deb http://ftp.no.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.no.debian.org/debian/ testing main
deb http://www.debian-multimedia.org testing main
Well, that's easy to deal with, just swap every testing with unstable, ala:
Code:
deb http://ftp.no.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.no.debian.org/debian/ unstable main
deb http://www.debian-multimedia.org unstable main
Then when that is changed, run as root:
Code:
apt-get update
apt-get dist-upgrade
Then we'll learn what else you want to get installed. That apt-get dist-upgrade will be big, probably 150 Mb or so download plus, depending on how much you have already installed.
Very odd. Any mirror has all of the build types, stable, testing, and unstable. They might have them by "code" names, which are sarge, etch, and sid. I just checked through the web interface, and they have both sid and unstable.
The kernel will probably be 2.6.18.3. You can also get 2.6.19 from the repositories if you want it. The command uname -r will give you the running kernel version, but you'll need to reboot to run the new kernel you'll download in the upgrade.
Most of the software in unstable is brand spanking new. Like say a guy releases a new version of software on Monday. Somebody has to download it, build it, mark the dependencies, and turn it into a .deb file. It's usually done within 48 hours of the release. Unstable moves way fast.
Ok, it was all done some hours ago, I did a few configs, and this happened (I will display the outcom).
Code:
Remove the running kernel image (not recommended) [No]? no
dpkg: error processing kernel-image-2.4.27-3-386 (--remove):
subprocess pre-removal script returned error exit status 1
dpkg: initrd-tools: dependency problems, but removing anyway as you request:
kernel-image-2.4.27-3-386 depends on initrd-tools (>= 0.1.48).
Removing initrd-tools ...
Errors were encountered while processing:
kernel-image-2.4.27-3-386
E: Sub-process /usr/bin/dpkg returned an error code (1)
I don't even know if the whole system got upgraded now? What can I do? Reboot?
EDIT: I can't boot in to Debian anymore, probably because of that kernel issue, and that the menu.lst don't have the right entry in it. Do I need to install a new kernel - how can I do that from another OS, any solutions?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.