Re: how to update Debian OS properly

2012-05-28 Thread Andrei POPESCU
On Lu, 28 mai 12, 02:21:39, Muhammad Yousuf Khan wrote: [snip] Must read: http://www.debian.org/doc/manuals/debian-reference/ (or as package debian-reference) Kind regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-commun

Re: how to update Debian OS properly

2012-05-27 Thread Lisi
On Sunday 27 May 2012 22:21:39 you wrote: > On Sat, May 26, 2012 at 7:17 PM, Lisi wrote: > > On Saturday 26 May 2012 12:43:45 you wrote: > >> > I prefer to use aptitude full-upgrade routinely - but I have the code > >> > name in my sources.list, not stable or testing.  I then change the > >> > cod

Re: how to update Debian OS properly

2012-05-27 Thread Muhammad Yousuf Khan
On Sat, May 26, 2012 at 7:17 PM, Lisi wrote: > On Saturday 26 May 2012 12:43:45 you wrote: >> > I prefer to use aptitude full-upgrade routinely - but I have the code >> > name in my sources.list, not stable or testing.  I then change the code >> > name when I want to get the more recent version.  

Re: how to update Debian OS properly

2012-05-27 Thread Muhammad Yousuf Khan
On Sat, May 26, 2012 at 10:39 PM, Lisi wrote: > On Saturday 26 May 2012 18:04:35 Andrei POPESCU wrote: >> I seem to remember the Debian Reference has a good guide to pinning and >> it is up-to-date (thanks to Osamu Aoki). > > Given the OP's confusion, and the fact that he states his main aim as no

Re: how to update Debian OS properly

2012-05-27 Thread Tom H
On Sat, May 26, 2012 at 1:04 PM, Andrei POPESCU wrote: > On Vi, 25 mai 12, 15:36:40, Ralf Mardorf wrote: >> On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: >>> >>> In conclusion i found out that i should stick to stable and should not >>> play with the source list until unless it is

Re: how to update Debian OS properly

2012-05-26 Thread keith
On Sat, 26 May 2012 19:57:19 +0300 Andrei POPESCU wrote: > On Sb, 26 mai 12, 13:39:26, keith wrote: > > > > My understanding is -> > > > > If you apt-get upgrade, you are updating your system (squeeze) > > > > When you use apt-get dist-upgrade you change your system from squeeze to > > wheezy

Re: how to update Debian OS properly

2012-05-26 Thread Ralf Mardorf
FWIW, sometime ago this book was announced here: http://debian-handbook.info/browse/stable/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/1338053740.2316.0.camel@pre

Re: how to update Debian OS properly

2012-05-26 Thread Lisi
On Saturday 26 May 2012 18:04:35 Andrei POPESCU wrote: > I seem to remember the Debian Reference has a good guide to pinning and > it is up-to-date (thanks to Osamu Aoki). Given the OP's confusion, and the fact that he states his main aim as not crashing, would he not do better to stick to pure S

Re: how to update Debian OS properly

2012-05-26 Thread Andrei POPESCU
On Vi, 25 mai 12, 15:36:40, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: > > In conclusion i found out that i should stick to stable and should not > > play with the source list until unless it is necessary. even if i add > > a repo then i must comment it af

Re: how to update Debian OS properly

2012-05-26 Thread Andrei POPESCU
On Sb, 26 mai 12, 13:39:26, keith wrote: > > My understanding is -> > > If you apt-get upgrade, you are updating your system (squeeze) > > When you use apt-get dist-upgrade you change your system from squeeze to > wheezy No, see 'man apt-get' for the difference between the two. Kind regards,

Re: how to update Debian OS properly

2012-05-26 Thread Lisi
On Saturday 26 May 2012 12:43:45 you wrote: > > I prefer to use aptitude full-upgrade routinely - but I have the code > > name in my sources.list, not stable or testing. I then change the code > > name when I want to get the more recent version. So, Squeeze not stable, > > Muhammad. you could ge

Re: how to update Debian OS properly

2012-05-26 Thread Joe
On Sat, 26 May 2012 16:43:45 +0500 Muhammad Yousuf Khan wrote: > > if i use Squeeze (the code name) instead stable, sid or anything. > should i not to worry about system crash? is it what people here mean > to say (who support code name "squeeze" ) that if i "apt-get > upgrade/full-upgrade/safe-

Re: how to update Debian OS properly

2012-05-26 Thread keith
On Sat, 26 May 2012 17:06:04 +0500 Muhammad Yousuf Khan wrote: > i was reading this article and it is very helpful and something new > that i learned but i am a bit confuse. how come i be safe in this > technique because what this article is saying means if i wanted to > install a specific package

Re: how to update Debian OS properly

2012-05-26 Thread keith
On Sat, 26 May 2012 16:43:45 +0500 Muhammad Yousuf Khan wrote: > if i use Squeeze (the code name) instead stable, sid or anything. > should i not to worry about system crash? is it what people here mean > to say (who support code name "squeeze" ) that if i "apt-get > upgrade/full-upgrade/safe-upg

Re: how to update Debian OS properly

2012-05-26 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 6:36 PM, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: >> In conclusion i found out that i should stick to stable and should not >> play with the source list until unless it is necessary. even if i add >> a repo then  i must comment it

Re: how to update Debian OS properly

2012-05-26 Thread Muhammad Yousuf Khan
On Sat, May 26, 2012 at 1:30 AM, Lisi wrote: > On Friday 25 May 2012 18:23:37 Tom H wrote: >> On Fri, May 25, 2012 at 11:53 AM, Mika Suomalainen >> >> wrote: >> > On 25.05.2012 15:49, Ralf Mardorf wrote: >> >> On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: >> >>> deb http://securi

Re: how to update Debian OS properly

2012-05-25 Thread Jon Dowland
On Fri, May 25, 2012 at 02:17:35PM +0200, Ralf Mardorf wrote: > "things" for your current install might be /home only. Perhaps xorg.conf > and some other files, using cp -pr while you're root. But in the future > completely backup using e.g. tar. Note, if you sync, you anyway might > lose data, sin

Re: how to update Debian OS properly

2012-05-25 Thread Lisi
On Friday 25 May 2012 18:23:37 Tom H wrote: > On Fri, May 25, 2012 at 11:53 AM, Mika Suomalainen > > wrote: > > On 25.05.2012 15:49, Ralf Mardorf wrote: > >> On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: > >>> deb http://security.debian.org/ squeeze/updates main > >>> deb-src http

Re: how to update Debian OS properly

2012-05-25 Thread keith
On Fri, 25 May 2012 19:38:31 +0100 keith wrote: > > deb http://ftp.us.debian.org/debian stable main contrib non-free > > deb-src http://ftp.us.debian.org/debian stable main contrib non-free My apologies, I somehow missed that, as someone else has pointed out. Use squeeze not stable. (I know it

Re: how to update Debian OS properly

2012-05-25 Thread keith
On Fri, 25 May 2012 18:28:29 +0500 Muhammad Yousuf Khan wrote: > ok found a website for which generates source.list > > http://debgen.simplylinux.ch/ > > deb http://ftp.us.debian.org/debian stable main contrib non-free > deb-src http://ftp.us.debian.org/debian stable main contrib non-free > deb

Re: how to update Debian OS properly

2012-05-25 Thread Tom H
On Fri, May 25, 2012 at 11:53 AM, Mika Suomalainen wrote: > On 25.05.2012 15:49, Ralf Mardorf wrote: >> On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: >>> >>> deb http://security.debian.org/ squeeze/updates main >>> deb-src http://security.debian.org/ squeeze/updates main >>> deb h

Re: how to update Debian OS properly

2012-05-25 Thread Sven Joachim
On 2012-05-25 17:53 +0200, Mika Suomalainen wrote: > Is it safe to use "stable" instead of "squeeze"? No, this is very much not recommended. > Are there usually any conflicts or anything what would need > "full-upgrade" whenever new "stable" is named? Yes, about every two years when a new major

Re: how to update Debian OS properly

2012-05-25 Thread Mika Suomalainen
On 25.05.2012 15:49, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: >> deb http://security.debian.org/ squeeze/updates main >> deb-src http://security.debian.org/ squeeze/updates main >> deb http://backports.debian.org/debian-backports squeeze-backports main >>

Re: Re: how to update Debian OS properly

2012-05-25 Thread Clive Standbridge
> deb http://ftp.us.debian.org/debian stable main contrib non-free > deb-src http://ftp.us.debian.org/debian stable main contrib non-free > deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free > deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib non-free > deb htt

Re: how to update Debian OS properly

2012-05-25 Thread Indulekha
On Fri, May 25, 2012 at 06:42:53AM -0500, Kumar Appaiah wrote: > On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote: > > in a testing environment I was trying to upgrade the security patches > > and I run the command > > apt-get upgrade. > > It ran fine, but at the end it upgraded

Re: how to update Debian OS properly

2012-05-25 Thread Camaleón
On Fri, 25 May 2012 15:57:28 +0500, Muhammad Yousuf Khan wrote: > well, I have questions about upgrading Linux. since i have been using > Microsoft for years the concept of upgrade I think is different from > Linux upgrade. > > in a testing environment I was trying to upgrade the security patches

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 16:45 +0300, Andrei POPESCU wrote: > - one will not be aware of any possibly security related updates Good point -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://

Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 02:46:50PM BST, Tom H wrote: > On Fri, May 25, 2012 at 8:49 AM, Ralf Mardorf > > You're issue is related to the sid repository. If you need something > > from sid, then uncomment it and after that comment it. Don't feel secure > > using pinning. > > > > You can name the repo

RE: how to update Debian OS properly

2012-05-25 Thread Bonno Bloksma
Hi, >> Instead of e.g. >> deb http://ftp.us.debian.org/debian squeeze main non-free contrib use >> deb http://ftp.us.debian.org/debian stable main non-free contrib >> >> Than you'll get stable, what ever it's named. > > ... but it might catch you unprepared if you don't follow release > announc

Re: how to update Debian OS properly

2012-05-25 Thread Andrei POPESCU
On Vi, 25 mai 12, 15:45:30, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 18:36 +0500, Muhammad Yousuf Khan wrote: > > > A history provides information this way: > > >package_name (1.11.4) to 1.12.0 > > > > do you know any CLI work in same way. i am not using GUI. > > A script using apt, ap

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 16:50 +0300, Andrei POPESCU wrote: > On Vi, 25 mai 12, 15:16:04, Ralf Mardorf wrote: > > > > Instead of e.g. > > deb http://ftp.us.debian.org/debian squeeze main non-free contrib > > use > > deb http://ftp.us.debian.org/debian stable main non-free contrib > > > > Than you'll

Re: how to update Debian OS properly

2012-05-25 Thread Andrei POPESCU
On Vi, 25 mai 12, 15:16:04, Ralf Mardorf wrote: > > Instead of e.g. > deb http://ftp.us.debian.org/debian squeeze main non-free contrib > use > deb http://ftp.us.debian.org/debian stable main non-free contrib > > Than you'll get stable, what ever it's named. ... but it might catch you unprepared

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 18:36 +0500, Muhammad Yousuf Khan wrote: > > A history provides information this way: > >package_name (1.11.4) to 1.12.0 > > do you know any CLI work in same way. i am not using GUI. A script using apt, aptitude or dpkg might be able to generate a history too. I once

Re: how to update Debian OS properly

2012-05-25 Thread Tom H
On Fri, May 25, 2012 at 8:49 AM, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: >> >> deb http://security.debian.org/ squeeze/updates main >> deb-src http://security.debian.org/ squeeze/updates main >> deb http://backports.debian.org/debian-backports squeeze-b

Re: how to update Debian OS properly

2012-05-25 Thread Andrei POPESCU
On Vi, 25 mai 12, 14:49:26, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: > > deb http://security.debian.org/ squeeze/updates main > > deb-src http://security.debian.org/ squeeze/updates main > > deb http://backports.debian.org/debian-backports squeeze-backpor

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 18:28 +0500, Muhammad Yousuf Khan wrote: > In conclusion i found out that i should stick to stable and should not > play with the source list until unless it is necessary. even if i add > a repo then i must comment it after installing the "whatever package" Yesno. I'll say y

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:47 PM, Ralf Mardorf wrote: > PS: > > I like Synaptic, a GUI for the package management. It automatically set > up an upgrade history. You manually can set up a history when using apt, > however, Synaptic is very comfortable. > > A history provides information this way: >

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 14:06 +0100, rjc wrote: > Lenny to squeeze upgrade is somewhat different, you need to have > entries for both of these releases in you sources.list file(s). On Fri, 2012-05-25 at 17:58 +0500, Muhammad Yousuf Khan wrote: > ok ill comment the sid repo. but would you please give

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
ok found a website for which generates source.list http://debgen.simplylinux.ch/ deb http://ftp.us.debian.org/debian stable main contrib non-free deb-src http://ftp.us.debian.org/debian stable main contrib non-free deb http://ftp.debian.org/debian/ squeeze-updates main contrib non-free deb-src ht

Re: how to update Debian OS properly

2012-05-25 Thread keith
On Fri, 25 May 2012 17:37:16 +0500 Muhammad Yousuf Khan wrote: [...] > > > > [0] It seems like you had several entries in your sources.list file(s) > > - post the content of your file here. > > deb http://security.debian.org/ squeeze/updates main > deb-src http://security.debian.org/ squeeze/upda

Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 01:37:16PM BST, Muhammad Yousuf Khan wrote: > >> 1. how to upgrade only the security patches? > > > > aptitude update && aptitude safe-upgrade [1] > > ok it will only update the security patches, no matter if what ever i > write in source.list? No, this will upgrade any "u

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 5:49 PM, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: >> deb http://security.debian.org/ squeeze/updates main >> deb-src http://security.debian.org/ squeeze/updates main >> deb http://backports.debian.org/debian-backports squeeze-back

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 17:37 +0500, Muhammad Yousuf Khan wrote: > deb http://security.debian.org/ squeeze/updates main > deb-src http://security.debian.org/ squeeze/updates main > deb http://backports.debian.org/debian-backports squeeze-backports main > deb http://ftp.de.debian.org/debian sid main

Re: how to update Debian OS properly

2012-05-25 Thread Brian
On Fri 25 May 2012 at 15:57:28 +0500, Muhammad Yousuf Khan wrote: > So the question are > > 1. how to upgrade only the security patches? Install stable and stick with it. Do not be tempted to alter sources.list in /etc/apt/ > 2. if the upgrade patch trigger any critical issue. Like any service

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:54 PM, rjc wrote: > On Fri, May 25, 2012 at 11:57:28AM BST, Muhammad Yousuf Khan wrote: >> well, I have questions about upgrading Linux. since i have been using >> Microsoft for years the concept of upgrade I think is different from >> Linux upgrade. >> >> in a testing en

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 17:19 +0500, Muhammad Yousuf Khan wrote: > > cd /path/to/debian_stable > > tar czf backup_name.tar.gz * > > will clonezilla live CD work in this case? as i am using it very often > and a bit useto with it. AFAIK yes, Clonezilla should be ok. > now this snapshots point rais

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:42 PM, Kumar Appaiah wrote: > On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote: >> in a testing environment I was trying to upgrade the security patches >> and I run the command >> apt-get upgrade. >> It ran fine, but at the end it upgraded my whole OS

Re: how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
On Fri, May 25, 2012 at 4:32 PM, Ralf Mardorf wrote: > On Fri, 2012-05-25 at 15:57 +0500, Muhammad Yousuf Khan wrote: >> 3. how to revert back to old OS, for example, in my case i upgraded my >> system from 6.0.4 to Wheezy/SID now want to revert things back. > > If your repositories are explicit f

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 06:42 -0500, Kumar Appaiah wrote: > I'd advise you to back up things and do a fresh install of > squeeze. "things" for your current install might be /home only. Perhaps xorg.conf and some other files, using cp -pr while you're root. But in the future completely backup using e

Re: how to update Debian OS properly

2012-05-25 Thread Kumar Appaiah
On Fri, May 25, 2012 at 03:57:28PM +0500, Muhammad Yousuf Khan wrote: > in a testing environment I was trying to upgrade the security patches > and I run the command > apt-get upgrade. > It ran fine, but at the end it upgraded my whole OS, first my test > machine was showing Debian version 6.0.4 no

Re: how to update Debian OS properly

2012-05-25 Thread rjc
On Fri, May 25, 2012 at 11:57:28AM BST, Muhammad Yousuf Khan wrote: > well, I have questions about upgrading Linux. since i have been using > Microsoft for years the concept of upgrade I think is different from > Linux upgrade. > > in a testing environment I was trying to upgrade the security patc

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
On Fri, 2012-05-25 at 15:57 +0500, Muhammad Yousuf Khan wrote: > 3. how to revert back to old OS, for example, in my case i upgraded my > system from 6.0.4 to Wheezy/SID now want to revert things back. If your repositories are explicit for stable, than there shouldn't happen an upgrade to testing

Re: how to update Debian OS properly

2012-05-25 Thread Ralf Mardorf
PS: I like Synaptic, a GUI for the package management. It automatically set up an upgrade history. You manually can set up a history when using apt, however, Synaptic is very comfortable. A history provides information this way: package_name (1.11.4) to 1.12.0 Note, for the "standard rep

how to update Debian OS properly

2012-05-25 Thread Muhammad Yousuf Khan
well, I have questions about upgrading Linux. since i have been using Microsoft for years the concept of upgrade I think is different from Linux upgrade. in a testing environment I was trying to upgrade the security patches and I run the command apt-get upgrade. It ran fine, but at the end it upgr