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 - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-23-2011, 03:20 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
2 Questions: 1st backports, 2nd Updates


Hello, i'm a tad bit new to debian but am interested in using it as one of my main os's. Debian squeeze is suffering a few problems with my laptop monitor, resolution wise, and i've been suggested to upgrade x11 and the kernel through backports. My problem is i don't think the backports websight is clear enough.
I run Debian squeeze. In the instructions, it says to add this line to your sources.list.
Quote:
deb http://backports.debian.org/debian-backports squeeze-backports main
Now, it says squeeze, so my question is; does that mean the packages from this are intended for squeeze?
or is this an old repo and i should change squeeze in that line to wheezy?

2nd question
I'm running 6.0, but i noticed the current stable is 6.0.2.1. So it's had a couple of tweaks since i bought my cds, Is there a command to update these things. aptitude upgrade? etc

p.s.
sorry bout my unusual question format, but it thought it'd save making two threads when i'm sure these are both simple answers.
 
Old 08-23-2011, 03:52 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Knightron View Post
Hello, i'm a tad bit new to debian but am interested in using it as one of my main os's. Debian squeeze is suffering a few problems with my laptop monitor, resolution wise, and i've been suggested to upgrade x11 and the kernel through backports. My problem is i don't think the backports websight is clear enough.
I run Debian squeeze. In the instructions, it says to add this line to your sources.list.

Now, it says squeeze, so my question is; does that mean the packages from this are intended for squeeze?
or is this an old repo and i should change squeeze in that line to wheezy?
You're running stable (squeeze) so there should be no reference to wheezy (testing) in your sources.list. You should almost never mix stable and testing/unstable/experimental repos unless you know what you're doing (i.e. backporting your own packages).

Set up the backports repo following the instructions here: http://backports-master.debian.org/Instructions/

Then

Code:
aptitude update
And install packages using

Code:
aptitude -t backports install package_foo
It used to be a bit more hassle, but since it went official it's just a case of adding the repo to your sources.list.


Quote:
Originally Posted by Knightron View Post
2nd question
I'm running 6.0, but i noticed the current stable is 6.0.2.1. So it's had a couple of tweaks since i bought my cds, Is there a command to update these things. aptitude upgrade? etc

p.s.
sorry bout my unusual question format, but it thought it'd save making two threads when i'm sure these are both simple answers.
Don't worry about debian release version numbers. The following will always keep your system up to date:

Code:
aptitude update && aptitude safe-upgrade
(as root)
 
Old 08-23-2011, 04:35 PM   #3
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
thankyou, lastly, if i do that update, it wont update from the backports source i add will it?
 
Old 08-24-2011, 02:16 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
No, but to be sure post the output of

Code:
apt-cache policy
(after adding the backports repo and updating the sources).
 
Old 08-28-2011, 04:21 AM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Hello, sorry bout the late reply, i did a reinstall to a logicle partition and had issues, but i've fixed it all up now and am back into the Debian action, thanks for the help guys. anyways, i've just added the backports, and here is the apt-cache policy. what is this for?

Quote:
root@thinkpadx220:/home/knightron# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
100 http://backports.debian.org/debian-backports/ squeeze-backports/main i386 Packages
release o=Debian Backports,a=squeeze-backports,n=squeeze-backports,l=Debian Backports,c=main
origin backports.debian.org
500 http://ftp.debian.org/debian/ squeeze-updates/contrib i386 Packages
release o=Debian,a=stable-updates,n=squeeze-updates,l=Debian,c=contrib
origin ftp.debian.org
500 http://ftp.debian.org/debian/ squeeze-updates/main i386 Packages
release o=Debian,a=stable-updates,n=squeeze-updates,l=Debian,c=main
origin ftp.debian.org
500 http://security.debian.org/ squeeze/updates/contrib i386 Packages
release v=6.0,o=Debian,a=stable,n=squeeze,l=Debian-Security,c=contrib
origin security.debian.org
500 http://security.debian.org/ squeeze/updates/main i386 Packages
release v=6.0,o=Debian,a=stable,n=squeeze,l=Debian-Security,c=main
origin security.debian.org
Pinned packages:
 
Old 08-28-2011, 04:40 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi Knightron,
Just a thought: it's a common assumption (one that I made as well) that using stable was the safest bet for beginners regardless of their situation. My opinion (FWIW) is that unless you have very special needs (such as running a mission-critical server with 250 clients) that testing (and some would say Sid) is the way to go. Why go through the song and dance of backports to Squeeze unless you have a very good reason for using the stable version. If you can't think of one, I'd say that you'll be much better off (more and more as time goes by and Squeeze gets older) tracking testing than sticking with stable. Sooner or later you'll probably make this decision on your own.
ciao,
jdk

Last edited by jdkaye; 08-28-2011 at 04:41 AM.
 
Old 08-28-2011, 04:46 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Knightron View Post
what is this for?
It shows that the backports repo has a priority of 100 which is the default. You can install from backports, but your system won't upgrade to every package in backports.


Quote:
Originally Posted by jdkaye View Post
Hi Knightron,
Just a thought: it's a common assumption (one that I made as well) that using stable was the safest bet for beginners regardless of their situation. My opinion (FWIW) is that unless you have very special needs (such as running a mission-critical server with 250 clients) that testing (and some would say Sid) is the way to go. Why go through the song and dance of backports to Squeeze unless you have a very good reason for using the stable version. If you can't think of one, I'd say that you'll be much better off (more and more as time goes by and Squeeze gets older) tracking testing than sticking with stable. Sooner or later you'll probably make this decision on your own.
ciao,
jdk
Yes and no - I would say yes if you're someone that doesn't mind tweaking, the inevitable breakage and in the case of testing possibly running a mixed system, but for noobs, not yet. It's best to use stable and backports first and familiarise with that than jump straight to testing or unstable.
 
Old 08-28-2011, 05:10 AM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
ok thanks for the help and advice guys. For starters, i wouldn't say i'm a complete noob, i've been using linux for about a month. Either way,
Quote:
If you can't think of one, I'd say that you'll be much better off tracking testing than sticking with stable
I can think of one thing, i rely on prepaid mobile broadband and unfortunately live in a rural area and thus depend on the most dominant and expensive mobile provider, in Australia, so ideally i'm not ready for a rolling release distro yet. (had to think of something, the way you phrased it, made it sound like a challenge).
hopefully lastly, i'd like to upgrade my kernel and xorg. What would i put for the kernel? and would this be fine for xorg?
Quote:
aptitude -t backports install package_xorg
 
Old 08-28-2011, 05:15 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by Caravel View Post
It shows that the backports repo has a priority of 100 which is the default. You can install from backports, but your system won't upgrade to every package in backports.



Yes and no - I would say yes if you're someone that doesn't mind tweaking, the inevitable breakage and in the case of testing possibly running a mixed system, but for noobs, not yet. It's best to use stable and backports first and familiarise with that than jump straight to testing or unstable.
Sorry to disagree, Caravel, but that's what makes horse races. I in many years of sticking with testing and a fair bit of pinning to Sid especially for multimedia stuff, I can count on one mangled hand the number of times I had any non-trivial problems. Testing gently encourages you to search about a bit for answers but you need to do that for just about any release of any distro. Obviously this is only my experience but I know many people who would agree.
ciao,
jdk
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Questions about backports AleLinuxBSD Debian 2 11-28-2009 12:47 PM
How secure are backports? will I get security updates? paulsiu Linux - General 1 03-29-2009 05:39 PM
Put a 2nd kanotix at hdb 3/,-4/home. 1st is at hdb8/,-9/home.#2 is using 1st's /home sleekmason Linux - General 3 12-09-2006 09:21 AM
Linux on 1st windows on 2nd hd... Teclavow Linux - Newbie 1 02-02-2004 06:12 PM
Can't boot 1st OS now after installing 2nd jillyt Linux - Newbie 3 01-05-2004 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 02:22 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