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.
Hi all,
I'm sure some of my questions have been asked before but I'm not finding the answers I need so......
Question 1
In Apt ot Aptitude is there a way to add a repository by a command?
Example if I'm using Yum in Fedora and I want a new repo I run
Code:
yum --enable repo <rerponame>
Is there anything like that?
Question 2
In yum if I want the debug packages I run
Code:
debuginfo -install <packagename>
Does any of the package managers have that option? If so how to do this?
Question 3
My Fedora 11 install has GNOME 2.26.3 and Evolution 2.26.3, The Debian install has 2.22.3 and the same version of Evolution.
If I use the Evolution back up will I be able to bring my mail into the older version of Evo without any problems? I ask this because I seem to remember evo switching to SQL Light for its Data Base Backend about version 2.24 and I don't know if that is backwards compatible. If that could be a problem how do I get the newer version of GNOME on the Debian install I tried
Code:
apt-get update; apt-get dist-upgrade
and I am still at 2.22.
Question 4
Fedora 11 uses FireFox 3.5.6, I'm guessing Iceweasel isn't that current and I've never used Epiphany until now. So the question is would I be able to move my bookmarks to either browser from Fedora and where are the relevant files stored? In other words is Iceweasel storing its bookmarks under the ./mozilla directory that sort of thing.
You can add repos by editing /etc/apt/sources.list and just adding the repo to the end of the file.
While you have the file open, add the word "unstable" to the main repo lines. This should get you gnome and evolution 2.28.
(You still have to apt-get update afterwards.)
I believe iceweasel bookmarks are to be found in ~/.mozilla directory.
there are two options (i would consider):
1)if your main interest is up to date packages use debian-testing mixed with debian-unstable the right way: http://forums.debian.net/viewtopic.p...12&hilit=mixed
atm there seem to be lots of trouble with an upgrade to testing (so i wouldnt just go for it, but check first. usually i just go for it).
iceweasel is in experimental in a high version.
add experimental to your /etc/apt/sources.list
apt-get -t experimental install iceweasel.
but there are also many ways to install firefox; icecat from gnu.org, etc.
i move my bookmars from the menu in iceweasel/epiphany. Bookmarks; organize, import and backup (in html). if moving from epiphany to iceweasel or vice versa they get kind of a mess.
2)or, if stability is more important:
stick with lenny, add the backports and be happy with a rock solid system.
(i think your current problems are not to be solved from backports, but didnt check).
for firefox/iceweasel its the same like above, but you cant/shouldnt install it form experimental. if you cant live with stable go for testing and/or unstable.
To add new repos via the CLI: (as root) nano /etc/apt/sources.list. Add the new repositories at the end of that file. If you want to take the easy way out, you can also add them using Synaptic. Of course add only the repos related to your Debian branch. Adding Backports is for the more learned of users. Not that it's all that difficult. But leave it for another day.
Rather than using the latest Debian Stable (Lenny) I would suggest the Testing branch (Squeeze). It's more up to date with its apps. For example, Open Office 3.0 and Iceweasel/Firefox 3.5.5 and Gnome 2.28.
Question 4:
By simply copying the ~/.mozilla/firefox folder, I've found that I get back all my bookmarks and settings, even some of the addons. I assume it will work for you, as well.
If you only care about the bookmarks, you could simply copy your bookmarks.html into ~/.mozilla/firefox/<randomletters>.default/bookmarks.html
Last edited by dreamwalking; 12-26-2009 at 11:04 AM.
Okay I read the debian forums on the mixed repo and now sources.list looks like:
Code:
#
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST Binary-1 20090906-12:06]/ lenny main
# deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST Binary-1 20090906-12:06]/ lenny main
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://ftp.us.debian.org/debian/ lenny-proposed-updates contrib non-free main
deb-src http://ftp.us.debian.org/debian/ lenny-proposed-updates contrib non-free main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
#deb http://www.backports.org/debian/ lenny-backports main contrib non-free
deb http://ftp.us.debian.org/debian/testing main contrib non-free
deb-src http://ftp.us.debian.org/debian/testing main contrib non-free
deb http://security.debian.org/debian/testing/updates main contrib
deb-src http://security.debian.org/debian/testing/updates main contrib
deb http://ftp.us.debian.org/debian/unstable main contrib non-free
deb-src http://ftp.us.debian.org/debian/unstable main contrib non-free
deb http://www.debian-multimedia.org testing main
If I try running apt-get update as root I get
Code:
Hit http://security.debian.org lenny/updates Release.gpg
Ign http://security.debian.org lenny/updates/main Translation-en_US
Ign http://security.debian.org lenny/updates/contrib Translation-en_US
Hit http://volatile.debian.org lenny/volatile Release.gpg
Ign http://volatile.debian.org lenny/volatile/main Translation-en_US
Ign http://security.debian.org lenny/updates/non-free Translation-en_US
Ign http://security.debian.org main Release.gpg
Ign http://security.debian.org main/contrib Translation-en_US
Hit http://security.debian.org lenny/updates Release
Ign http://security.debian.org main Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Hit http://volatile.debian.org lenny/volatile Release
Ign http://security.debian.org main/contrib Packages
Ign http://security.debian.org main/contrib Sources
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Hit http://security.debian.org lenny/updates/main Sources
Hit http://security.debian.org lenny/updates/contrib Sources
Hit http://security.debian.org lenny/updates/non-free Sources
Ign http://security.debian.org main/contrib Packages
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://security.debian.org main/contrib Sources
Err http://security.debian.org main/contrib Packages
404 Not Found [IP: 149.20.20.6 80]
Err http://security.debian.org main/contrib Sources
404 Not Found [IP: 149.20.20.6 80]
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Hit http://ftp.us.debian.org lenny Release.gpg
Ign http://ftp.us.debian.org lenny/main Translation-en_US
Ign http://ftp.us.debian.org lenny/contrib Translation-en_US
Ign http://ftp.us.debian.org lenny/non-free Translation-en_US
Hit http://ftp.us.debian.org lenny-proposed-updates Release.gpg
Ign http://ftp.us.debian.org lenny-proposed-updates/contrib Translation-en_US
Ign http://ftp.us.debian.org lenny-proposed-updates/non-free Translation-en_US
Ign http://ftp.us.debian.org lenny-proposed-updates/main Translation-en_US
Ign http://ftp.us.debian.org main Release.gpg
Ign http://ftp.us.debian.org main/contrib Translation-en_US
Ign http://ftp.us.debian.org main/non-free Translation-en_US
Ign http://ftp.us.debian.org main Release.gpg
Ign http://ftp.us.debian.org main/contrib Translation-en_US
Ign http://ftp.us.debian.org main/non-free Translation-en_US
Hit http://ftp.us.debian.org lenny Release
Hit http://ftp.us.debian.org lenny-proposed-updates Release
Ign http://ftp.us.debian.org main Release
Ign http://ftp.us.debian.org main Release
Ign http://ftp.us.debian.org main/contrib Packages
Ign http://ftp.us.debian.org main/non-free Packages
Ign http://ftp.us.debian.org main/contrib Sources
Ign http://ftp.us.debian.org main/non-free Sources
Ign http://ftp.us.debian.org lenny/main Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp.us.debian.org lenny/main Sources/DiffIndex
Ign http://ftp.us.debian.org lenny/contrib Sources/DiffIndex
Ign http://ftp.us.debian.org lenny/non-free Sources/DiffIndex
Ign http://ftp.us.debian.org lenny-proposed-updates/contrib Packages/DiffIndex
Ign http://ftp.us.debian.org lenny-proposed-updates/non-free Packages/DiffIndex
Hit http://ftp.us.debian.org lenny-proposed-updates/main Packages/DiffIndex
Ign http://ftp.us.debian.org lenny-proposed-updates/contrib Sources/DiffIndex
Ign http://ftp.us.debian.org lenny-proposed-updates/non-free Sources/DiffIndex
Hit http://ftp.us.debian.org lenny-proposed-updates/main Sources/DiffIndex
Ign http://ftp.us.debian.org main/contrib Packages
Ign http://ftp.us.debian.org main/non-free Packages
Ign http://ftp.us.debian.org main/contrib Sources
Ign http://ftp.us.debian.org main/non-free Sources
Ign http://ftp.us.debian.org main/contrib Packages
Ign http://ftp.us.debian.org main/non-free Packages
Ign http://ftp.us.debian.org main/contrib Sources
Ign http://ftp.us.debian.org main/non-free Sources
Hit http://ftp.us.debian.org lenny/main Packages
Hit http://ftp.us.debian.org lenny/contrib Packages
Hit http://ftp.us.debian.org lenny/non-free Packages
Hit http://ftp.us.debian.org lenny/main Sources
Get:1 http://www.debian-multimedia.org testing Release.gpg [198B]
Hit http://www.debian-multimedia.org testing/main Translation-en_US
Hit http://ftp.us.debian.org lenny/contrib Sources
Hit http://ftp.us.debian.org lenny/non-free Sources
Hit http://ftp.us.debian.org lenny-proposed-updates/contrib Packages
Hit http://ftp.us.debian.org lenny-proposed-updates/non-free Packages
Hit http://ftp.us.debian.org lenny-proposed-updates/contrib Sources
Hit http://ftp.us.debian.org lenny-proposed-updates/non-free Sources
Ign http://ftp.us.debian.org main/contrib Packages
Ign http://ftp.us.debian.org main/non-free Packages
Ign http://ftp.us.debian.org main/contrib Sources
Ign http://ftp.us.debian.org main/non-free Sources
Err http://ftp.us.debian.org main/contrib Packages
404 Not Found
Err http://ftp.us.debian.org main/non-free Packages
404 Not Found
Err http://ftp.us.debian.org main/contrib Sources
404 Not Found
Err http://ftp.us.debian.org main/non-free Sources
404 Not Found
Hit http://www.debian-multimedia.org testing Release
Err http://www.debian-multimedia.org testing Release
Err http://ftp.us.debian.org main/contrib Packages
404 Not Found
Err http://ftp.us.debian.org main/non-free Packages
404 Not Found
Err http://ftp.us.debian.org main/contrib Sources
404 Not Found
Err http://ftp.us.debian.org main/non-free Sources
404 Not Found
Get:2 http://www.debian-multimedia.org testing Release [23.8kB]
Ign http://www.debian-multimedia.org testing Release
Get:3 http://www.debian-multimedia.org testing/main Packages/DiffIndex [2023B]
Fetched 26.0kB in 11s (2212B/s)
W: GPG error: http://www.debian-multimedia.org testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: Failed to fetch http://security.debian.org/debian/testing/updates/dists/main/contrib/binary-i386/Packages 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://security.debian.org/debian/testing/updates/dists/main/contrib/source/Sources 404 Not Found [IP: 149.20.20.6 80]
W: Failed to fetch http://ftp.us.debian.org/debian/testing/dists/main/contrib/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/testing/dists/main/non-free/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/testing/dists/main/contrib/source/Sources 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/testing/dists/main/non-free/source/Sources 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/unstable/dists/main/contrib/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/unstable/dists/main/non-free/binary-i386/Packages 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/unstable/dists/main/contrib/source/Sources 404 Not Found
W: Failed to fetch http://ftp.us.debian.org/debian/unstable/dists/main/non-free/source/Sources 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
ideas?
I went to http://ftp.debian.org/debian/ and there is a /dist folder do I need to add that to the lines in sources.list?
Last edited by tmick; 12-27-2009 at 01:14 PM.
Reason: spelling errors
In http://ftp.us.debian.org/debian/dists/, I see there is not "main", you have to substitute main for lenny, or drop .us altogether and edit it to http://ftp.debian.org/debian/dists/...etc
(edit: ) Forget this, main should automatically get you to lenny. Maybe just delete .us from these lines
And my security.debian.org line is different than yours:
tmick, you've got too many repos in your sources list. It's a fault most folks new to Debian fall into. Even us oldster have done that. No need for so many. And for goodness sake, stay away from mixed repos or the odd ball ones like "volatile", "proposed" and "backports". At least for now. You're coming from Fedora aren't you? And you want to jump into the deep end??? No, no, no, young man. Slow down. Also you're mixing Stable (Lenny) with Testing (Squeeze) repos. Not a good thing to do.
Here's a good list to use. Get back to your source list file, delete what's there and paste it. It worked for me when I used Lenny.
As for the errors about keys: That's that long ass number you get like 07DC563D1F41B907. Here's what you do.
# If you get errors about missing keys, lookup the key in this file
# and run these commands (replace KEY with the key number):
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | apt-key add -
Of course you'll have to do an apt-get update after you've listed the new repos.
Here's one other point. Where ever you get your repos' from or whatever Debian branch you use, change the wording from Stable or Testing to the code name. If perchance you're using Testing, when it goes Stable, later this year - maybe, you won't be Stable any longer. You'll be thrown into the 'new' Testing. Whatever that code name might be.
You're coming from Fedora aren't you? And you want to jump into the deep end??? No, no, no, young man. Slow down. Also you're mixing Stable (Lenny) with Testing (Squeeze) repos. Not a good thing to do.
Yep coming from Fedora, not trying to jump into the deep end just get to where I can move files and back-ups with out mass amounts of grief... YOUNG MAN? LOL I'm 43 don't know your version of young, but.... in my book, not so much But thanks for the compliment
Quote:
Originally Posted by alioop
As for the errors about keys: That's that long ass number you get like 07DC563D1F41B907. Here's what you do.
# If you get errors about missing keys, lookup the key in this file
# and run these commands (replace KEY with the key number):
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | apt-key add -
Of course you'll have to do an apt-get update after you've listed the new repos.
Here's one other point. Where ever you get your repos' from or whatever Debian branch you use, change the wording from Stable or Testing to the code name. If perchance you're using Testing, when it goes Stable, later this year - maybe, you won't be Stable any longer. You'll be thrown into the 'new' Testing. Whatever that code name might be.
Okay not getting errors about missing keys just about no public key being available.
Code:
W: GPG error: http://www.debian-multimedia.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: GPG error: http://www.debian-multimedia.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems
So by "in this file" you mean /etc/apt/sources.list right?
# Run these commands (replace KEY with the key number):
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | apt-key add -
With the nano text editor, add the new repos at the end of the /etc/apt/sources.list. Open a terminal, log in as root,then # nano /etc/apt/sources.list . Save and close that file. Still in a terminal, do an apt-get update. This lets your system know it's got new repos. You'll get a long number concerning the public key when you update after adding new repos. Still in the terminal run these commands:
gpg --keyserver subkeys.pgp.net --recv xxxxxxxxxxxxxxxx
You'll get confirmation it's received.
Then
gpg --export --armor xxxxxxxxxxxxxxxx | apt-key add -
you're system will tell you it's done. Sometimes you'll have to do it more than once.
It's been my experience that you can still install apps. But since there is no key, the source won't be verified. Won't prevent you from installing.
Sorry I called you a young man. Being 62 next month everyone is younger than me.
# Run these commands (replace KEY with the key number):
# gpg --keyserver subkeys.pgp.net --recv KEY
# gpg --export --armor KEY | apt-key add -
It's been my experience that you can still install apps. But since there is no key, the source won't be verified. Won't prevent you from installing.
Sorry I called you a young man. Being 62 next month everyone is younger than me.
I got the /etc/apt/sources.list edited correctly. The key error was after running apt-get update after the edit.
Where do I find the key numbers is what I meant to ask.
P.S. No worries about you calling me a young man I was kind of a nice change.
Don't forget the dash at the end of the second command or the spaces in the first. All of that is important. Your commands will failed if every space and dash is not there.
Again you'll be informed when it's done. If all is successful, when you apt-get update, you should not receive that error message again. You will have to do that for every No PUBKEY error message you get. And of course as root. As been stated, you can still install apps. It just irritating to get that error message.
Why don't you try what I suggested above? (it's basically suggested on Debian Multimedia site).
Sorry I didn't post every thing I tried before that message. I did try the wget command and the dpkg commands still got that message. I then went to the media site and followed their directions for the keys and still got the error message. It didn't dawn on me the numbers on the end of the message were the key, and now that it is mentioned I did the Homer Simpson DOH! Debian gives alot better information in their error output. In Fedora if that error occurred it wouldn't allow the repo to be used.
Thanks for everyone's replies and patience so far.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.