LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-29-2006, 01:47 PM   #31
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465

That's very strange...you aren't using some old Sarge installer which pre-dates when it went Stable, are you?

If you are using pure Debian Stable, then there should have been none of what you're talking about.

If you are trying to mix software from other repositories than just Debian Stable, then you're talking about doing something which is pretty complex and problems are not surprising. Debian Stable isn't meant to be mixed with anything from Debian Testing or Unstable.

Like I said, you're in a better position to know what you did to the system than any of us.

BTW, getting X to start up is usually possible using the generic "vesa" driver, even if the specific graphics card being used doesn't have a specific driver. If you're having problems getting particular hardware to work, then messing around with apt's repositories is NOT the answer.

It sounds to me like you're trying to dist-upgrade from Debian stable to Debian testing or unstable. That more or less won't work. After Sarge went stable, a massive overhaul of Debian Testing was required to move from XFree to Xorg. Doing a dist-upgrade from Sarge to Etch can be problematic.

Basically, it sounds like all of your problems aren't with apt, they're actually problems with hardware. To solve your hardware problems, you've been attempting to do some advanced and/or impossible things with apt, but that's not the right way to do it. Mixing Stable, Testing, and Unstable is NOT something for a Debian novice--you can easily break your system if you don't know what you're doing (and obviously, you don't). Mixing Ubuntu with Debian is almost certainly going to break your system, even if you know what you're doing (if you know what you're doing, you wouldn't be doing it in the first place).

To solve the hardware problems, start up some new threads on the specific hardware issues. Don't forget that we can't help you figure out any hardware problems if you don't specify what hardware you have.
 
Old 07-29-2006, 06:33 PM   #32
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by IsaacKuo
That's very strange...you aren't using some old Sarge installer which pre-dates when it went Stable, are you?

If you are using pure Debian Stable, then there should have been none of what you're talking about.

If you are trying to mix software from other repositories than just Debian Stable, then you're talking about doing something which is pretty complex and problems are not surprising. Debian Stable isn't meant to be mixed with anything from Debian Testing or Unstable.
I have been using debian stable mirrors and not testing/unstable, at least im pretty sure that i have only used mirrors from stable because i remember that i was checking for that so i wouldnt mess up the system.

Quote:
Originally Posted by IsaacKuo
Like I said, you're in a better position to know what you did to the system than any of us.


BTW, getting X to start up is usually possible using the generic "vesa" driver, even if the specific graphics card being used doesn't have a specific driver. If you're having problems getting particular hardware to work, then messing around with apt's repositories is NOT the answer.
I have serveral times had to use vesa to get X to work when using debian or ubuntu for example.

Quote:
Originally Posted by IsaacKuo
It sounds to me like you're trying to dist-upgrade from Debian stable to Debian testing or unstable. That more or less won't work. After Sarge went stable, a massive overhaul of Debian Testing was required to move from XFree to Xorg. Doing a dist-upgrade from Sarge to Etch can be problematic.
Maybe it was the change from Xfree to xorg that made apt act differently, ill keep that in mind that sarge isnt suppose to have xorg installed.

Quote:
Originally Posted by IsaacKuo
Basically, it sounds like all of your problems aren't with apt, they're actually problems with hardware. To solve your hardware problems, you've been attempting to do some advanced and/or impossible things with apt, but that's not the right way to do it. Mixing Stable, Testing, and Unstable is NOT something for a Debian novice--you can easily break your system if you don't know what you're doing (and obviously, you don't). Mixing Ubuntu with Debian is almost certainly going to break your system, even if you know what you're doing (if you know what you're doing, you wouldn't be doing it in the first place).
I have never said i have mixed debian with ubuntu while using debian, so calling me a noice because of that is uncall for. Do you here mean that xorg is only for debian testing or/and unstable.

Thanks for your help with this. I dont really care if you think im a novice, but i would like to say that i have been using linux for serveral years, been setting up services like dns, apache and a lot more. So maybe that will get you a little heads-up about that im not only a total novice, but of course you can think whatever you want
 
Old 07-29-2006, 10:32 PM   #33
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
If you've stuck to the standard Debian Stable repositories only, then there's no risk of accidentally trying to install Xorg. Xorg isn't in Debian Stable at all.

Basically, if you installed Debian Stable and never edited /etc/apt/sources.list, then you should be safe. If you did add some lines to sources.list, then you probably messed something up. The only thing you can really add to it and be sure of no problems is something like "deb http://ftp.debian.org/debian/ sarge non-free".

By default, Sarge only puts the "free" repository in sources.list. Adding the "non-free" repository should be okay. Those are the only official Debian repositories.

Personally, I use Debian Etch with no problems with apt whatsoever. I have only the default software entries, plus the "non-free" repository.

Note that there are a LOT of us using either pure Debian Stable or pure Debian Etch or pure Ubuntu with no problems at all with apt. You're in the better position to figure out what's going wrong.

Exactly what is in your /etc/apt/sources.list? As far as I can recall, you've never even posted your /etc/apt/sources.list. It sounds like you've been editing it, so that it's containing something other than the standard Debian repositories.
 
Old 07-30-2006, 03:22 PM   #34
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
This is what my debian sources.list looks like:

Code:
deb ftp://ftp.us.debian.org/debian/ stable main contrib non-free 
deb-src ftp://ftp.us.debian.org/debian/ stable main contrib non-free 
deb http://security.debian.org/ stable/updates main 
deb ftp://ftp.nerim.net/debian-marillat/ sarge main 
deb http://ftp.debian-unofficial.org/debian/ sarge main contrib non-free restricted 
deb-src http://ftp.debian-unofficial.org/debian/ sarge main contrib non-free restricted 
deb http://www.backports.org/debian/ sarge-backports main
 
Old 07-30-2006, 04:10 PM   #35
IsaacKuo
Senior Member
 
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian Stable
Posts: 2,546
Blog Entries: 8

Rep: Reputation: 465Reputation: 465Reputation: 465Reputation: 465Reputation: 465
That sources.list includes a lot of non-standard repositories. Only the first three lines are part of the standard repositories. I personally have never used "contrib"--only "main" and "non-free", so I don't know if "contrib" could cause problems.

I've had spotty luck with ftp.nerim.net; I've dropped it from my sources.list entirely, ever since kaffeine could play all the media files I wanted.

I've never used "debian-unofficial.org" or "backports.org". The former is obviously unofficial (obvious to native English speaking users, that is). The latter is also unofficial, in case you didn't already know.

There's nothing inherently wrong about adding unofficial repositories to your sources.list, as long as you are aware of what you're doing and you understand that it can cause things to break if you're not careful. It seems that you don't really understand that only the default sites in sources.list are the official ones. Just because an unofficial site has a repository labeled "sarge" doesn't mean that it's an official Debian repository.
 
Old 07-31-2006, 04:36 PM   #36
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by IsaacKuo
That sources.list includes a lot of non-standard repositories. Only the first three lines are part of the standard repositories. I personally have never used "contrib"--only "main" and "non-free", so I don't know if "contrib" could cause problems.
One of the three first lines is a "contrib".

Quote:
Originally Posted by IsaacKuo
I've had spotty luck with ftp.nerim.net; I've dropped it from my sources.list entirely, ever since kaffeine could play all the media files I wanted.

I've never used "debian-unofficial.org" or "backports.org". The former is obviously unofficial (obvious to native English speaking users, that is). The latter is also unofficial, in case you didn't already know.

There's nothing inherently wrong about adding unofficial repositories to your sources.list, as long as you are aware of what you're doing and you understand that it can cause things to break if you're not careful. It seems that you don't really understand that only the default sites in sources.list are the official ones. Just because an unofficial site has a repository labeled "sarge" doesn't mean that it's an official Debian repository.
Thanks for an informative post. So, then i have a question. If i want to for example install kdevelop and i cant find it in the official debian repositories. If i then add an unofficial repository for sarge to get kdevelop installed ..then i will actually risk breaking apt or maybe the system in some way?
 
Old 07-31-2006, 05:10 PM   #37
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Code:
deb ftp://ftp.nerim.net/debian-marillat/ sarge main
has changed. It's now
Code:
deb http://www.debian-multimedia.org sarge main
That's pretty safe, but I would recommend no unofficial repositories for Sarge. (OTOH, I don't recommend Sarge anyway.) The official Debian repositories surely include kdevelop.
 
Old 08-01-2006, 06:42 AM   #38
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
And whats your preferences file?

Also doing a apt-cache policy would be good information


No need to search further... if you mess your list of sources and your preferences, don't expect it to work.

Last edited by nx5000; 08-01-2006 at 06:56 AM.
 
Old 08-01-2006, 03:26 PM   #39
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by nx5000
And whats your preferences file?

Also doing a apt-cache policy would be good information


No need to search further... if you mess your list of sources and your preferences, don't expect it to work.
I usually always use apt-cache to search for packages. Messing with list of sources, you mean you mess it up with adding unofficial repositories right and mirrors that might break the system..

I dont know what you mean by "preferences file" and please dont say "dont you know THAT?" in your response. That being said i have deleted sarge from my computer due to that i have a very unsupported graphic card. It was lagging when i used the desktop for example. I would still like to know what the "preference file" is.

Last edited by hondo; 08-01-2006 at 03:28 PM.
 
Old 08-02-2006, 08:53 AM   #40
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
http://www.debian.org/doc/manuals/apt-howto/
http://backports.org/instructions.html
man apt_preferences <-- take some coffee before reading this

Yes, "apt-cache search" for searching

apt-cache policy will show what is the priority of each sources.list line you have. These priorities are defined in the preferences file. This is important if you take packages from several places as you do.

The other solution is to only use the official sarge source and then you don't have to bother with priorities.

I've seen horrible things in the thread "post your sources.list" in debian. As usual, its better to understand what you do.

Try to use an official sources.list :that is one line for your release (stable/testing/unstable) :

For stable:

deb ftp://ftp.us.debian.org/debian/ stable main contrib non-free

And if and only if you really need to get newer packages (that maybe partially unstable btw..), add these two AT THE SAME TIME:
-> deb http://www.backports.org/debian/ sarge-backports main contrib non-free in sources.list
-> this to /etc/apt/preferences (create the file if not exist)
Package: *
Pin: release a=sarge-backports
Pin-Priority: 200

(this puts sarge-backports in lower priority that sarge official)

Then for packages that you want that are not yet in sarge, ex mutt, add this to /etc/apt/preferences:
Package: mutt
Pin: release a=sarge-backports
Pin-Priority: 999

(this selectively puts mutt from backports in higher priority than the official)

You didn't know THAT?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
Great Help Tool for Newbies mikeCanada Linux - Newbie 1 07-15-2004 12:34 PM
apt-get / emerge like tool for slack xodeus Slackware 2 10-02-2003 03:55 PM
my award best tool of the month: apt-get-rpm browny_amiga Linux - Software 17 07-16-2003 03:38 PM
URLSCAN tool MS = Linux tool ? OB1 Linux - Security 3 10-05-2002 12:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration