LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   cannot install softwares from repository in debian lenny/sid (https://www.linuxquestions.org/questions/debian-26/cannot-install-softwares-from-repository-in-debian-lenny-sid-732828/)

@nthoon 06-14-2009 05:47 AM

cannot install softwares from repository in debian lenny/sid
 
hello everyone...
my problem is a few days ago i reinstalled Debian Lenny from a dvd which i had earlier used.After the installation was over i installed gcc and g++ compilers using synaptic package manager without any problem...
But today when i tried to install certain other softwares (like firefox,amarok,vlc...)i got an error message stating "pl insert debian cd/dvd in /cdrom and try again..."but actually the dvd was inside and mounted in /media... when i tried to change the repository i found an message like this
Code:

Repositories changed
The repository information has changed. You have to click on the "Reload" button for your changes to take effect

and on doing so i get an error message like..
Code:

W: There is no public key available for the following key IDs:
9AA38DCD55BE302B

wat sholud i do...??

jsteel 06-14-2009 03:45 PM

I would disable the DVD and just use a Debian mirror. As root, type "nano /etc/apt/sources.list" then locate a line with a reference to your DVD, either delete this line or put a # before the line to comment it out. There should be more lines in there which point to a Debian mirror. Press ctrl and x to quit and press y then enter to save. Now type "aptitude update" and give it another go.

DavidMcCann 06-14-2009 03:49 PM

If you don't fancy editing the file, try the menu: system - administration - software sources.

@nthoon 06-15-2009 01:07 PM

tat is not working...
 
Quote:

Originally Posted by DavidMcCann (Post 3573690)
If you don't fancy editing the file, try the menu: system - administration - software sources.

tat is not working...i tried it... no reaction from system

repo 06-15-2009 01:12 PM

Quote:

W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
open a terminal
become root

Code:

apt-get install debian-archive-keyring
gpg --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
gpg --armor --export 9AA38DCD55BE302B | apt-key add -

then

Code:

apt-get update
then you can use synaptic to install

@nthoon 06-15-2009 01:19 PM

1 Attachment(s)
Quote:

Originally Posted by jsteel (Post 3573687)
I would disable the DVD and just use a Debian mirror. As root, type "nano /etc/apt/sources.list" then locate a line with a reference to your DVD, either delete this line or put a # before the line to comment it out. There should be more lines in there which point to a Debian mirror. Press ctrl and x to quit and press y then enter to save. Now type "aptitude update" and give it another go.

tanq very much... i tried wat u said... but it poses new pblms...cannot install any software..tis time new error message..(see screen shot..) pl help

jsteel 06-15-2009 01:27 PM

Can you post the output of "cat /etc/apt/sources.list" please?

@nthoon 06-15-2009 01:35 PM

output of "cat /etc/apt/sources.list
 
1 Attachment(s)
Quote:

Originally Posted by jsteel (Post 3574820)
output of "cat /etc/apt/sources.list"


debian:~# cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 DVD Binary-1 20080818-10:24]/ lenny contrib main

#deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot i386 DVD Binary-1 20080818-10:24]/ lenny contrib main

deb http://security.debian.org/ lenny/updates main contrib
deb-src http://security.debian.org/ lenny/updates main contrib

jdkaye 06-15-2009 02:01 PM

You don't have any proper lenny repos in your sources.list. You only have security updates enabled. You can't do any updates nor install any new software with that list of repos. You need to add more repos. choose some mirrors from those listed here:
http://www.debian.org/mirror/list
cheers,
jdk

repo 06-15-2009 02:55 PM

There is a thread on LQ with sources lists

@nthoon 06-15-2009 03:08 PM

problem solved..
 
Quote:

Originally Posted by jdkaye (Post 3574856)
don't have any proper lenny repos in your sources.

tanq all for helping me solve de pblm... learned alot from u all :)

in general
Quote:

how do i learn more of these stuff.... i'm a new bie to LQ and linux..
suggest plz...
:newbie:

farslayer 06-15-2009 03:24 PM

Now that your issue is resolved, please type out full words when posting.. abbreviations and contractions you've made up make it difficult to read your posts and understand what you are saying.

these are NOT english words

tanq
de
pblm
u
wat
pl


Thanks for understanding.


All times are GMT -5. The time now is 12:10 AM.