[SOLVED] why aptitude install won't get my packages?
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.
It fails to get the packages. I use aptitude but tried apt-get when aptitude failed and neither work. I made it simpler, and just tried
Quote:
aptitude install kernel-package
These are the resuls
"root@thinkpadx220:~# aptitude install kernel-package
No candidate version found for kernel-package
No candidate version found for kernel-package
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used."
Here is my sources.lst
Quote:
#
# deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Off$
I had a similar problem some time ago on a new installation. It seemed that just pointing to ftp.debian.org didn't work as expected. Putting in a country code like this: ftp.es.debian.org (for Spain) did the trick. Change in your sources.list, run
Hi Erictra, i tried what you said, living in Australia i changed the mirrors to:
ftp.au.debian.org/debian/
and then did aptitude update, then aptitude upgrade, nothing was done though. then i tried aptitude install kernel-package, and i still get the same message as before.
and as you can tell I am on sid but I use a very smart script called smxi which does my kernel and updates for me.
Its not automatic but bloody better than any apt tool.
.......from the site
smxi is an interactive script designed to help people maintain their systems. It supports Debian (Stable, Testing, and Sid) and true Debian based distros (such as, but not limited to, AntiX, Aptosid, Epidemic, Linux Mint Debian [LMDE], Mepis). It does not support Ubuntu based distros because there are too many differences between Debian and Ubuntu.
---------- Post added 04-09-11 at 08:08 ----------
and as you can tell I am on sid but I use a very smart script called smxi which does my kernel and updates for me.
Its not automatic but bloody better than any apt tool.
.......from the site
smxi is an interactive script designed to help people maintain their systems. It supports Debian (Stable, Testing, and Sid) and true Debian based distros (such as, but not limited to, AntiX, Aptosid, Epidemic, Linux Mint Debian [LMDE], Mepis). It does not support Ubuntu based distros because there are too many differences between Debian and Ubuntu.
Hello, my isp is Telstra Bigpond, i use mobile broadband, and my sources.list is in my first post. Since taking Erics advice, i have changed, http://ftp.debian.org/debian/ to http://ftp.au.debian.org/debian/.
p.s.
why didn't you just edit your first post instead of posting three times?
EricTRA gave you the missing line above, so i assumed the problem was solved. Is it?
If not do what BricTRA or Caravel said, add the missing line, apt-get update and you are ready to go.
Deleting all the CD-lines, which are commented, won't hurt.
Once you can install again:
apt-get install pastebinit
pastebinit /etc/apt/sources.list
and you get the address where to find it. Post the link and you are done.
Thanks guys. I did what Caravel said, and it fixed ther issue. I'm new to Debian so i'm still learning a few things. Good links too Caravel, tought me a bit more. and also took your advice aus9, and cleaned it up a little too.
As for the cd sources, i'm going to leaves them there in case i decide to use them in the future.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.